CodePanel

StockSharp.Xaml.CodeEditor

Das visuelle Panel für die Codebearbeitung und -kompilation.

Erbt von: UserControl

Implementiert: IPersistable, IUndoRedoManager, IComponentConnector

Konstruktoren

CodePanel
public CodePanel()
codePanel = CodePanel()

Initialisiert eine neue Instanz von CodePanel.

Eigenschaften

AutoCompile
public bool AutoCompile { get; set; }
value = codePanel.AutoCompile
codePanel.AutoCompile = value

Auto-Compiler, wenn der Code geändert wurde.

Code
public CodeInfo Code { get; set; }
value = codePanel.Code
codePanel.Code = value

CodeInfo

CompileCommand
public ICommand CompileCommand { get; set; }
value = codePanel.CompileCommand
codePanel.CompileCommand = value

Der Befehl für die Code-Compilation.

IsTypeCompatible
public Func<Type, bool> IsTypeCompatible { get; set; }
value = codePanel.IsTypeCompatible
codePanel.IsTypeCompatible = value

Typ kompatibel ist.

ReadOnly
public bool ReadOnly { get; set; }
value = codePanel.ReadOnly
codePanel.ReadOnly = value

Lesen Sie nur.

RedoCommand
public ICommand RedoCommand { get; set; }
value = codePanel.RedoCommand
codePanel.RedoCommand = value

Der Befehl zur Rückgabe der Änderungen.

ReferencesCommand
public ICommand ReferencesCommand { get; set; }
value = codePanel.ReferencesCommand
codePanel.ReferencesCommand = value

Der Befehl für die Referenzen Änderung.

SaveCommand
public ICommand SaveCommand { get; set; }
value = codePanel.SaveCommand
codePanel.SaveCommand = value

Der Befehl zum Speichern des Codes.

ShowStart
public bool ShowStart { get; set; }
value = codePanel.ShowStart
codePanel.ShowStart = value

Um den Anfang zu zeigen.

ShowToolBar
public bool ShowToolBar { get; set; }
value = codePanel.ShowToolBar
codePanel.ShowToolBar = value

Um das Review Panel zu zeigen.

StartCommand
public ICommand StartCommand { get; set; }
value = codePanel.StartCommand
codePanel.StartCommand = value

Der Befehl zum Starten der Ausführung.

UndoCommand
public ICommand UndoCommand { get; set; }
value = codePanel.UndoCommand
codePanel.UndoCommand = value

Der Befehl zur Rücknahme der Änderungen.

Methoden

EditReferences
public void EditReferences()
codePanel.EditReferences()

Referenzen bearbeiten.

InitializeComponent
public void InitializeComponent()
codePanel.InitializeComponent()

InitializeComponent

Load
public void Load(SettingsStorage storage)
codePanel.Load(storage)

Lasteinstellungen.

storage
Einstellungen Lagerung.
Save
public void Save(SettingsStorage storage)
codePanel.Save(storage)

Einstellungen speichern.

storage
Einstellungen Lagerung.

Ereignisse

CodeChanged
public event Action CodeChanged
codePanel.CodeChanged += handler

Das Ereignis der Codeänderung.

CompiledCode
public event Action CompiledCode
codePanel.CompiledCode += handler

Der Code hat das Ereignis zusammengestellt.

LayoutChanged
public event Action LayoutChanged
codePanel.LayoutChanged += handler

Das Layout hat das Ereignis geändert.

ReferencesUpdated
public event Action ReferencesUpdated
codePanel.ReferencesUpdated += handler

Die Links aktualisieren Ereignis.

SavingCode
public event Action SavingCode
codePanel.SavingCode += handler

Das Code-Spar-Ereignis.

Started
public event Action Started
codePanel.Started += handler

Der Code hat das Ereignis gestartet.

Felder

AutoCompileProperty
public static readonly DependencyProperty AutoCompileProperty
value = CodePanel.AutoCompileProperty

DependencyProperty für AutoCompile.

CompileCommandProperty
public static readonly DependencyProperty CompileCommandProperty
value = CodePanel.CompileCommandProperty

DependencyProperty für CompileCommand.

RedoCommandProperty
public static readonly DependencyProperty RedoCommandProperty
value = CodePanel.RedoCommandProperty

DependencyProperty für RedoCommand.

ReferencesCommandProperty
public static readonly DependencyProperty ReferencesCommandProperty
value = CodePanel.ReferencesCommandProperty

DependencyProperty für ReferencesCommand.

SaveCommandProperty
public static readonly DependencyProperty SaveCommandProperty
value = CodePanel.SaveCommandProperty

DependencyProperty für SaveCommand.

ShowStartProperty
public static readonly DependencyProperty ShowStartProperty
value = CodePanel.ShowStartProperty

DependencyProperty für ShowStart.

ShowToolBarProperty
public static readonly DependencyProperty ShowToolBarProperty
value = CodePanel.ShowToolBarProperty

DependencyProperty für ShowToolBar.

StartCommandProperty
public static readonly DependencyProperty StartCommandProperty
value = CodePanel.StartCommandProperty

DependencyProperty für StartCommand.

UndoCommandProperty
public static readonly DependencyProperty UndoCommandProperty
value = CodePanel.UndoCommandProperty

DependencyProperty für UndoCommand.