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.

GridViewHeaderRowPresenter.AllowsColumnReorder Property

 

Gets or sets a value that indicates whether columns can change positions.

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

public bool AllowsColumnReorder { get; set; }

Property Value

Type: System.Boolean

true if columns can be moved by the drag-and-drop operation of a column header; otherwise, false. The default is true.

When you implement this class as part of a GridView view mode, the value of this property is bound to the value of the AllowsColumnReorder property on the GridView.

Identifier field

AllowsColumnReorderProperty

Metadata properties set to true

None

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