O'Reilly logo

XAML Developer Reference by Ashish Ghoda, Mamta Dalal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Common Sizing and Positioning Properties

So far in this chapter you’ve covered the key layout and positioning controls for WPF and Silverlight that derive from the System.Windows.Controls.Panel class. The Panel class is derived instead from the System.Windows.FrameworkElement class, which provides a set of common sizing dependency properties such as Height and Width and positioning dependency properties such as VerticalAlignment, HorizontalAlignment, and Margin. You’ve seen these used in examples already. This section provides a quick overview of that set of common sizing and positioning properties.

Sizing Properties

Supported By

WPF

Yes

Silverlight

Yes

The System.Windows.FrameworkElement class provides the following sizing dependency properties that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required