C# Class WPFOfficeTheme.MaskTextBox

Inheritance: System.Windows.Controls.TextBox, INotifyPropertyChanged
Afficher le fichier Open project: alexsharoff/wpf-office-theme

Méthodes publiques

Свойство Type Description
BlankCharacterProperty System.Windows.DependencyProperty
MaskProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
AppendCharacter void
GetFirstValidPosition int
GetLastValidPosition int
GetMaskCharType MaskCharType
GetNextValidPositionFrom int
GetNextValidPositionFrom int
GetNextValidPositionFrom int
InitializeMask void
IsNumber bool
IsNumber bool
NotifyPropertyChanged void
UpdateCharacter void
ValidateInput bool

Méthodes publiques

Méthode Description
GetCleanValue ( ) : string
MaskTextBox ( ) : System

Méthodes protégées

Méthode Description
OnInitialized ( EventArgs e ) : void
OnPreviewKeyDown ( System e ) : void
OnPreviewTextInput ( System e ) : void
OnTextChanged ( System.Windows.Controls.TextChangedEventArgs e ) : void

Private Methods

Méthode Description
AppendCharacter ( char c ) : void
GetFirstValidPosition ( ) : int
GetLastValidPosition ( ) : int
GetMaskCharType ( int index ) : MaskCharType
GetNextValidPositionFrom ( int actualPosition ) : int
GetNextValidPositionFrom ( int actualPosition, bool searchForward ) : int
GetNextValidPositionFrom ( int actualPosition, bool searchForward, int &leaps ) : int
InitializeMask ( ) : void
IsNumber ( Key key ) : bool
IsNumber ( int key ) : bool
NotifyPropertyChanged ( String info ) : void
UpdateCharacter ( string s, char c, int index ) : void
ValidateInput ( int index, char input ) : bool

Method Details

GetCleanValue() public méthode

public GetCleanValue ( ) : string
Résultat string

MaskTextBox() public méthode

public MaskTextBox ( ) : System
Résultat System

OnInitialized() protected méthode

protected OnInitialized ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnPreviewKeyDown() protected méthode

protected OnPreviewKeyDown ( System e ) : void
e System
Résultat void

OnPreviewTextInput() protected méthode

protected OnPreviewTextInput ( System e ) : void
e System
Résultat void

OnTextChanged() protected méthode

protected OnTextChanged ( System.Windows.Controls.TextChangedEventArgs e ) : void
e System.Windows.Controls.TextChangedEventArgs
Résultat void

Property Details

BlankCharacterProperty public_oe static_oe property

public static DependencyProperty,System.Windows BlankCharacterProperty
Résultat System.Windows.DependencyProperty

MaskProperty public_oe static_oe property

public static DependencyProperty,System.Windows MaskProperty
Résultat System.Windows.DependencyProperty