C# Class DbDictExport.WPF.Common.PasswordBoxHelper

Show file Open project: NeilQ/DbDictExport

Public Properties

Property Type Description
AttachProperty System.Windows.DependencyProperty
PasswordProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetAttach ( DependencyObject dp ) : bool
GetPassword ( DependencyObject dp ) : string
SetAttach ( DependencyObject dp, bool value ) : void
SetPassword ( DependencyObject dp, string value ) : void

Private Methods

Method Description
Attach ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
GetIsUpdating ( DependencyObject dp ) : bool
OnPasswordPropertyChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
PasswordChanged ( object sender, RoutedEventArgs e ) : void
SetIsUpdating ( DependencyObject dp, bool value ) : void

Method Details

GetAttach() public static method

public static GetAttach ( DependencyObject dp ) : bool
dp System.Windows.DependencyObject
return bool

GetPassword() public static method

public static GetPassword ( DependencyObject dp ) : string
dp System.Windows.DependencyObject
return string

SetAttach() public static method

public static SetAttach ( DependencyObject dp, bool value ) : void
dp System.Windows.DependencyObject
value bool
return void

SetPassword() public static method

public static SetPassword ( DependencyObject dp, string value ) : void
dp System.Windows.DependencyObject
value string
return void

Property Details

AttachProperty public static property

public static DependencyProperty,System.Windows AttachProperty
return System.Windows.DependencyProperty

PasswordProperty public static property

public static DependencyProperty,System.Windows PasswordProperty
return System.Windows.DependencyProperty