ElementPropertiesViewModel
StockSharp.Xaml.Diagram.Maui
ViewModel for the element properties panel.
Inherits: NotifiableObject
Properties
CloseCommand
public DelegateCommand CloseCommand { get; }
value = elementPropertiesViewModel.CloseCommand
Gets the command wrapping Close.
Element
public DiagramElement Element { get; set; }
value = elementPropertiesViewModel.Element
elementPropertiesViewModel.Element = value
The element to display properties for.
ElementCategory
public string ElementCategory { get; }
value = elementPropertiesViewModel.ElementCategory
Category of the selected element.
ElementName
public string ElementName { get; }
value = elementPropertiesViewModel.ElementName
Name of the selected element.
ElementType
public string ElementType { get; }
value = elementPropertiesViewModel.ElementType
Type name of the selected element.
HasElement
public bool HasElement { get; }
value = elementPropertiesViewModel.HasElement
Whether an element is selected.
HasInputSockets
public bool HasInputSockets { get; }
value = elementPropertiesViewModel.HasInputSockets
Whether the element has input sockets.
HasOutputSockets
public bool HasOutputSockets { get; }
value = elementPropertiesViewModel.HasOutputSockets
Whether the element has output sockets.
InputSockets
public ObservableCollection<SocketInfo> InputSockets { get; }
value = elementPropertiesViewModel.InputSockets
Collection of input socket info.
InputSocketsHeight
public double InputSocketsHeight { get; }
value = elementPropertiesViewModel.InputSocketsHeight
Height for input sockets list.
OutputSockets
public ObservableCollection<SocketInfo> OutputSockets { get; }
value = elementPropertiesViewModel.OutputSockets
Collection of output socket info.
OutputSocketsHeight
public double OutputSocketsHeight { get; }
value = elementPropertiesViewModel.OutputSocketsHeight
Height for output sockets list.
Methods
Events
CloseRequested
public event EventHandler CloseRequested
elementPropertiesViewModel.CloseRequested += handler
Event raised when the close button is pressed.