CodePanel

StockSharp.Xaml.CodeEditor

コード編集とコンパイル用のビジュアルパネル。

継承元: UserControl

実装: IPersistable, IUndoRedoManager, IComponentConnector

コンストラクター

CodePanel
public CodePanel()
codePanel = CodePanel()

CodePanel の新規インスタンスを初期化します。

プロパティ

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

コード変更時に自動コンパイルします。

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

担当: 佐藤 宏

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

コードコンパイルのコマンド。

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

型は互換性があります。

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

読むだけ。

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

変更を返すコマンド。

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

参照変更のコマンド。

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

コード保存のコマンド。

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

スタートを見せる。

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

審査パネルを表示する

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

実行を開始するコマンド。

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

変更を行わないコマンド。

メソッド

EditReferences
public void EditReferences()
codePanel.EditReferences()

参照を編集します。

InitializeComponent
public void InitializeComponent()
codePanel.InitializeComponent()

担当: 佐藤 宏

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

設定をロードします。

storage
設定ストレージ。
Save
public void Save(SettingsStorage storage)
codePanel.Save(storage)

設定を保存します。

storage
設定ストレージ。

イベント

CodeChanged
public event Action CodeChanged
codePanel.CodeChanged += handler

コード変更イベント。

CompiledCode
public event Action CompiledCode
codePanel.CompiledCode += handler

コードコンパイルイベント。

LayoutChanged
public event Action LayoutChanged
codePanel.LayoutChanged += handler

レイアウト変更イベント。

ReferencesUpdated
public event Action ReferencesUpdated
codePanel.ReferencesUpdated += handler

リンク更新イベント

SavingCode
public event Action SavingCode
codePanel.SavingCode += handler

コード保存イベント。

Started
public event Action Started
codePanel.Started += handler

開始イベントのコードです。

フィールド

AutoCompileProperty
public static readonly DependencyProperty AutoCompileProperty
value = CodePanel.AutoCompileProperty

代表取締役社長 佐藤 浩一

CompileCommandProperty
public static readonly DependencyProperty CompileCommandProperty
value = CodePanel.CompileCommandProperty

代表取締役社長 佐藤 浩一

RedoCommandProperty
public static readonly DependencyProperty RedoCommandProperty
value = CodePanel.RedoCommandProperty

代表取締役社長 佐藤 浩一

ReferencesCommandProperty
public static readonly DependencyProperty ReferencesCommandProperty
value = CodePanel.ReferencesCommandProperty

代表取締役社長 佐藤 浩一

SaveCommandProperty
public static readonly DependencyProperty SaveCommandProperty
value = CodePanel.SaveCommandProperty

代表取締役社長 佐藤 浩一

ShowStartProperty
public static readonly DependencyProperty ShowStartProperty
value = CodePanel.ShowStartProperty

代表取締役社長 佐藤 浩一

ShowToolBarProperty
public static readonly DependencyProperty ShowToolBarProperty
value = CodePanel.ShowToolBarProperty

代表取締役社長 佐藤 浩一

StartCommandProperty
public static readonly DependencyProperty StartCommandProperty
value = CodePanel.StartCommandProperty

代表取締役社長 佐藤 浩一

UndoCommandProperty
public static readonly DependencyProperty UndoCommandProperty
value = CodePanel.UndoCommandProperty

代表取締役社長 佐藤 浩一