BulletDecorator.Bullet Property


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

Gets or sets the object to use as the bullet in a BulletDecorator.

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

member Bullet : UIElement with get, set

Property Value

Type: System.Windows.UIElement

The UIElement to use as the bullet. The default is null.

The Bullet property is a content property of the BulletDecorator control and defines the UIElement to display as a bullet for the Child object.

The bullet that is defined by setting the Bullet property to a UIElement is the first visual element in a BulletDecorator control. The single Child element is the second visual element.

    <UIElement .../>

The following examples show how to set the Bullet property.

No code example is currently available or this language may not be supported.
    <Image Width="10" Source="images\icon.jpg"/>
  <TextBlock Margin="20,0,0,0">My Expander</TextBlock>

.NET Framework
Available since 3.0
Return to top