Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataGridHeaderBorder.Orientation Property

.NET Framework (current version)
 

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.Aero2 (in PresentationFramework.Aero2.dll)
  PresentationFramework.AeroLite (in PresentationFramework.AeroLite.dll)
  PresentationFramework.Classic (in PresentationFramework.Classic.dll)
  PresentationFramework.Luna (in PresentationFramework.Luna.dll)
  PresentationFramework.Royale (in PresentationFramework.Royale.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
Available since 4.0
Return to top
Show:
© 2017 Microsoft