Skip to content

TradeWatchTab

Summary

Represents a trade watch panel tab.

Signature

1
public abstract interface TradeWatchTab

Namespace

cAlgo.API

Methods

Detach

Summary

Detaches current tab to a separate window.

Signature

1
public abstract bool Detach()

Return Value

bool

Attach

Summary

Attaches current tab back to trade watch.

Signature

1
public abstract bool Attach()

Return Value

bool

Properties

Id

Summary

Returns unique ID of the current tab.

Signature

1
public abstract string Id {get;}

Return Value

string

Title

Summary

Returns title of the current tab.

Signature

1
public abstract string Title {get;}

Return Value

string

Child

Summary

Get / set content of current tab.

Signature

1
public abstract ControlBase Child {get; set;}

Return Value

ControlBase

IsSelected

Summary

Get / set selected state of current tab.

Signature

1
public abstract bool IsSelected {get; set;}

Return Value

bool

Width

Summary

Returns current width of tab.

Signature

1
public abstract double Width {get;}

Return Value

double

Height

Summary

Returns current height of tab.

Signature

1
public abstract double Height {get;}

Return Value

double

IsBalanceBarVisible

Summary

Get / set the visibility of balance bar for the tab.

Signature

1
public abstract bool IsBalanceBarVisible {get; set;}

Return Value

bool

Index

Summary

Get / set the index of the tab.

Signature

1
public abstract int Index {get; set;}

Return Value

int

DetachedWindow

Summary

Returns detached window properties.

Signature

1
public abstract DetachedWindow DetachedWindow {get;}

Return Value

DetachedWindow

Events

Detached

Summary

Occurs when tab detached.

Signature

1
public abstract event Action<TradeWatchTabDetachedEventArgs> Detached;

Attached

Summary

Occurs when tab attached.

Signature

1
public abstract event Action<TradeWatchTabAttachedEventArgs> Attached;

IsSelectedChanged

Summary

Occurs after tab IsSelected value change.

Signature

1
public abstract event Action<TradeWatchTabIsSelectedChangedEventArgs> IsSelectedChanged;

SizeChanged

Summary

Occurs after tab size (height / width) value change.

Signature

1
public abstract event Action<TradeWatchTabSizeChangedEventArgs> SizeChanged;