Toast Engine
Loading...
Searching...
No Matches
editor.Components.Elements.EnumBox Class Referencesealed
Inheritance diagram for editor.Components.Elements.EnumBox:
Collaboration diagram for editor.Components.Elements.EnumBox:

Static Public Attributes

static readonly StyledProperty< string?> ValueProperty
static readonly StyledProperty< IEnumerable< string >?> OptionsProperty
static readonly DirectProperty< EnumBox, bool > IsOpenProperty

Protected Member Functions

override void OnApplyTemplate (TemplateAppliedEventArgs e)
override void OnPropertyChanged (AvaloniaPropertyChangedEventArgs change)

Properties

string? Value [get, set]
IEnumerable< string >? Options [get, set]
bool IsOpen [get]
override Type StyleKeyOverride [get]

Member Data Documentation

◆ IsOpenProperty

readonly DirectProperty<EnumBox, bool> editor.Components.Elements.EnumBox.IsOpenProperty
static
Initial value:
=
AvaloniaProperty.RegisterDirect<EnumBox, bool>(nameof(IsOpen), o => o.m_isOpen)
Definition EnumBox.cs:20

◆ OptionsProperty

readonly StyledProperty<IEnumerable<string>?> editor.Components.Elements.EnumBox.OptionsProperty
static
Initial value:
=
AvaloniaProperty.Register<EnumBox, IEnumerable<string>?>(nameof(Options))

◆ ValueProperty

readonly StyledProperty<string?> editor.Components.Elements.EnumBox.ValueProperty
static
Initial value:
=
AvaloniaProperty.Register<EnumBox, string?>(nameof(Value), defaultBindingMode: BindingMode.TwoWay)

The documentation for this class was generated from the following file:
  • editor/Components/Elements/EnumBox.cs