HorizontalAlignment in Canvas |
Post Reply |
Author | |
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
Posted: 08 February 2016 at 4:29am |
I don't know if this is an error, or just because I don't know enough about XSAML.
When I write this I expected the hyperlink to be right aligned, on a red background filling the entire control: <Canvas Background="#ff0000"> <TextBlock HorizontalAlignment='Right'> <Hyperlink Cursor='Hand'>Link</Hyperlink> </TextBlock> </Canvas> But that fails, and I have to do this instead: <Grid Background="#ff0000"> <TextBlock HorizontalAlignment='Right'> <Hyperlink Cursor='Hand'>Link</Hyperlink> </TextBlock> </Grid> -cpede
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello,
I can advice to using Canvas.Right tag
Regards, Oleksandr Lebed |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |