int SetDockedElementsVisible(bool?, string, DockedElementTypeMask, KioBrowserType)
Controls the visibility of docked UI elements such as toolbars and docked browsers
Security
Trust Level Required: High Trust
Parameters
Name | Description |
visible |
(Optional) bool? Changes the visibility of the specified UI element(s). If null, default visibility is restored. |
name |
(Optional) string The name of the UI element. If null, no match by name is made. |
elTypeMask |
(Optional) DockedElementTypeMask
Specifies which element types can be affected. Defaults to all types. |
wndTypeMask |
(Optional) KioBrowserType
Specifies which KioWare window types can be affected. Defaults to all types. |
Return
Returns the number of udpated UI Elements
Remarks
The settings for each Ui element are found in the Configuration Tool's User Interface section. Select an element and check the name and visibility settigns in order to be able to call this method for a specific element.
Examples
//Hide the main toolbar even if the visibility is set to show in the Configuration Tool
var elVisibility = 'Never';
var elName = 'Main Toolbar'
KioApp.SetDockedElementsVisible(elVisibility, elName, DockedElementTypeMask.Toolbar, KioBrowserType.Toolbar);
Requirements
KioWare for Windows version 8.5 or greater.