Interface IUIDropDownButton
A component that represents a drop down button where the user can click on a menu item.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
public interface IUIDropDownButton : IUIElement
Properties
IconFontName
Gets the name of the font containing the icon.
Declaration
string? IconFontName { get; }
Property Value
Type | Description |
---|---|
string |
IconGlyph
Gets the glyph corresponding to the icon in the IconFontName.
Declaration
char IconGlyph { get; }
Property Value
Type | Description |
---|---|
char |
MenuItems
Gets the list of items displayed in the drop down menu.
Declaration
IUIDropDownMenuItem[]? MenuItems { get; }
Property Value
Type | Description |
---|---|
IUIDropDownMenuItem[] |
Text
Gets the text to display in the drop down button.
Declaration
string? Text { get; }
Property Value
Type | Description |
---|---|
string |
Events
IconFontNameChanged
Raised when IconFontName is changed.
Declaration
event EventHandler? IconFontNameChanged
Event Type
Type | Description |
---|---|
EventHandler |
IconGlyphChanged
Raised when IconGlyph is changed.
Declaration
event EventHandler? IconGlyphChanged
Event Type
Type | Description |
---|---|
EventHandler |
MenuItemsChanged
Raised when MenuItems is changed.
Declaration
event EventHandler? MenuItemsChanged
Event Type
Type | Description |
---|---|
EventHandler |
TextChanged
Raised when Text is changed.
Declaration
event EventHandler? TextChanged
Event Type
Type | Description |
---|---|
EventHandler |