C# Class System.Windows.Controls.TextBox

Inheritance: System.Windows.Controls.Primitives.TextBoxBase, IAddChild, ITextBoxViewHost
Mostra file Open project: shana/moon Class Usage Examples

Private Properties

Property Type Description
ChangeVisualState void
ChangeVisualState void
EnsureDesignMode void
GetRectFromCharacterIndex System.Windows.Rect
GetRectFromCharacterIndex System.Windows.Rect
Initialize void
InvokeIsEnabledPropertyChanged void
InvokeOnApplyTemplate void
IsReadOnlyChanged void
OnCursorPositionChanged void
PostOnKeyDown void
RaiseUIATextChanged void
TextBox Mono
TextPropertyChanged void

Public Methods

Method Description
Select ( int start, int length ) : void
SelectAll ( ) : void

Protected Methods

Method Description
OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
OnGotFocus ( RoutedEventArgs e ) : void
OnKeyDown ( System.Windows.Input.KeyEventArgs k ) : void
OnKeyUp ( System.Windows.Input.KeyEventArgs k ) : void
OnLostFocus ( RoutedEventArgs e ) : void
OnLostMouseCapture ( System.Windows.Input.MouseEventArgs e ) : void
OnMouseEnter ( System.Windows.Input.MouseEventArgs e ) : void
OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void
OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
OnTextInput ( System.Windows.Input.TextCompositionEventArgs e ) : void
OnTextInputStart ( System.Windows.Input.TextCompositionEventArgs e ) : void
OnTextInputUpdate ( System.Windows.Input.TextCompositionEventArgs e ) : void

Private Methods

Method Description
ChangeVisualState ( ) : void
ChangeVisualState ( bool useTransitions ) : void
EnsureDesignMode ( ) : void
GetRectFromCharacterIndex ( int charIndex ) : Rect
GetRectFromCharacterIndex ( int charIndex, bool trailingEdge ) : Rect
Initialize ( ) : void
InvokeIsEnabledPropertyChanged ( ) : void
InvokeOnApplyTemplate ( ) : void
IsReadOnlyChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnCursorPositionChanged ( object sender, System.Windows.Controls.CursorPositionChangedEventArgs args ) : void
PostOnKeyDown ( System.Windows.Input.KeyEventArgs k ) : void
RaiseUIATextChanged ( System.Windows.DependencyPropertyChangedEventArgs args ) : void
TextBox ( ) : Mono
TextPropertyChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs args ) : void

Method Details

OnCreateAutomationPeer() protected method

protected OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
return System.Windows.Automation.Peers.AutomationPeer

OnGotFocus() protected method

protected OnGotFocus ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( System.Windows.Input.KeyEventArgs k ) : void
k System.Windows.Input.KeyEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( System.Windows.Input.KeyEventArgs k ) : void
k System.Windows.Input.KeyEventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs
return void

OnLostMouseCapture() protected method

protected OnLostMouseCapture ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
return void

OnMouseEnter() protected method

protected OnMouseEnter ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
return void

OnMouseLeftButtonDown() protected method

protected OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

OnMouseLeftButtonUp() protected method

protected OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
return void

OnTextInput() protected method

protected OnTextInput ( System.Windows.Input.TextCompositionEventArgs e ) : void
e System.Windows.Input.TextCompositionEventArgs
return void

OnTextInputStart() protected method

protected OnTextInputStart ( System.Windows.Input.TextCompositionEventArgs e ) : void
e System.Windows.Input.TextCompositionEventArgs
return void

OnTextInputUpdate() protected method

protected OnTextInputUpdate ( System.Windows.Input.TextCompositionEventArgs e ) : void
e System.Windows.Input.TextCompositionEventArgs
return void

Select() public method

public Select ( int start, int length ) : void
start int
length int
return void

SelectAll() public method

public SelectAll ( ) : void
return void