This documentation is archived and is not being maintained.

DataGridHeaderBorder::Orientation Property

Gets or sets whether the header renders in the vertical direction, as a column header, or horizontal direction, as a row header.

Namespace:  Microsoft.Windows.Themes
Assemblies:   PresentationFramework.Aero (in PresentationFramework.Aero.dll)
  PresentationFramework.Royale (in PresentationFramework.Royale.dll)
  PresentationFramework.Luna (in PresentationFramework.Luna.dll)
  PresentationFramework.Classic (in PresentationFramework.Classic.dll)

XMLNS for XAML: Not mapped to an xmlns.

public:
property Orientation Orientation {
	Orientation get ();
	void set (Orientation value);
}
<object Orientation="Orientation" .../>

Property Value

Type: System.Windows.Controls::Orientation
One of the enumeration values that indicates which direction the header renders. The registered default is Vertical. For more information about what can influence the value, see DependencyProperty.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: