Extensions
Extension class.
Methoden
Configure(BasketMessageAdapter, Window, bool, SettingsStorage) : bool
Configure connection using ConnectorWindow.
- adapter
- The connection.
- owner
- UI thread owner.
- autoConnect
- Auto connect.
- windowSettings
- ConnectorWindow settings.
Rückgabe: if the specified connection was configured, otherwise, .
Configure(BasketMessageAdapter, Window) : bool
Configure connection using ConnectorWindow.
- adapter
- The connection.
- owner
- UI thread owner.
Rückgabe: if the specified connection was configured, otherwise, .
Configure(Connector, Window) : bool
Configure connection using ConnectorWindow.
- connector
- The connection.
- owner
- UI thread owner.
Rückgabe: if the specified connection was configured, otherwise, .
ExtToLogo(string) : string
Get icon for the specified file extension.
- fileExt
- File extension.
Rückgabe: 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.
Rückgabe: Price format.
GetProcessStateIconName(Strategy) : string
Get icon for ProcessState.
- strategy
- Strategy.
Rückgabe: Icon name.
GetProcessStateIconName(ProcessStates) : string
Get icon for ProcessStates.
- state
- ProcessStates.
Rückgabe: Icon name.
GetVolumeTextFormat(Security) : string
Generate volume format for the specified security.
- security
- Security.
Rückgabe: Volume format.
Init(OrderWindow, Connector) : OrderWindow
Initialize .
- window
- The window for the order creating.
- connector
- The class to create connections to trading systems.
Rückgabe: 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.
Rückgabe: Settings.
SaveLayout(DockLayoutManager) : string
Save layout state.
- manager
- Represents a container for dock and layout items.
Rückgabe: Layout encoded as a string.
ShowSettingsWindow``1(T, DependencyObject, string)
Show SettingsWindow to edit settings.
- settings
- Settings.
- owner
- UI thread owner.
- docUrl
- Documentation URL.
Rückgabe: , if settings were changed, otherwise, .