Back to Devexpress

VGridOptionsRow.AllowMove Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-vgridoptionsrow-709cf308.md

latest2.2 KB
Original Source

VGridOptionsRow.AllowMove Property

Gets or sets whether end-users can drag the row’s header.

Namespace : DevExpress.XtraVerticalGrid.Rows

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowMove { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property AllowMove As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if end-users can drag the row’s header; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowMove
BaseRow

.OptionsRow .AllowMove

|

Remarks

Row headers can be dragged within the row header panel to reorder rows or dragged to the Customization Form to hide rows if the vertical grid’s VGridOptionsBehavior.DragRowHeaders option is set to true. Use the AllowMove option to prevent individual rows from being moved by end-users.

See Also

DragRowHeaders

VGridOptionsRow Class

VGridOptionsRow Members

DevExpress.XtraVerticalGrid.Rows Namespace