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.AeroLite (in PresentationFramework.AeroLite.dll)
  PresentationFramework.Royale (in PresentationFramework.Royale.dll)
  PresentationFramework.Luna (in PresentationFramework.Luna.dll)
  PresentationFramework.Classic (in PresentationFramework.Classic.dll)
  PresentationFramework.Aero (in PresentationFramework.Aero.dll)
  PresentationFramework.Aero2 (in PresentationFramework.Aero2.dll)

public Orientation Orientation { get; set; }

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.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft