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
파일 보기 프로젝트 열기: arthurgfonseca/ERP-Grupo5 1 사용 예제들

보호된 메소드들

메소드 설명
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