Parent:
The IWLClientHost interface provides properties and methods that allow ChildWindow instances, charts, and client extensions to communicate with the main WL9 window. It provides access to navigation, Strategy windows, chart coordination, streaming, theming, sounds, extension services, and other features of the WL9 user interface. The primary IWLClientHost instance is also available through WLClientHost.Instance.
Opens the WL9 Order Manager and brings it into focus.
Turns streaming on or off for charts in WL9. Pass true in activate to enable streaming, or false to disable it.
Returns true if the user has agreed to the WL9 Auto-Trading Agreement.
Notifies WL9 that the mouse has moved to a different bar in a chart. The bars parameter contains the BarHistory being charted and idx contains the current bar index.
Notifies WL9 that a chart's symbol was manually changed. WL9 uses this notification to support linked chart windows.
Notifies WL9 that the ChildWindow specified in cw has been activated.
Notifies WL9 that the ChildWindow specified in cw has been deactivated.
Returns the height of the WL9 main MDI container.
Returns true if scroll bars are currently enabled in the WL9 MDI container.
Returns the width of the WL9 main MDI container.
Notifies WL9 that the ContextMenu specified in cm has opened. This allows WL9 to perform any required processing for the context menu.
Creates the main menu entry associated with the specified MDIChild window. This is used internally when integrating ChildWindow instances into the WL9 MDI interface.
Displays context-sensitive help text in the WL9 Help panel. The topic parameter specifies the help topic and help contains the text to display.
Notifies WL9 that a chart drawing object button was clicked, allowing the corresponding drawing button state to be updated.
Returns the ClientExtensionFactory instance that manages installed WL9 client extensions.
Returns true if crosshair synchronization is currently enabled for this WL9 window.
Returns true if the currently selected WL9 Theme is a dark Theme.
Controls whether chart toolbar visibility is locked. Pass true in locked to lock toolbar visibility, or false to allow normal toolbar visibility behavior.
Opens a new Quotes window populated with the price triggers contained in the SignalBlock specified in sb.
Plays the named WL9 sound specified in name.
Forces the current Light/Dark Theme to refresh for the WPF DependencyObject specified in dobj. You can call RefreshTheme after controls have been dynamically added or changed in code and need their Theme resources refreshed.
Removes the main menu entry associated with the specified MDIChild window. This is used when a ChildWindow is closed.
Shows or hides chart status bars throughout the WL9 client.
Opens the WL9 Data Manager and returns its ChildWindow instance. Optionally pass pageName to select a specific Data Manager page. When applicable, pass providerName to select a specific Provider on that page.
Opens the ChildWindow specified in cw as an extension window, using title for the window title and the WPF ImageSource specified in glyph for its icon.
Opens the WL9 Help system and navigates to the Help topic specified in page.
Opens the Indicators page in the left navigation panel and selects the indicator whose abbreviation is specified in abbr.
Opens the WL9 Preferences window. Optionally pass pageName to navigate directly to a specific Preferences page.
Opens the QuickRef pane and navigates to the class specified in className.
Opens the QuickRef pane and navigates to a specific QuickRef entry. Pass either a QuickRefEntry instance, or specify the class and member using className and itemName.
Changes the page displayed in the main window's left navigation pane. The page parameter specifies the page to display. makeVisible determines whether the navigation pane should be made visible, and isHover indicates that the page change is occurring as part of hover behavior. Common page values include:
- "DataSets"
- "Indicators"
- "Strategies"
- "BuildingBlocks"
- "QuickRef"
The first overload enables or disables crosshair synchronization among charts. The second overload performs a crosshair synchronization using the specified dt, y-axis value, paneName, and market.
Gets or sets the title of the WL9 main window.
Updates the Strategy Parameter sliders in the WL9 user interface using the ParameterList specified in pl.