ITextEditor

StockSharp.Xaml.Diagram.GXDiagram.Tool

このインターフェイスは、TextEditingTool's EditorAdornment で実行されたテキスト編集相互作用を管理します。

プロパティ

Text
public string Text { get; set; }
value = iTextEditor.Text
iTextEditor.Text = value

編集中のテキスト値を取得するか、設定します。

TextEditingTool
public TextEditingTool TextEditingTool { get; set; }
value = iTextEditor.TextEditingTool
iTextEditor.TextEditingTool = value

取得またはTextEditingTool@をセット.

メソッド

Focus
public void Focus()
iTextEditor.Focus()

編集制御に焦点を合わせて下さい。

IsValidText
public bool IsValidText(string oldstring, string newstring)
result = iTextEditor.IsValidText(oldstring, newstring)

有効な値である場合は、この述語は真でなければなりません。

oldstring
newstring

イベント

GotFocus
public event EventHandler GotFocus
iTextEditor.GotFocus += handler

編集制御が集中したという事を示すイベントです。