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.

GridViewColumnHeader.Role Property

 

Gets the role of a GridViewColumnHeader.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public GridViewColumnHeaderRole Role { get; }

Property Value

Type: System.Windows.Controls.GridViewColumnHeaderRole

A GridViewColumnHeaderRole enumeration value that specifies the current role of the column.

The GridViewHeaderRowPresenter class performs layout for the column headers in a GridView and places an additional column header at the end to add space. A Role value of Padding identifies this column header in the GridView. A Role value of Floating identifies a column that is currently the object of a drag-and-drop operation.

Identifier field

RoleProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft