Table of Contents

Class BaseStudioControl

Namespace
StockSharp.Studio.Controls
Assembly
StockSharp.Studio.Controls.dll
public abstract class BaseStudioControl : UserControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IStudioControl, IPersistable, IDisposable, INotifyPropertyChanged
Inheritance
BaseStudioControl
Implements
IPersistable
Derived
Inherited Members
Extension Methods

Constructors

BaseStudioControl()

protected BaseStudioControl()

Fields

IconProperty

public static readonly DependencyProperty IconProperty

Field Value

DependencyProperty

StudioContainerProperty

public static readonly DependencyProperty StudioContainerProperty

Field Value

DependencyProperty

TitleProperty

public static readonly DependencyProperty TitleProperty

Field Value

DependencyProperty

Properties

CommandService

protected static IStudioCommandService CommandService { get; }

Property Value

IStudioCommandService

Connector

protected static Connector Connector { get; }

Property Value

Connector

ExchangeInfoProvider

protected static IExchangeInfoProvider ExchangeInfoProvider { get; }

Property Value

IExchangeInfoProvider

Icon

public Uri Icon { get; set; }

Property Value

Uri

IsTitleEditable

public bool IsTitleEditable { get; protected set; }

Property Value

bool

Key

public string Key { get; set; }

Property Value

string

LogManager

protected static LogManager LogManager { get; }

Property Value

LogManager

MarketDataProvider

protected static IMarketDataProvider MarketDataProvider { get; }

Property Value

IMarketDataProvider

PortfolioDataSource

protected static PortfolioDataSource PortfolioDataSource { get; }

Property Value

PortfolioDataSource

PortfolioMessageAdapterProvider

protected static IPortfolioMessageAdapterProvider PortfolioMessageAdapterProvider { get; }

Property Value

IPortfolioMessageAdapterProvider

SaveWithLayout

public bool SaveWithLayout { get; protected set; }

Property Value

bool

SecurityProvider

protected static ISecurityProvider SecurityProvider { get; }

Property Value

ISecurityProvider

Title

public string Title { get; set; }

Property Value

string

Methods

CanClose(CloseReason)

public virtual CloseAction CanClose(CloseReason reason)

Parameters

reason CloseReason

Returns

CloseAction

Dispose()

public virtual void Dispose()

Dispose(CloseReason)

public virtual void Dispose(CloseReason reason)

Parameters

reason CloseReason

FirstTimeInit()

public virtual void FirstTimeInit()

GetStudioContainer(UIElement)

public static IStudioContainer GetStudioContainer(UIElement element)

Parameters

element UIElement

Returns

IStudioContainer

Load(SettingsStorage)

public virtual void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

RaiseChangedCommand()

protected void RaiseChangedCommand()

RaisePropertyChanged(string)

protected void RaisePropertyChanged(string name)

Parameters

name string

Save(SettingsStorage)

public virtual void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

SendCommand(IStudioCommand)

public virtual void SendCommand(IStudioCommand command)

Parameters

command IStudioCommand

SetStudioContainer(UIElement, IStudioContainer)

public static void SetStudioContainer(UIElement element, IStudioContainer container)

Parameters

element UIElement
container IStudioContainer

WhenLoaded(Action)

protected void WhenLoaded(Action action)

Parameters

action Action

Events

PropertyChanged

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler