-
Website
http://fortes.com/ -
Original page
http://fortes.com/2005/03/viewbox/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
Barbara_NY
5 comments · 1 points
-
vektormedia
1 comment · 1 points
-
Charbax
1 comment · 6 points
-
subikar
1 comment · 1 points
-
x11tech
8 comments · 1 points
-
-
Popular Threads
I'll be posting another example tomorrow that shows Viewbox in a (slightly) more complicated scenario.
I'll be posting another example tomorrow that shows Viewbox in a (slightly) more complicated scenario.
Thanks,
Vaibhav
Thanks,
Vaibhav
http://msdn.microsoft.com/longhorn/?pull=/libra...
The Answer:
Many properties (Height, Width, Top, Bottom, etc.) are now of type Double as opposed to type Length. Also, percentages cannot be used to set relative properties any longer. Instead, to achieve the effect of 100%, set the HorizontalAlignment and VerticalAlignment properties to Stretch.
Thanks,
Vaibhav
http://msdn.microsoft.com/longhorn/?pull=/libra...
The Answer:
Many properties (Height, Width, Top, Bottom, etc.) are now of type Double as opposed to type Length. Also, percentages cannot be used to set relative properties any longer. Instead, to achieve the effect of 100%, set the HorizontalAlignment and VerticalAlignment properties to Stretch.
Thanks,
Vaibhav