VisualChildrenCount Property

Grid.VisualChildrenCount Property


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

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

protected override int VisualChildrenCount { get; }

Property Value

Type: System.Int32

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

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

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft