![]() |
Markup LIME Color Error |
Post Reply ![]() |
Author | |
jimmy ![]() Senior Member ![]() Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
![]() ![]() ![]() ![]() ![]() Posted: 29 April 2010 at 5:56am |
Hello CJ,
a) Color LIME does not work for Markup. in XTPMarkupBuilder there is no return command at LIME color. b) wish a attribute MaxRow and DefHeight for grid.RowDefinitions <Grid.RowDefinitions MaxRow='20' DefHeight='Auto'> <RowDefinition Row=10 Height='20' /> </Grid.RowDefinitions> Jimmy PS: Please add uploads/20100429_055043_ColorName.zip to markup sample directory. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Thanks a lot. Fixed and added to MarkupPad folder. btw for such Layout I replaced Grid to UniformGrid: <Page xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'> <ScrollViewer> <UniformGrid Columns = "4" HorizontalAlignment='Center' VerticalAlignment='Center'> <TextBlock Foreground='RED' Background='WHITE' Margin='5,2,5,2' TextAlignment='Center' Text=' RED ' /> <TextBlock Foreground='RED' Background='BLACK' Margin='5,2,5,2' TextAlignment='Center' Text=' RED ' /> <TextBlock Foreground='WHITE' Background='RED' Margin='5,2,5,2' TextAlignment='Center' Text=' RED ' /> <TextBlock Foreground='BLACK' Background='RED' Margin='5,2,5,2' TextAlignment='Center' Text=' RED ' /> <TextBlock Foreground='TAN' Background='WHITE' Margin='5,2,5,2' TextAlignment='Center' Text=' TAN ' /> <TextBlock Foreground='TAN' Background='BLACK' Margin='5,2,5,2' TextAlignment='Center' Text=' TAN ' /> <TextBlock Foreground='WHITE' Background='TAN' Margin='5,2,5,2' TextAlignment='Center' Text=' TAN ' /> <TextBlock Foreground='BLACK' Background='TAN' Margin='5,2,5,2' TextAlignment='Center' Text=' TAN ' /> ... |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jimmy ![]() Senior Member ![]() Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
![]() ![]() ![]() ![]() ![]() |
Thanks Oleg,
a) UniformGrid is not documented. b) in the UniformGrid sample, the Polygon draw out of his rect. Change <UniformGrid Columns="3"> to <UniformGrid Columns="2"> Than you see it. Jimmy |
|
![]() |
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 |