Print Page | Close Window

Markup LIME Color Error

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=16646
Printed Date: 21 June 2025 at 2:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Markup LIME Color Error
Posted By: jimmy
Subject: Markup LIME Color Error
Date 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 - uploads/20100429_055043_ColorName.zip
to markup sample directory.




Replies:
Posted By: Oleg
Date Posted: 29 April 2010 at 7:09am
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


Posted By: jimmy
Date Posted: 29 April 2010 at 7:37am
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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net