CodePanel
Das visuelle Panel für die Codebearbeitung und -kompilation.
Erbt von: UserControl
Implementiert: IPersistable, IUndoRedoManager, IComponentConnector
Konstruktoren
Eigenschaften
public bool AutoCompile { get; set; }
value = codePanel.AutoCompile
codePanel.AutoCompile = value
Auto-Compiler, wenn der Code geändert wurde.
public ICommand CompileCommand { get; set; }
value = codePanel.CompileCommand
codePanel.CompileCommand = value
Der Befehl für die Code-Compilation.
public Func<Type, bool> IsTypeCompatible { get; set; }
value = codePanel.IsTypeCompatible
codePanel.IsTypeCompatible = value
Typ kompatibel ist.
public bool ReadOnly { get; set; }
value = codePanel.ReadOnly
codePanel.ReadOnly = value
Lesen Sie nur.
public ICommand RedoCommand { get; set; }
value = codePanel.RedoCommand
codePanel.RedoCommand = value
Der Befehl zur Rückgabe der Änderungen.
public ICommand ReferencesCommand { get; set; }
value = codePanel.ReferencesCommand
codePanel.ReferencesCommand = value
Der Befehl für die Referenzen Änderung.
public ICommand SaveCommand { get; set; }
value = codePanel.SaveCommand
codePanel.SaveCommand = value
Der Befehl zum Speichern des Codes.
public bool ShowStart { get; set; }
value = codePanel.ShowStart
codePanel.ShowStart = value
Um den Anfang zu zeigen.
public bool ShowToolBar { get; set; }
value = codePanel.ShowToolBar
codePanel.ShowToolBar = value
Um das Review Panel zu zeigen.
public ICommand StartCommand { get; set; }
value = codePanel.StartCommand
codePanel.StartCommand = value
Der Befehl zum Starten der Ausführung.
public ICommand UndoCommand { get; set; }
value = codePanel.UndoCommand
codePanel.UndoCommand = value
Der Befehl zur Rücknahme der Änderungen.
Methoden
public void InitializeComponent()
codePanel.InitializeComponent()
InitializeComponent
public void Load(SettingsStorage storage)
codePanel.Load(storage)
Lasteinstellungen.
- storage
- Einstellungen Lagerung.
public void Save(SettingsStorage storage)
codePanel.Save(storage)
Einstellungen speichern.
- storage
- Einstellungen Lagerung.
Ereignisse
public event Action CodeChanged
codePanel.CodeChanged += handler
Das Ereignis der Codeänderung.
public event Action CompiledCode
codePanel.CompiledCode += handler
Der Code hat das Ereignis zusammengestellt.
public event Action LayoutChanged
codePanel.LayoutChanged += handler
Das Layout hat das Ereignis geändert.
public event Action ReferencesUpdated
codePanel.ReferencesUpdated += handler
Die Links aktualisieren Ereignis.
public event Action Started
codePanel.Started += handler
Der Code hat das Ereignis gestartet.
Felder
public static readonly DependencyProperty AutoCompileProperty
value = CodePanel.AutoCompileProperty
DependencyProperty für AutoCompile.
public static readonly DependencyProperty CompileCommandProperty
value = CodePanel.CompileCommandProperty
DependencyProperty für CompileCommand.
public static readonly DependencyProperty RedoCommandProperty
value = CodePanel.RedoCommandProperty
DependencyProperty für RedoCommand.
public static readonly DependencyProperty ReferencesCommandProperty
value = CodePanel.ReferencesCommandProperty
DependencyProperty für ReferencesCommand.
public static readonly DependencyProperty SaveCommandProperty
value = CodePanel.SaveCommandProperty
DependencyProperty für SaveCommand.
public static readonly DependencyProperty ShowStartProperty
value = CodePanel.ShowStartProperty
DependencyProperty für ShowStart.
public static readonly DependencyProperty ShowToolBarProperty
value = CodePanel.ShowToolBarProperty
DependencyProperty für ShowToolBar.
public static readonly DependencyProperty StartCommandProperty
value = CodePanel.StartCommandProperty
DependencyProperty für StartCommand.
public static readonly DependencyProperty UndoCommandProperty
value = CodePanel.UndoCommandProperty
DependencyProperty für UndoCommand.