Obviously it can have a style applied to it – what am trying to find out if its possible to define the Bullet element within the style, so you don’t have to keep defining it over and over in the XAML
<BulletDecorator>
<BulletDecorator.Bullet>
...my bullet UIElement here...
</BulletDecorator.Bullet>
<TextBlock>
... my text here...
</TextBlock>
</BulletDecorator>
BulletDecorator.Bullet cannot be styled, and BulletDecorator is not a Control so it can’t be templated.
However you can get the effect in pure XAML by defining a ControlTemplate for ContentControl like this:
Now you can use it like this:
If you only use it a few times, the "<ContentControl Template=…" technique works fine. If you are going to use it more often, you can define a MyBullet class:
then move your ControlTemplate into Theme/Generic.xaml (or a dictionary merged into it) and wrap it with this:
If you do this, you can use:
anywhere in your application.