BulletDecorator.VisualChildrenCount Property

 

Gets the number of visual child elements for the BulletDecorator control.

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

Protected Overrides ReadOnly Property VisualChildrenCount As Integer

Property Value

Type: System.Int32

The number of visual elements that are defined for the BulletDecorator. The default is 0.

The VisualChildrenCount can be 0, 1, or 2. If either the Bullet or a Child element is defined, the VisualChildrenCount is 1. If both the Bullet and a Child element are defined, the VisualChildrenCount is 2.

The number of visual child elements is the same as the number of logical child elements.

.NET Framework
Available since 3.0
Return to top
Show: