Skip to main content

TdxTileControlDragDropCustomObject.ImmediateFinish Property

Specifies if the tile control plays drag-and-drop animations.

Declaration

property ImmediateFinish: Boolean read; write;

Property Value

Type Description
Boolean

If False, the tile control plays drag-and-drop animations; otherwise, drag-and-drop animations are disabled.

Remarks

The following OnItemDragOver event handler disables drag-and-drop animations for tile items:

procedure TForm1.dxTileControl1ItemDragOver(Sender: TdxCustomTileControl;
  AInfo: TdxTileControlDragItemInfo; var AAccept: Boolean);
begin
  TdxTileControlDragDropCustomObject(dxTileControl1.DragAndDropObject).ImmediateFinish := True;
end;

Refer to the following knowledge base article for information on how to use the ImmediateFinish property to disable the drop animation when a tile item is dropped outside a tile control: How to remove tile items or a tile group if they were dragged and dropped outside of a tile control without animation

See Also