Interface IUISetting
A component that represents a setting, with a title, description, icon and IUIElement for the option value.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
public interface IUISetting : IUITitledElementWithChildren, IUITitledElement, IUIElementWithChildren, IUIElement
Properties
Description
Gets the description of the setting.
Declaration
string? Description { get; }
Property Value
Type | Description |
---|---|
string |
Icon
Gets the icon of the setting.
Declaration
IUIIcon? Icon { get; }
Property Value
Type | Description |
---|---|
IUIIcon |
InteractiveElement
Gets the IUIElement that represents the interactive part of the setting.
Declaration
IUIElement? InteractiveElement { get; }
Property Value
Type | Description |
---|---|
IUIElement |
StateDescription
Gets the description of the state of the setting.
Declaration
string? StateDescription { get; }
Property Value
Type | Description |
---|---|
string |
Events
DescriptionChanged
Raised when Description is changed.
Declaration
event EventHandler? DescriptionChanged
Event Type
Type | Description |
---|---|
EventHandler |
IconChanged
Raised when Icon is changed.
Declaration
event EventHandler? IconChanged
Event Type
Type | Description |
---|---|
EventHandler |
InteractiveElementChanged
Raised when InteractiveElement is changed.
Declaration
event EventHandler? InteractiveElementChanged
Event Type
Type | Description |
---|---|
EventHandler |
StateDescriptionChanged
Raised when StateDescription is changed.
Declaration
event EventHandler? StateDescriptionChanged
Event Type
Type | Description |
---|---|
EventHandler |