ElementPropertiesViewModel

StockSharp.Xaml.Diagram.Maui

要素プロパティパネルのViewModel@

継承元: NotifiableObject

プロパティ

CloseCommand
public DelegateCommand CloseCommand { get; }
value = elementPropertiesViewModel.CloseCommand

コマンドを閉じる

Element
public DiagramElement Element { get; set; }
value = elementPropertiesViewModel.Element
elementPropertiesViewModel.Element = value

プロパティを表示する要素。

ElementCategory
public string ElementCategory { get; }
value = elementPropertiesViewModel.ElementCategory

選択した要素のカテゴリ。

ElementName
public string ElementName { get; }
value = elementPropertiesViewModel.ElementName

選択した要素の名前。

ElementType
public string ElementType { get; }
value = elementPropertiesViewModel.ElementType

選択した要素の型名。

HasElement
public bool HasElement { get; }
value = elementPropertiesViewModel.HasElement

要素が選択されているかどうか。

HasInputSockets
public bool HasInputSockets { get; }
value = elementPropertiesViewModel.HasInputSockets

要素に入るソケットがあるかどうか。

HasOutputSockets
public bool HasOutputSockets { get; }
value = elementPropertiesViewModel.HasOutputSockets

要素が出力ソケットを持っているかどうか。

InputSockets
public ObservableCollection<SocketInfo> InputSockets { get; }
value = elementPropertiesViewModel.InputSockets

入力ソケット情報収集

InputSocketsHeight
public double InputSocketsHeight { get; }
value = elementPropertiesViewModel.InputSocketsHeight

入るソケットのリストのための高さ。

OutputSockets
public ObservableCollection<SocketInfo> OutputSockets { get; }
value = elementPropertiesViewModel.OutputSockets

出力ソケット情報収集

OutputSocketsHeight
public double OutputSocketsHeight { get; }
value = elementPropertiesViewModel.OutputSocketsHeight

出力ソケットリストの高さ。

メソッド

Close
private void Close()
elementPropertiesViewModel.Close()

コマンドを閉じます。

イベント

CloseRequested
public event EventHandler CloseRequested
elementPropertiesViewModel.CloseRequested += handler

閉じたボタンが押下されたときに発生するイベント。