Extensions
Extension class.
Methods
Configure(BasketMessageAdapter, Window, bool, SettingsStorage) : bool
Configure connection using ConnectorWindow.
- adapter
- The connection.
- owner
- UI thread owner.
- autoConnect
- Auto connect.
- windowSettings
- ConnectorWindow settings.
Returns: if the specified connection was configured, otherwise, .
Configure(BasketMessageAdapter, Window) : bool
Configure connection using ConnectorWindow.
- adapter
- The connection.
- owner
- UI thread owner.
Returns: if the specified connection was configured, otherwise, .
Configure(Connector, Window) : bool
Configure connection using ConnectorWindow.
- connector
- The connection.
- owner
- UI thread owner.
Returns: if the specified connection was configured, otherwise, .
ExtToLogo(string) : string
Get icon for the specified file extension.
- fileExt
- File extension.
Returns: Logo name.
FromStorage(SettingsStorage, Window)
Load settings.
- storage
- Settings storage.
- window
- Window instance.
GetPriceTextFormat(Security) : string
Generate price format for the specified security.
- security
- Security.
Returns: Price format.
GetProcessStateIconName(Strategy) : string
Get icon for ProcessState.
- strategy
- Strategy.
Returns: Icon name.
GetProcessStateIconName(ProcessStates) : string
Get icon for ProcessStates.
- state
- ProcessStates.
Returns: Icon name.
GetVolumeTextFormat(Security) : string
Generate volume format for the specified security.
- security
- Security.
Returns: Volume format.
Init(OrderWindow, Connector) : OrderWindow
Initialize .
- window
- The window for the order creating.
- connector
- The class to create connections to trading systems.
Returns: The window for the order creating.
LoadDevExpressControl(DependencyObject, string)
Load DevExpress control settings.
- obj
- Control.
- settings
- Settings.
LoadLayout(DockLayoutManager, string)
Restore layout state.
- manager
- Represents a container for dock and layout items.
- layout
- Layout encoded as a string.
SaveDevExpressControl(DependencyObject) : string
Save DevExpress control settings.
- obj
- Control.
Returns: Settings.
SaveLayout(DockLayoutManager) : string
Save layout state.
- manager
- Represents a container for dock and layout items.
Returns: Layout encoded as a string.
ShowSettingsWindow``1(T, DependencyObject, string)
Show SettingsWindow to edit settings.
- settings
- Settings.
- owner
- UI thread owner.
- docUrl
- Documentation URL.
Returns: , if settings were changed, otherwise, .