Bulletdecorator in WPF

The BulletDecorator control is used to display a single item and bullet in a bulleted list in WPF. The following xaml code shows how to draw a diamond shaped BulletDecorator next to a textblock.

        <Polygon Margin=” 2, 0, 0, 0” Points=”0, 5 5, 0 10, 5 5, 10” Fill=” Blue” />
    <TextBlock Margin=”10, 0, 0, 0” Text=”Bullet Point Text” />

Example output:

Enjoyed this post? Share it!


Leave a comment

Your email address will not be published.