Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
590
How to insert image with in XAMDiagram as background ?
posted

Hi,

I am using XAMDiagram and XAMDiagram Tool Box. Now we want to add functionality that we can insert image with in XAMDiagram. so this image work as back ground image with in XAMDiagram. Please let us aware for that because right now i am not finding any property for that.

I found XAM Diagram have background property for changing color but not for binding image. Right now we are finding the way in which we can insert image with in XAMDaigram as background, so that we can drag the shapes from Tool box and drop on back ground image.

your help would be appreciate.

Thanks

Parents
No Data
Reply
  • 34510
    Suggested Answer
    Offline posted

    Hello Prikanwar,

    Are you just looking to change the background of the XamDiagram control to an image?  If so, use the ImageBrush object.

    <ig:XamDiagram x:Name="diagram">
        <ig:XamDiagram.Background>
            <ImageBrush ImageSource="image.png"/>
        </ig:XamDiagram.Background>

Children
No Data