Table of Contents

Class SubscriptionPanel

Namespace
StockSharp.Xaml
Assembly
StockSharp.Xaml.dll

The visual panel for modify subscriptions.

public class SubscriptionPanel : UserControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IPersistable, ISubscriptionsView, IComponentConnector
Inheritance
SubscriptionPanel
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

SubscriptionPanel()

Initializes a new instance of the SubscriptionPanel.

public SubscriptionPanel()

Properties

IsInteracted

The interactive mode. The default is off.

public bool IsInteracted { get; set; }

Property Value

bool

SelectedSession

Selected session.

public SessionInfo SelectedSession { get; }

Property Value

SessionInfo

SelectedSubscriptions

Selected subscriptions.

public IEnumerable<SubscriptionInfo> SelectedSubscriptions { get; }

Property Value

IEnumerable<SubscriptionInfo>

Sessions

Sessions.

public IDictionary<string, SessionInfo> Sessions { get; }

Property Value

IDictionary<string, SessionInfo>

Subscriptions

The list of subscriptions.

public IList<SubscriptionInfo> Subscriptions { get; }

Property Value

IList<SubscriptionInfo>

Methods

InitializeComponent()

InitializeComponent

public void InitializeComponent()

Load(SettingsStorage)

Load settings.

public void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

Save(SettingsStorage)

Save settings.

public void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

UpdateSubscription(SubscriptionInfo)

Set for the specified subscription SubscriptionStates state.

public void UpdateSubscription(SubscriptionInfo subscription)

Parameters

subscription SubscriptionInfo

Subscription.

Events

SessionEditing

Existing session editing event.

public event Action<SessionInfo> SessionEditing

Event Type

Action<SessionInfo>

SessionRemoving

Existing session removing event.

public event Action<SessionInfo> SessionRemoving

Event Type

Action<SessionInfo>

SessionResuming

Existing session resuming event.

public event Action<SessionInfo> SessionResuming

Event Type

Action<SessionInfo>

SessionSuspending

Existing session suspending event.

public event Action<SessionInfo> SessionSuspending

Event Type

Action<SessionInfo>

SubscriptionAdding

New subscription adding event.

public event Action<SubscriptionInfo> SubscriptionAdding

Event Type

Action<SubscriptionInfo>

SubscriptionEditing

Existing subscription editing event.

public event Action<SubscriptionInfo> SubscriptionEditing

Event Type

Action<SubscriptionInfo>

SubscriptionRemoving

Existing subscription removing event.

public event Action<SubscriptionInfo> SubscriptionRemoving

Event Type

Action<SubscriptionInfo>

SubscriptionResuming

Existing subscription resuming event.

public event Action<SubscriptionInfo> SubscriptionResuming

Event Type

Action<SubscriptionInfo>

SubscriptionSuspending

Existing subscription suspending event.

public event Action<SubscriptionInfo> SubscriptionSuspending

Event Type

Action<SubscriptionInfo>