CodePanel

StockSharp.Xaml.CodeEditor

El panel visual para la edición y compilación de códigos.

Hereda de: UserControl

Implementa: IPersistable, IUndoRedoManager, IComponentConnector

Constructores

CodePanel
public CodePanel()
codePanel = CodePanel()

Inicia una nueva instancia de la CodePanel.

Propiedades

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

Compilar automáticamente cuando el código cambió.

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

El comando para la compilación de códigos.

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

Es compatible con el tipo.

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

Lee sólo.

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

El comando para devolver los cambios.

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

El comando para la modificación de referencias.

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

El comando para el ahorro de código.

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

Para mostrar el comienzo.

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

Para mostrar el panel de revisión.

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

El comando para iniciar la ejecución.

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

El comando para deshacer los cambios.

Métodos

EditReferences
public void EditReferences()
codePanel.EditReferences()

Editar referencias.

InitializeComponent
public void InitializeComponent()
codePanel.InitializeComponent()

InitializeComponent

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

Ajustes de carga.

storage
Configuración de almacenamiento.
Save
public void Save(SettingsStorage storage)
codePanel.Save(storage)

Guardar configuración.

storage
Configuración de almacenamiento.

Eventos

CodeChanged
public event Action CodeChanged
codePanel.CodeChanged += handler

El evento de cambio de código.

CompiledCode
public event Action CompiledCode
codePanel.CompiledCode += handler

El evento compilado de código.

LayoutChanged
public event Action LayoutChanged
codePanel.LayoutChanged += handler

El diseño cambió el evento.

ReferencesUpdated
public event Action ReferencesUpdated
codePanel.ReferencesUpdated += handler

El evento de actualización de enlaces.

SavingCode
public event Action SavingCode
codePanel.SavingCode += handler

El evento de ahorro de códigos.

Started
public event Action Started
codePanel.Started += handler

El código comenzó el evento.

Campos

AutoCompileProperty
public static readonly DependencyProperty AutoCompileProperty
value = CodePanel.AutoCompileProperty

DependencyProperty for AutoCompile.

CompileCommandProperty
public static readonly DependencyProperty CompileCommandProperty
value = CodePanel.CompileCommandProperty

DependencyProperty for CompileCommand.

RedoCommandProperty
public static readonly DependencyProperty RedoCommandProperty
value = CodePanel.RedoCommandProperty

DependencyProperty for RedoCommand.

ReferencesCommandProperty
public static readonly DependencyProperty ReferencesCommandProperty
value = CodePanel.ReferencesCommandProperty

DependencyProperty para ReferencesCommand.

SaveCommandProperty
public static readonly DependencyProperty SaveCommandProperty
value = CodePanel.SaveCommandProperty

DependencyProperty for SaveCommand.

ShowStartProperty
public static readonly DependencyProperty ShowStartProperty
value = CodePanel.ShowStartProperty

DependencyProperty for ShowStart.

ShowToolBarProperty
public static readonly DependencyProperty ShowToolBarProperty
value = CodePanel.ShowToolBarProperty

DependencyProperty for ShowToolBar.

StartCommandProperty
public static readonly DependencyProperty StartCommandProperty
value = CodePanel.StartCommandProperty

DependencyProperty for StartCommand.

UndoCommandProperty
public static readonly DependencyProperty UndoCommandProperty
value = CodePanel.UndoCommandProperty

DependencyProperty for UndoCommand.