MarkupObjects - More Ways To Measure |
Post Reply |
Author | |
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
Posted: 06 March 2010 at 6:11pm |
RelativeToParentLeft,
RelativeToParentTop, RelativeToControlLeft, RelativeToControlTop,
ActualWidth and ActualHeight properties for all markup objects is
required (there may be better names for these properties, but I just
used the most descriptive names I could think of).
Krog - please correct me if I am wrong about my assumptions (below) on these properties: RelativeToParent* would return the number of pixels away from the parent MarkupObject the current object is. Essentially the sum of Parent Paddings and ObjectMargins. RelativeToControl* would return the number of pixels away from the MarkupLabel control boundary. For example, calling MarkupStackPanel.RelativeToControlLeft would return the number of pixels between the leftmost point of the StackPanel and the left edge of the control (negatives allowed!) Actual*- The actual width of the object in pixels (because stretching can dynamically set the dimensions of the object). This one is very important IMHO, so we can do things like dynamically resize the control to fit content. |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
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 |