Live Chat Icon For mobile
Live Chat Icon

How can I use a BulletDecorator control that uses an image as the Bullet and a non-text element as the Child ?

Platform: WPF| Category: Border

The following example shows how to define a BulletDecorator control that uses an ’image’ as the Bullet and a ’non-text element’ as the Child.
In this example, the Bullet object centers itself next to the non-text element.

[XAML]

<BulletDecorator Grid.Row='3' Grid.Column='0' Margin='0,5,0,0'>
  <BulletDecorator.Bullet>
    <Image Source='images\apple.jpg'/>
  </BulletDecorator.Bullet>
  <Ellipse Height='75' Width='50' Fill='Purple' 
           HorizontalAlignment='Left' ></Ellipse>
</BulletDecorator>

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.