BulletDecorator.VisualChildrenCount Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

protected override int VisualChildrenCount { get; }

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: