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

Static Public Attributes

static readonly StyledProperty< string?> ValueProperty
static readonly StyledProperty< string?> NodeTypeProperty
static readonly StyledProperty< ICommand?> FieldCopyCommandProperty
static readonly StyledProperty< ICommand?> FieldPasteCommandProperty
static readonly DirectProperty< NodeBox, string?> DisplayNameProperty
static readonly DirectProperty< NodeBox, bool > HasNodeProperty
static readonly DirectProperty< NodeBox, bool > IsMissingProperty
static readonly DirectProperty< NodeBox, IBrush?> IconColorProperty
static readonly DirectProperty< NodeBox, IBrush?> NodeIconProperty

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? NodeType [get, set]
ICommand? FieldCopyCommand [get, set]
ICommand? FieldPasteCommand [get, set]
string? DisplayName [get]
bool HasNode [get]
bool IsMissing [get]
IBrush? IconColor [get]
IBrush? NodeIcon [get]
override Type StyleKeyOverride [get]

Member Data Documentation

◆ DisplayNameProperty

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

◆ FieldCopyCommandProperty

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

◆ FieldPasteCommandProperty

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

◆ HasNodeProperty

readonly DirectProperty<NodeBox, bool> editor.Components.Elements.NodeBox.HasNodeProperty
static
Initial value:
=
AvaloniaProperty.RegisterDirect<NodeBox, bool>(nameof(HasNode), o => o.m_hasNode)

◆ IconColorProperty

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

◆ IsMissingProperty

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

◆ NodeIconProperty

readonly DirectProperty<NodeBox, IBrush?> editor.Components.Elements.NodeBox.NodeIconProperty
static
Initial value:
=
AvaloniaProperty.RegisterDirect<NodeBox, IBrush?>(nameof(NodeIcon), o => o.m_nodeIcon)

◆ NodeTypeProperty

readonly StyledProperty<string?> editor.Components.Elements.NodeBox.NodeTypeProperty
static
Initial value:
=
AvaloniaProperty.Register<NodeBox, string?>(nameof(NodeType))

◆ ValueProperty

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

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