Modifier

Partager via


GridViewHeaderRowPresenter.AllowsColumnReorder Property

Definition

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

public:
 property bool AllowsColumnReorder { bool get(); void set(bool value); };
public bool AllowsColumnReorder { get; set; }
member this.AllowsColumnReorder : bool with get, set
Public Property AllowsColumnReorder As Boolean

Property Value

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

Remarks

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.

Dependency Property Information

Identifier field AllowsColumnReorderProperty
Metadata properties set to true None

Applies to