Table of Contents

Class TextEditor

Namespace
HeBianGu.Control.TextEditor
Assembly
HeBianGu.Control.TextEditor.dll
[TemplatePart(Name = "PART_TextBlock", Type = typeof(TextBlock))]
[TemplatePart(Name = "PART_TextBox", Type = typeof(TextBox))]
public class TextEditor : Control, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient
Inheritance
TextEditor
Implements
Inherited Members
Extension Methods

Constructors

TextEditor()

public TextEditor()

Fields

CancelModeProperty

public static readonly DependencyProperty CancelModeProperty

Field Value

DependencyProperty

ContentProperty

public static readonly DependencyProperty ContentProperty

Field Value

DependencyProperty

DefaultTypeProperty

public static readonly DependencyProperty DefaultTypeProperty

Field Value

DependencyProperty

EditActiveModeProperty

public static readonly DependencyProperty EditActiveModeProperty

Field Value

DependencyProperty

EditTextProperty

public static readonly DependencyProperty EditTextProperty

Field Value

DependencyProperty

IsEdittingProperty

public static readonly DependencyProperty IsEdittingProperty

Field Value

DependencyProperty

MessageProperty

public static readonly DependencyProperty MessageProperty

Field Value

DependencyProperty

SaveDatadRoutedEvent

public static readonly RoutedEvent SaveDatadRoutedEvent

Field Value

RoutedEvent

TextBlockStyleProperty

public static readonly DependencyProperty TextBlockStyleProperty

Field Value

DependencyProperty

TextBoxStyleProperty

public static readonly DependencyProperty TextBoxStyleProperty

Field Value

DependencyProperty

TextProperty

public static readonly DependencyProperty TextProperty

Field Value

DependencyProperty

UseCancelProperty

public static readonly DependencyProperty UseCancelProperty

Field Value

DependencyProperty

UseSureProperty

public static readonly DependencyProperty UseSureProperty

Field Value

DependencyProperty

Properties

Cancel

public static RoutedCommand Cancel { get; }

Property Value

RoutedCommand

CancelMode

public CancelMode CancelMode { get; set; }

Property Value

CancelMode

Content

public object Content { get; set; }

Property Value

object

DefaultKey

public static ComponentResourceKey DefaultKey { get; }

Property Value

ComponentResourceKey

DefaultType

public Type DefaultType { get; set; }

Property Value

Type

EditActiveMode

public EditActiveMode EditActiveMode { get; set; }

Property Value

EditActiveMode

EditText

public string EditText { get; set; }

Property Value

string

IsEditting

public bool IsEditting { get; set; }

Property Value

bool

Message

public string Message { get; set; }

Property Value

string

Sure

public static RoutedCommand Sure { get; }

Property Value

RoutedCommand

Text

public string Text { get; set; }

Property Value

string

TextBlockStyle

public Style TextBlockStyle { get; set; }

Property Value

Style

TextBoxKey

public static ComponentResourceKey TextBoxKey { get; }

Property Value

ComponentResourceKey

TextBoxStyle

public Style TextBoxStyle { get; set; }

Property Value

Style

TextKey

public static ComponentResourceKey TextKey { get; }

Property Value

ComponentResourceKey

UseCancel

[Bindable(true)]
public bool UseCancel { get; set; }

Property Value

bool

UseSure

[Bindable(true)]
public bool UseSure { get; set; }

Property Value

bool

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

OnSaveDatad()

protected void OnSaveDatad()

Events

SaveDatad

public event RoutedEventHandler SaveDatad

Event Type

RoutedEventHandler