AbstractSize.NaturalOrientation Property

Definition

The "natural" orientation of the geometric unit, from the perspective of the context in which it is used. For example, it may be most natural to write the layout code for a StackPanel using Vertical orientation since a stack in the real world is a vertical thing.

The choice of natural orientation within a given context is not important, as long as the same natural orientation is used consistently throughout that context.

public:
 property System::Windows::Controls::Orientation NaturalOrientation { System::Windows::Controls::Orientation get(); };
public System.Windows.Controls.Orientation NaturalOrientation { get; }
member this.NaturalOrientation : System.Windows.Controls.Orientation
Public ReadOnly Property NaturalOrientation As Orientation

Property Value

Returns Orientation.

Applies to