Wednesday, August 29, 2012

Dynamically Position Elements On Page

Dynamically Position Elements On Page

I am able to get the X and Y coordinates of a tab item and now I want to set an ellipse over the tab item.  I tried using SetLeft and SetTop but couldn't get it working.  Can someone assist?  Thanks.

Answers & Comments...

Answer: 1

SetLeft and SetTop will only work when the control is inside a canvas control.  You can use the Margin property:

http://msdn.microsoft.com/en-us/library/system.windows.frameworkelement.margin(v=VS.95).aspx



Answer: 2

hi mday2792

this may help you

http://stackoverflow.com/questions/9582759/silverlight-tab-header-in-the-left-buttom

Thanks & Regards
Mastan Narravula
Mark as Answer", if it helped you or it might help others too.




Answer: 3

This worked rjacobs, thanks.





No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog