DiagramEditorControl

StockSharp.Xaml.Diagram

Graphical component for editing CompositionDiagramElement.

Hereda de: UserControl

Implementa: IPersistable, IUndoRedoManager, IComponentConnector

Constructores

DiagramEditorControl()

Initializes a new instance of the DiagramEditorControl.

Propiedades

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.

Métodos

GetSelectionCopyElement() : CompositionDiagramElement

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

Devuelve: 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

Eventos

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.

Campos

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.