This documentation is archived and is not being maintained.

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 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

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.