Visual.VisualChildrenCount Property
.NET Framework (current version)
Gets the number of child elements for the Visual.
Assembly: PresentationCore (in PresentationCore.dll)
By default, a Visual has no children. Therefore, the default implementation always returns 0.
Notes to Inheritors:
A class that derives from Visual must override this property, and also the GetVisualChild method, for the visual tree to be enumerated correctly.
.NET Framework
Available since 3.0
Available since 3.0
Show: