Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxTileControlDragDropCustomObject.ImmediateFinish Property

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

#Declaration

Delphi
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