Skip to content

ApplicationDraggable.Id

property · ApplicationDraggable · cAlgo.API Since 5.2

DesktopCLICloud

Get unique ID of the Draggable.

Environment behaviour

CLI — not supported. Never displayed: starts at X=0, Y=0; position changes are not applied and LocationChanged never fires.

Cloud — not supported. Never displayed: starts at X=0, Y=0; position changes are not applied and LocationChanged never fires.

Definition

string Id {get;}
applicationDraggable.Id: str

Returns string

Examples

var draggable = Application.Draggables.Add();
Print("Draggable Id: {0}", draggable.Id);
draggable = api.Application.Draggables.Add()
api.Print(f"Draggable Id: {draggable.Id}")