Search Framework:
IWLClientHost
Namespace: WealthLab.WPF
Parent:

This interface provides properties and methods that let you hook into the WL8 window that is hosting a child window, typically created by an extension.

Members
ActivateOrderManager
void ActivateOrderManager()

Opens the WL8 Order Manager and brings it into focus.


AllowAutoTrading
public bool AllowAutoTrading

Returns true if the user has agreed to the Auto-Trading Agreement dialog window.


IsDarkTheme
bool IsDarkTheme

Returns true if the currently selected WL8 Theme is a "dark" Theme.


OpenQuotesWindow
void OpenQuotesWindow(SignalBlock sb)

Opens a new Quotes window, populated with price triggers in the SignalBlock instance provided in the sb parameter.


OpenStrategy
void OpenStrategy(Strategy s)
void OpenStrategy(SavedOptimizationResults sor)

Opens a new Strategy window. The first overload opens the Strategy specified in the s parameter. The second overload opens the saved optimization result instance specified in the sor parameter.


PlaySound
void PlaySound(string name)

Plays a named sound. Possible sound names are: Alarm, NewBar, OptimizationComplete, OrderFilled, Save, Signals.


RefreshTheme
void RefreshTheme(DependencyObject dobj)

Forces the Ligh/Dark Theme to refresh in the WPF control specified in the dobj parameter. You can call RefreshTheme to force a refresh after a UI control has changed dynamically via code.


ShowDataManager
void ShowDataManager(string pageName = null, string providerName = null)

Opens the WL8 Data Manager tool. Optionally selects the specified tab in the pageName parameter. If a Provider tab is specific, also optionally selects the Provider specified in the providerName parameter.


ShowExtensionChildWindow
void ShowExtensionChildWindow(ChildWindow cw, string title, System.Drawing.Image glyph)

Opens the ChildWindow instance passed in the cw parameter, giving it the specified window title and the window icon specified in glyph.


ShowHelpPage
void ShowHelpPage(string page)

Opens the WL8 Help File and navigates to the Help topic with the specified title in the page parameter.


ShowIndicator
void ShowIndicator(string abbr)

Open the WL8 Indicators page in the left navigation panel, and highlights the indicator specified in the abbr parameter.


ShowPreferences
void ShowPreferences(string pageName = null)

Causes the WL8 Preferences window to open and take focus.


ShowQuickRefEntry
void ShowQuickRefEntry(QuickRefEntry entry)
void ShowQuickRefEntry(string className, string itemName)
void ShowQuickRefClass(string className)

Opens the QuickRef pane in the left navigation panel, navigating to one of the entries based on the signature used and parameters supplied.


ShowViewPage
void ShowViewPage(string page)

Causes the left navigation pane in the main window to change to the view specified in page. Possible values are:

  • "DataSets"
  • "Indicators"
  • "Strategies"
  • "BuildingBlocks"
  • "QuickRef"