Grid.VisualChildrenCount Property

Definition

Gets a value that represents the total number of Visual children within this instance of Grid.

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

Int32 that represents the total number of child Visual objects. The default value is zero.

Remarks

The visual tree must not be modified during a call to this method.

Applies to