Skip to content

ApplicationDraggable

Summary

Represents a draggable box that can host a control and shown over application.

Signature

1
public abstract interface ApplicationDraggable

Namespace

cAlgo.API

Properties

Id

Summary

Get unique ID of the Draggable.

Signature

1
public abstract string Id {get;}

Return Value

string

Child

Summary

Get / set the content control inside the draggable.

Signature

1
public abstract ControlBase Child {get; set;}

Return Value

ControlBase

X

Summary

Get / set X coordinate (default: 0).

Signature

1
public abstract double X {get; set;}

Return Value

double

Y

Summary

Get / set Y coordinate (default: 0).

Signature

1
public abstract double Y {get; set;}

Return Value

double

ShowGrip

Summary

Get / set move grip visibility (default: true).

Signature

1
public abstract bool ShowGrip {get; set;}

Return Value

bool

IsVisible

Summary

Get / set visibility of draggable.

Signature

1
public abstract bool IsVisible {get; set;}

Return Value

bool

Events

LocationChanged

Summary

Occurs when the draggable's location is changed.

Signature

1
public abstract event Action<ApplicationDraggableLocationChangedEventArgs> LocationChanged;