AdornerDecorator.VisualChildrenCount Property

 

Gets the number of child Visual objects in this instance of AdornerDecorator.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override int VisualChildrenCount { get; }

Property Value

Type: System.Int32

Either returns 2 (one for the AdornerLayer and one for the Child) or the property returns 0 if the AdornerDecorator has no child.

.NET Framework
Available since 3.0
Return to top
Show: