How to write the Margine in Run time


hi,

     have ellips , want move below rectangle while creating ellipse come center of rectangle, want move down rectangle(below rectangle). creating component how code bring ellips below rectangle. tried in code behind as

ellips1.margin.top=30;

 

but through error message.

 

can 1 help

 

thanks in advance

 

what exception?

did try

ellips1.margin = new thickness(2.0, 2.0, 2.0, 2.0);



Silverlight  >  Programming Silverlight with .NET – General



Comments

Popular posts from this blog

more indexes

ActiveDirectory

Virtual Channel