Back to Devexpress

DataViewBase.AllowMoveColumnToDropArea Property

wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-b40d1c2e.md

latest2.0 KB
Original Source

DataViewBase.AllowMoveColumnToDropArea Property

Gets or sets whether users can drag a column’s header outside of the GridControl to hide the column. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool AllowMoveColumnToDropArea { get; set; }
vb
Public Property AllowMoveColumnToDropArea As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true , to allow users to drag a column’s header outside of the GridControl to hide the column; otherwise, false.

|

Remarks

If the AllowMoveColumnToDropArea property is set to true , users can drag a column’s header outside of the Column Header Panel and the Group Panel to hide the column.

Refer to the Show and Hide Columns topic for more information.

See Also

Visible

ShowInColumnChooser

DataViewBase Class

DataViewBase Members

DevExpress.Xpf.Grid Namespace