EditableTextBlock

Ecng.Xaml

A TextBlock that can be switched into an inline edit mode, rendering a TextBox adorner on top of itself.

継承元: TextBlock

プロパティ

EditOnDoubleClick : bool

Gets or sets a value indicating whether double-clicking the control switches it to edit mode.

IsInEditMode : bool

Gets or sets a value indicating whether the control is currently in edit mode. When set to true, an adorner with a TextBox is shown allowing the text to be edited.

MaxLength : int

Gets or sets the maximum number of characters that can be entered while in edit mode.

メソッド

OnMouseDown(MouseButtonEventArgs)

Handle a mouse down event.

e

フィールド

EditOnDoubleClickProperty : DependencyProperty

Identifies the EditOnDoubleClick dependency property.

IsInEditModeProperty : DependencyProperty

Identifies the IsInEditMode dependency property.

MaxLengthProperty : DependencyProperty

Identifies the MaxLength dependency property.