C# Класс WPFOfficeTheme.MaskTextBox

Наследование: System.Windows.Controls.TextBox, INotifyPropertyChanged
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
BlankCharacterProperty System.Windows.DependencyProperty
MaskProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
GetCleanValue ( ) : string
MaskTextBox ( ) : System

Защищенные методы

Метод Описание
OnInitialized ( EventArgs e ) : void
OnPreviewKeyDown ( System e ) : void
OnPreviewTextInput ( System e ) : void
OnTextChanged ( System.Windows.Controls.TextChangedEventArgs e ) : void

Приватные методы

Метод Описание
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

Описание методов

GetCleanValue() публичный Метод

public GetCleanValue ( ) : string
Результат string

MaskTextBox() публичный Метод

public MaskTextBox ( ) : System
Результат System

OnInitialized() защищенный Метод

protected OnInitialized ( EventArgs e ) : void
e System.EventArgs
Результат void

OnPreviewKeyDown() защищенный Метод

protected OnPreviewKeyDown ( System e ) : void
e System
Результат void

OnPreviewTextInput() защищенный Метод

protected OnPreviewTextInput ( System e ) : void
e System
Результат void

OnTextChanged() защищенный Метод

protected OnTextChanged ( System.Windows.Controls.TextChangedEventArgs e ) : void
e System.Windows.Controls.TextChangedEventArgs
Результат void

Описание свойств

BlankCharacterProperty публичное статическое свойство

public static DependencyProperty,System.Windows BlankCharacterProperty
Результат System.Windows.DependencyProperty

MaskProperty публичное статическое свойство

public static DependencyProperty,System.Windows MaskProperty
Результат System.Windows.DependencyProperty