AdornerDecorator.VisualChildrenCount Property

Definition

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

protected:
 virtual property int VisualChildrenCount { int get(); };
protected override int VisualChildrenCount { get; }
member this.VisualChildrenCount : int
Protected Overrides ReadOnly Property VisualChildrenCount As Integer

Property Value

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

Applies to