BulletDecorator::Bullet Property
.NET Framework (current version)
Gets or sets the object to use as the bullet in a BulletDecorator.
Assembly: PresentationFramework (in PresentationFramework.dll)
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.
<object>
<object.Bullet>
<UIElement .../>
</object.Bullet>
</object>
The following examples show how to set the Bullet property.
<BulletDecorator> <BulletDecorator.Bullet> <Image Width="10" Source="images\icon.jpg"/> </BulletDecorator.Bullet> <TextBlock Margin="20,0,0,0">My Expander</TextBlock> </BulletDecorator>
.NET Framework
Available since 3.0
Available since 3.0
Child
BulletDecorator Class
System.Windows.Controls.Primitives Namespace
How to: Create a BulletDecorator
Show: