DiagramPaletteControl

StockSharp.Xaml.Diagram.Avalonia.Controls

Avalonia diagram palette/toolbox control. Provides a categorized list of diagram elements that can be dragged onto the canvas.

継承元: UserControl

コンストラクター

DiagramPaletteControl()

Initializes a new instance of the DiagramPaletteControl.

プロパティ

IsSearchMode : bool

Whether the palette is in search mode.

メソッド

AddCategory(string, IEnumerable<PaletteItem>)

Add a category with items to the palette.

Clear()

Clear all categories and items.

イベント

DragStarted : EventHandler<PaletteDragEventArgs>

Occurs when a drag operation starts from the palette.

ItemActivated : EventHandler<PaletteItem>

Occurs when an item is activated (double-clicked or Enter pressed).

フィールド

IsSearchModeProperty : StyledProperty<bool>

Identifies the IsSearchMode dependency property.