HorizontalAlignment in Canvas |
Post Reply |
Author | |
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
Posted: 14 April 2017 at 2:36pm |
Hello,
I can advice to using Canvas.Right tag
Regards, Oleksandr Lebed |
|
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 645 |
Post Options
Thanks(0)
|
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 (20.3.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
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 |