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

Static Public Attributes

static readonly StyledProperty< IList?> ItemsProperty
static readonly StyledProperty< IDataTemplate?> ItemTemplateProperty
static readonly StyledProperty< bool > CanReorderProperty
static readonly StyledProperty< bool > CanAddRemoveProperty
static readonly StyledProperty< string > AddLabelProperty
static readonly StyledProperty< ICommand?> AddCommandProperty
static readonly StyledProperty< IBrush?> RowBackgroundProperty
static readonly StyledProperty< CornerRadius > RowCornerRadiusProperty
static readonly StyledProperty< Thickness > RowPaddingProperty
static readonly StyledProperty< double > ItemSpacingProperty
static readonly StyledProperty< ICommand?> CopyCommandProperty
static readonly StyledProperty< ICommand?> PasteCommandProperty
static readonly StyledProperty< ICommand?> CopyItemCommandProperty
static readonly StyledProperty< ICommand?> PasteItemCommandProperty
static readonly StyledProperty< ICommand?> AppendPasteCommandProperty

Protected Member Functions

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

Properties

IList? Items [get, set]
IDataTemplate? ItemTemplate [get, set]
bool CanReorder [get, set]
bool CanAddRemove [get, set]
string AddLabel [get, set]
ICommand? AddCommand [get, set]
IBrush? RowBackground [get, set]
CornerRadius RowCornerRadius [get, set]
Thickness RowPadding [get, set]
double ItemSpacing [get, set]
ICommand? CopyCommand [get, set]
ICommand? PasteCommand [get, set]
ICommand? CopyItemCommand [get, set]
ICommand? PasteItemCommand [get, set]
ICommand? AppendPasteCommand [get, set]
Func< object?>? ItemFactory [get, set]
override Type StyleKeyOverride [get]

Member Data Documentation

◆ AddCommandProperty

readonly StyledProperty<ICommand?> editor.Components.Elements.ArrayBox.AddCommandProperty
static
Initial value:
=
AvaloniaProperty.Register<ArrayBox, ICommand?>(nameof(AddCommand))
Definition ArrayBox.cs:25

◆ AddLabelProperty

readonly StyledProperty<string> editor.Components.Elements.ArrayBox.AddLabelProperty
static
Initial value:
=
AvaloniaProperty.Register<ArrayBox, string>(nameof(AddLabel), "Add")

◆ AppendPasteCommandProperty

readonly StyledProperty<ICommand?> editor.Components.Elements.ArrayBox.AppendPasteCommandProperty
static
Initial value:
=
AvaloniaProperty.Register<ArrayBox, ICommand?>(nameof(AppendPasteCommand))

◆ CanAddRemoveProperty

readonly StyledProperty<bool> editor.Components.Elements.ArrayBox.CanAddRemoveProperty
static
Initial value:
=
AvaloniaProperty.Register<ArrayBox, bool>(nameof(CanAddRemove), true)

◆ CanReorderProperty

readonly StyledProperty<bool> editor.Components.Elements.ArrayBox.CanReorderProperty
static
Initial value:
=
AvaloniaProperty.Register<ArrayBox, bool>(nameof(CanReorder), true)

◆ CopyCommandProperty

readonly StyledProperty<ICommand?> editor.Components.Elements.ArrayBox.CopyCommandProperty
static
Initial value:
=
AvaloniaProperty.Register<ArrayBox, ICommand?>(nameof(CopyCommand))

◆ CopyItemCommandProperty

readonly StyledProperty<ICommand?> editor.Components.Elements.ArrayBox.CopyItemCommandProperty
static
Initial value:
=
AvaloniaProperty.Register<ArrayBox, ICommand?>(nameof(CopyItemCommand))

◆ ItemSpacingProperty

readonly StyledProperty<double> editor.Components.Elements.ArrayBox.ItemSpacingProperty
static
Initial value:
=
AvaloniaProperty.Register<ArrayBox, double>(nameof(ItemSpacing), 4.0)

◆ ItemsProperty

readonly StyledProperty<IList?> editor.Components.Elements.ArrayBox.ItemsProperty
static
Initial value:
=
AvaloniaProperty.Register<ArrayBox, IList?>(nameof(Items), defaultBindingMode: BindingMode.TwoWay)

◆ ItemTemplateProperty

readonly StyledProperty<IDataTemplate?> editor.Components.Elements.ArrayBox.ItemTemplateProperty
static
Initial value:
=
AvaloniaProperty.Register<ArrayBox, IDataTemplate?>(nameof(ItemTemplate))

◆ PasteCommandProperty

readonly StyledProperty<ICommand?> editor.Components.Elements.ArrayBox.PasteCommandProperty
static
Initial value:
=
AvaloniaProperty.Register<ArrayBox, ICommand?>(nameof(PasteCommand))

◆ PasteItemCommandProperty

readonly StyledProperty<ICommand?> editor.Components.Elements.ArrayBox.PasteItemCommandProperty
static
Initial value:
=
AvaloniaProperty.Register<ArrayBox, ICommand?>(nameof(PasteItemCommand))

◆ RowBackgroundProperty

readonly StyledProperty<IBrush?> editor.Components.Elements.ArrayBox.RowBackgroundProperty
static
Initial value:
=
AvaloniaProperty.Register<ArrayBox, IBrush?>(nameof(RowBackground))

◆ RowCornerRadiusProperty

readonly StyledProperty<CornerRadius> editor.Components.Elements.ArrayBox.RowCornerRadiusProperty
static
Initial value:
=
AvaloniaProperty.Register<ArrayBox, CornerRadius>(nameof(RowCornerRadius))

◆ RowPaddingProperty

readonly StyledProperty<Thickness> editor.Components.Elements.ArrayBox.RowPaddingProperty
static
Initial value:
=
AvaloniaProperty.Register<ArrayBox, Thickness>(nameof(RowPadding))

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