DiagramPaletteControl
StockSharp.Xaml.Diagram.Avalonia.Controls
Avalonia の図形パレット/箱の制御。キャンバスにドラッグできる図形の要素の分類されたリストを提供します。
継承元: UserControl
コンストラクター
DiagramPaletteControl
public DiagramPaletteControl()
diagramPaletteControl = DiagramPaletteControl()
DiagramPaletteControl の新規インスタンスを初期化します。
プロパティ
IsSearchMode
public bool IsSearchMode { get; private set; }
value = diagramPaletteControl.IsSearchMode
diagramPaletteControl.IsSearchMode = value
パレットが検索モードにあるかどうか。
メソッド
AddCategory
public void AddCategory(string categoryName, IEnumerable<PaletteItem> items)
diagramPaletteControl.AddCategory(categoryName, items)
パレットにアイテムをカテゴリに追加します。
イベント
DragStarted
public event EventHandler<PaletteDragEventArgs> DragStarted
diagramPaletteControl.DragStarted += handler
ドラッグ操作がパレットから始まると、占有者。
ItemActivated
public event EventHandler<PaletteItem> ItemActivated
diagramPaletteControl.ItemActivated += handler
アイテムが有効化されるときの占有者(ダブルクリックまたは押下)。
フィールド
IsSearchModeProperty
public static readonly StyledProperty<bool> IsSearchModeProperty
value = DiagramPaletteControl.IsSearchModeProperty
IsSearchMode依存性プロパティを識別します。