C# Класс ERP.Controls.CustomDataForm

Enhances DataForm functionality by using a PasswordBox control for password fields and exposing a CustomDataForm.Fields collection to allow runtime access to DataForm fields.
Наследование: System.Windows.Controls.DataForm
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
IsPasswordProperty ( PropertyInfo propertyInfo ) : bool

Returns whether the given property should be represented by a PasswordBox or not. The default implementation will simply use a naming convention and returns true if the property contains the word "Password".

OnAutoGeneratingField ( System.Windows.Controls.DataFormAutoGeneratingFieldEventArgs e ) : void

Extends DataForm.OnAutoGeneratingField by replacing TextBoxes with PasswordBoxes whenever applicable

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

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

Returns whether the given property should be represented by a PasswordBox or not. The default implementation will simply use a naming convention and returns true if the property contains the word "Password".
protected IsPasswordProperty ( PropertyInfo propertyInfo ) : bool
propertyInfo System.Reflection.PropertyInfo The entity property being analyzed
Результат bool

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

Extends DataForm.OnAutoGeneratingField by replacing TextBoxes with PasswordBoxes whenever applicable
protected OnAutoGeneratingField ( System.Windows.Controls.DataFormAutoGeneratingFieldEventArgs e ) : void
e System.Windows.Controls.DataFormAutoGeneratingFieldEventArgs
Результат void