![]() |
|
|
|||
|
WPF/XAML Relative Sizes
If there's a group specific to the Presentation Foundation I apologize ahead
of time. I'm not aware of one. Is it possible scale child objects to relative sizes using XAML only? For example; I draw an ellipse on a canvas. I want the ellipse to be 10% of the canvas width or height (whichever is less). |
|
|||
|
Re: WPF/XAML Relative Sizes
A transform should work for you here.
-- Regards, Alvin Bruney [MVP ASP.NET] [Shameless Author plug] Download OWC Black Book, 2nd Edition Exclusively on www.lulu.com/owc $15.00 Need a free copy of VSTS 2008 w/ MSDN Premium? http://msmvps.com/blogs/alvin/Default.aspx ------------------------------------------------------- "Savage" <xxx_savagelover@yahoo.com> wrote in message news:#$pZT$c4IHA.1192@TK2MSFTNGP05.phx.gbl... > If there's a group specific to the Presentation Foundation I apologize > ahead of time. I'm not aware of one. > > Is it possible scale child objects to relative sizes using XAML only? > > For example; I draw an ellipse on a canvas. I want the ellipse to be 10% > of the canvas width or height (whichever is less). > |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|