开发者

Put the two images in single control in wp7

I wa开发者_开发问答nt to put the one image on left corner and another on right corner of Control(ex :button) and need click event for that.

please tell me....


What have you tried?

Something like this should work but it depends on exactly what you're after:

<Button Click="myClickHandler">
    <Grid>
        <Image Source="image1.jpg" HorizontalAlignment="Left" Stretch="None" />
        <Image Source="image2.jpg" HorizontalAlignment="Right" Stretch="None" />
    </Grid>
</Button>

Disclaimer: the above is untested and written freehand. I make no guarantees of it compiling, etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜