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

Static Public Attributes

static readonly StyledProperty< string?> ValueProperty
static readonly StyledProperty< string?> AssetTypeProperty
static readonly StyledProperty< ICommand?> FieldCopyCommandProperty
static readonly StyledProperty< ICommand?> FieldPasteCommandProperty
static readonly DirectProperty< AssetBox, string?> DisplayNameProperty
static readonly DirectProperty< AssetBox, bool > HasAssetProperty
static readonly DirectProperty< AssetBox, bool > IsMissingProperty
static readonly DirectProperty< AssetBox, IBrush?> IconColorProperty
static readonly DirectProperty< AssetBox, LucideIconKind > IconKindProperty

Protected Member Functions

override void OnAttachedToVisualTree (VisualTreeAttachmentEventArgs e)
override void OnDetachedFromVisualTree (VisualTreeAttachmentEventArgs e)
override void OnPropertyChanged (AvaloniaPropertyChangedEventArgs change)
override void OnPointerPressed (PointerPressedEventArgs e)
override void OnPointerEntered (PointerEventArgs e)
override void OnPointerExited (PointerEventArgs e)

Properties

string? Value [get, set]
string? AssetType [get, set]
ICommand? FieldCopyCommand [get, set]
ICommand? FieldPasteCommand [get, set]
string? DisplayName [get]
bool HasAsset [get, set]
bool IsMissing [get]
IBrush? IconColor [get]
LucideIconKind IconKind [get]
override Type StyleKeyOverride [get]

Member Data Documentation

◆ AssetTypeProperty

readonly StyledProperty<string?> editor.Components.Elements.AssetBox.AssetTypeProperty
static
Initial value:
=
AvaloniaProperty.Register<AssetBox, string?>(nameof(AssetType))

◆ DisplayNameProperty

readonly DirectProperty<AssetBox, string?> editor.Components.Elements.AssetBox.DisplayNameProperty
static
Initial value:
=
AvaloniaProperty.RegisterDirect<AssetBox, string?>(nameof(DisplayName), o => o.m_displayName)

◆ FieldCopyCommandProperty

readonly StyledProperty<ICommand?> editor.Components.Elements.AssetBox.FieldCopyCommandProperty
static
Initial value:
=
AvaloniaProperty.Register<AssetBox, ICommand?>(nameof(FieldCopyCommand))

◆ FieldPasteCommandProperty

readonly StyledProperty<ICommand?> editor.Components.Elements.AssetBox.FieldPasteCommandProperty
static
Initial value:
=
AvaloniaProperty.Register<AssetBox, ICommand?>(nameof(FieldPasteCommand))

◆ HasAssetProperty

readonly DirectProperty<AssetBox, bool> editor.Components.Elements.AssetBox.HasAssetProperty
static
Initial value:
=
AvaloniaProperty.RegisterDirect<AssetBox, bool>(nameof(HasAsset), o => o.m_hasAsset)

◆ IconColorProperty

readonly DirectProperty<AssetBox, IBrush?> editor.Components.Elements.AssetBox.IconColorProperty
static
Initial value:
=
AvaloniaProperty.RegisterDirect<AssetBox, IBrush?>(nameof(IconColor), o => o.m_iconColor)

◆ IconKindProperty

readonly DirectProperty<AssetBox, LucideIconKind> editor.Components.Elements.AssetBox.IconKindProperty
static
Initial value:
=
AvaloniaProperty.RegisterDirect<AssetBox, LucideIconKind>(nameof(IconKind), o => o.m_iconKind)

◆ IsMissingProperty

readonly DirectProperty<AssetBox, bool> editor.Components.Elements.AssetBox.IsMissingProperty
static
Initial value:
=
AvaloniaProperty.RegisterDirect<AssetBox, bool>(nameof(IsMissing), o => o.m_isMissing)

◆ ValueProperty

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

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