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
SelectedSession
Selected session.
public SessionInfo SelectedSession { get; }
Property Value
SelectedSubscriptions
Selected subscriptions.
public IEnumerable<SubscriptionInfo> SelectedSubscriptions { get; }
Property Value
Sessions
Sessions.
public IDictionary<string, SessionInfo> Sessions { get; }
Property Value
Subscriptions
The list of subscriptions.
public IList<SubscriptionInfo> Subscriptions { get; }
Property Value
Methods
InitializeComponent()
InitializeComponent
public void InitializeComponent()
Load(SettingsStorage)
Load settings.
public void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
Save(SettingsStorage)
Save settings.
public void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
UpdateSubscription(SubscriptionInfo)
Set for the specified subscription SubscriptionStates state.
public void UpdateSubscription(SubscriptionInfo subscription)
Parameters
subscription
SubscriptionInfoSubscription.
Events
SessionEditing
Existing session editing event.
public event Action<SessionInfo> SessionEditing
Event Type
SessionRemoving
Existing session removing event.
public event Action<SessionInfo> SessionRemoving
Event Type
SessionResuming
Existing session resuming event.
public event Action<SessionInfo> SessionResuming
Event Type
SessionSuspending
Existing session suspending event.
public event Action<SessionInfo> SessionSuspending
Event Type
SubscriptionAdding
New subscription adding event.
public event Action<SubscriptionInfo> SubscriptionAdding
Event Type
SubscriptionEditing
Existing subscription editing event.
public event Action<SubscriptionInfo> SubscriptionEditing
Event Type
SubscriptionRemoving
Existing subscription removing event.
public event Action<SubscriptionInfo> SubscriptionRemoving
Event Type
SubscriptionResuming
Existing subscription resuming event.
public event Action<SubscriptionInfo> SubscriptionResuming
Event Type
SubscriptionSuspending
Existing subscription suspending event.
public event Action<SubscriptionInfo> SubscriptionSuspending