C# 클래스 Telerik.TestStudio.Jira.BugTracking.PasswordBoxAssistant

Since the .NET PasswordBox does not give you a DependencyProperty for the password (encrypted or not) we'll extend it to add our own.
파일 보기 프로젝트 열기: TestStudio/JiraPlugin

공개 프로퍼티들

프로퍼티 타입 설명
BindPassword System.Windows.DependencyProperty
BoundPassword System.Windows.DependencyProperty

공개 메소드들

메소드 설명
GetBindPassword ( DependencyObject dp ) : bool
GetBoundPassword ( DependencyObject dp ) : string
SetBindPassword ( DependencyObject dp, bool value ) : void
SetBoundPassword ( DependencyObject dp, Base64String value ) : void

비공개 메소드들

메소드 설명
GetUpdatingPassword ( DependencyObject dp ) : bool
HandlePasswordChanged ( object sender, RoutedEventArgs e ) : void

Called when the value of the PasswordBox is changed in the UI. We'll update the bound property with the updated password value. This triggers the OnBoundPasswordChanged event handler.

OnBindPasswordChanged ( DependencyObject dp, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called when what the PasswordBox is bound to is changed, generally during UI initialization. We'll change our event listeners for the new PasswordBox.

OnBoundPasswordChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called when the value of the property the PasswordBox is bound to changes. We'll update the bound property with the updated password value, unless we're already in the middle of updating it because the user changed it in the UI.

SetUpdatingPassword ( DependencyObject dp, bool value ) : void

메소드 상세

GetBindPassword() 공개 정적인 메소드

public static GetBindPassword ( DependencyObject dp ) : bool
dp System.Windows.DependencyObject
리턴 bool

GetBoundPassword() 공개 정적인 메소드

public static GetBoundPassword ( DependencyObject dp ) : string
dp System.Windows.DependencyObject
리턴 string

SetBindPassword() 공개 정적인 메소드

public static SetBindPassword ( DependencyObject dp, bool value ) : void
dp System.Windows.DependencyObject
value bool
리턴 void

SetBoundPassword() 공개 정적인 메소드

public static SetBoundPassword ( DependencyObject dp, Base64String value ) : void
dp System.Windows.DependencyObject
value Base64String
리턴 void

프로퍼티 상세

BindPassword 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows BindPassword
리턴 System.Windows.DependencyProperty

BoundPassword 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows BoundPassword
리턴 System.Windows.DependencyProperty