Back to Devexpress

TileView.OptionsDragDrop Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileview-d28b743f.md

latest3.2 KB
Original Source

TileView.OptionsDragDrop Property

Contains options to enable and customize the built-in tile drag-and-drop functionality.

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DXCategory("Options")]
public TileViewOptionsDragDrop OptionsDragDrop { get; }
vb
<DXCategory("Options")>
Public ReadOnly Property OptionsDragDrop As TileViewOptionsDragDrop

Property Value

TypeDescription
TileViewOptionsDragDrop

An object that specifies tile drag-and-drop settings.

|

Remarks

Use the TileViewOptionsDragDrop.AllowDrag property to enable the built-in drag-and-drop functionality. Note that built-in tile drag-and-drop operations are reflected on the data source level. When a tile is dropped at a certain position, the Tile View moves the tile’s underlying data record to a corresponding position in the data source.

Tiles can be combined into groups by specifying the group column (TileViewColumns.GroupColumn). If a tile is moved from one group to another group, the underlying record’s group field ( GroupColumn.FieldName ) is changed accordingly.

You can handle the following events to manage drag-and-drop operations and implement your own algorithm for moving and modifying underlying data records.

See Also

TileView Class

TileView Members

DevExpress.XtraGrid.Views.Tile Namespace