AllowsColumnReorder Property

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:
© 2016 Microsoft