This documentation is archived and is not being maintained.

GridViewHeaderRowPresenter.AllowsColumnReorder Property

Gets or sets whether columns can change positions.

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

public bool AllowsColumnReorder { get; set; }
/** @property */
public boolean get_AllowsColumnReorder ()

/** @property */
public void set_AllowsColumnReorder (boolean value)

public function get AllowsColumnReorder () : boolean

public function set AllowsColumnReorder (value : boolean)

<object AllowsColumnReorder="bool" .../>

Property Value

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

Identifier field


Metadata properties set to 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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0