GridViewHeaderRowPresenter.AllowsColumnReorder Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

member AllowsColumnReorder : bool with 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: