CodePanel

StockSharp.Xaml.CodeEditor

The visual panel for code editing and compiling.

Inherits: UserControl

Implements: IPersistable, IUndoRedoManager, IComponentConnector

Constructors

CodePanel()

Initializes a new instance of the CodePanel.

Properties

AutoCompile : bool

Auto compile when code changed.

Code : CodeInfo

CodeInfo

CompileCommand : ICommand

The command for the code compilation.

IsTypeCompatible : Func<Type, bool>

Is type compatible.

ReadOnly : bool

Read only.

RedoCommand : ICommand

The command for return the changes.

ReferencesCommand : ICommand

The command for the references modification.

SaveCommand : ICommand

The command for the code saving.

ShowStart : bool

To show the start.

ShowToolBar : bool

To show the review panel.

StartCommand : ICommand

The command for start execution.

UndoCommand : ICommand

The command for undo the changes.

Methods

EditReferences()

Edit references.

InitializeComponent()

InitializeComponent

Load(SettingsStorage)

Load settings.

storage
Settings storage.
Save(SettingsStorage)

Save settings.

storage
Settings storage.

Events

CodeChanged : Action

The code change event.

CompiledCode : Action

The code compilated event.

LayoutChanged : Action

The layout changed event.

ReferencesUpdated : Action

The links update event.

SavingCode : Action

The code saving event.

Started : Action

The code started event.

Fields

AutoCompileProperty : DependencyProperty

DependencyProperty for AutoCompile.

CompileCommandProperty : DependencyProperty

DependencyProperty for CompileCommand.

RedoCommandProperty : DependencyProperty

DependencyProperty for RedoCommand.

ReferencesCommandProperty : DependencyProperty

DependencyProperty for ReferencesCommand.

SaveCommandProperty : DependencyProperty

DependencyProperty for SaveCommand.

ShowStartProperty : DependencyProperty

DependencyProperty for ShowStart.

ShowToolBarProperty : DependencyProperty

DependencyProperty for ShowToolBar.

StartCommandProperty : DependencyProperty

DependencyProperty for StartCommand.

UndoCommandProperty : DependencyProperty

DependencyProperty for UndoCommand.