Class CollapseButton
- Namespace
- Skyline.DataMiner.Utils.InteractiveAutomationScript
- Assembly
- Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll
A button that can be used to show/hide a collection of widgets.
public class CollapseButton : InteractiveWidget
- Inheritance
-
CollapseButton
- Inherited Members
- Extension Methods
Constructors
- CollapseButton(bool)
Initializes a new instance of the CollapseButton class.
- CollapseButton(IEnumerable<Widget>, bool)
Initializes a new instance of the CollapseButton class.
Properties
- CollapseText
Gets or sets the text to be displayed in the collapse button when the button is expanded.
- ExpandText
Gets or sets the text to be displayed in the collapse button when the button is collapsed.
- IsCollapsed
Gets or sets a value indicating whether the collapse button is collapsed or not. If the collapse button is collapsed, the IsVisible property of all linked widgets is set to false. If the collapse button is not collapsed, the IsVisible property of all linked widgets is set to true.
- LinkedWidgets
Gets the collection of widgets that are affected by this collapse button.
- Style
Gets or sets the text style of the collapse button.
- Tooltip
Gets or sets the tooltip.
Methods
- Collapse()
This method is used to collapse the collapse button.
- Expand()
This method is used to expand the collapse button.
- LoadResult(IUIResults)
Load any changes made through user interaction.
- RaiseResultEvents()
Raises zero or more events of the widget. This method is called after LoadResult(IUIResults) was called on all widgets.
Events
- Pressed
Triggered when the button is pressed. WantsOnChange will be set to true when this event is subscribed to.