AllowsColumnReorder Property

GridView.AllowsColumnReorder Property

 

Gets or sets whether columns in a GridView can be reordered by a drag-and-drop operation.

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 reordered; otherwise, false. The default value is true.

Identifier Field

AllowsColumnReorderProperty

Metadata properties set to true

None

The following example shows how to set the AllowsColumnReorder property.

<GridView AllowsColumnReorder="true"
          ColumnHeaderToolTip="Employee Information">
</GridView>
No code example is currently available or this language may not be supported.

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