DiagramEditorControl

StockSharp.Xaml.Diagram

Graphical component for editing CompositionDiagramElement.

継承元: UserControl

実装: IPersistable, IUndoRedoManager, IComponentConnector

コンストラクター

DiagramEditorControl()

Initializes a new instance of the DiagramEditorControl.

プロパティ

Composition : CompositionDiagramElement

Composite element.

DoubleClickHandlers : IDictionary<Type, IDoubleClickHandler>

Double-click element handlers.

HelpCommand : ICommand

Help command.

IsEncrypted : bool

Is encrypted.

IsReadOnly : bool

Read-only mode.

OpenElementCommand : ICommand

Command for opening composition element.

OpenPropertiesCommand : ICommand

Command for opening element properties.

RedoCommand : ICommand

Redo command.

RemoveCommand : ICommand

Remove command.

Scale : double

Scale.

SelectedElement : DiagramElement

Selected element.

ShowOverview : bool

To show the review panel.

UndoCommand : ICommand

Undo command.

メソッド

GetSelectionCopyElement() : CompositionDiagramElement

To create a new element from the selected elements in the diagram.

戻り値: Composite element.

InitializeComponent()

InitializeComponent

Load(SettingsStorage)

Load settings.

storage
Settings storage.
Save(SettingsStorage)

Save settings.

storage
Settings storage.
SaveToImage(Stream)

To save the diagram as an image.

file
The content of file.
Select(DiagramElement)

Select element.

element

イベント

ElementDoubleClicked : Action<DiagramElement>

The event of the double click on the diagram element.

SelectionChanged : Action<DiagramElement>

The event of the element selection on the diagram.

SocketClicked : Action<DiagramSocket, MouseAction>

Socket clicked event.

フィールド

CompositionProperty : DependencyProperty

DependencyProperty for Composition.

HelpCommandProperty : DependencyProperty

DependencyProperty for HelpCommand.

OpenElementCommandProperty : DependencyProperty

DependencyProperty for OpenElementCommand.

OpenPropertiesCommandProperty : DependencyProperty

DependencyProperty for OpenPropertiesCommand.

RedoCommandProperty : DependencyProperty

DependencyProperty for RedoCommand.

RemoveCommandProperty : DependencyProperty

DependencyProperty for RemoveCommand.

ScaleProperty : DependencyProperty

DependencyProperty for Scale.

ShowOverviewProperty : DependencyProperty

DependencyProperty for ShowOverview.

UndoCommandProperty : DependencyProperty

DependencyProperty for UndoCommand.