Decorator.VisualChildrenCount Decorator.VisualChildrenCount Decorator.VisualChildrenCount Decorator.VisualChildrenCount Property

Definition

Gets a value that is equal to the number of visual child elements of this instance of Decorator.

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

The number of visual child elements.

Remarks

Because a Decorator can have only one child object in its child collection, this property always reports 0 or 1.

Applies to