Class PasswordChangedBehavior
Defines a behavior for the PasswordBox password changed event.
Behavior<PasswordBox>.AssociatedObject
Behavior.CreateInstanceCore()
Behavior.Detach()
Behavior.AssociatedType
Namespace: Sartorius.SAF.Presentation.Behaviors
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class PasswordChangedBehavior : Behavior<PasswordBox>, IAnimatable, IAttachedObject
Constructors
View SourcePasswordChangedBehavior()
Creates a new instance of the PasswordChangedBehavior.
Declaration
public PasswordChangedBehavior()
Fields
View SourcePwdChangedCommandProperty
the command (ICommand) to be executed
Declaration
public static readonly DependencyProperty PwdChangedCommandProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Properties
View SourcePasswordMask
Gets or sets the password mask.
Declaration
public string PasswordMask { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PwdChangedCommand
Gets or sets the command that is executed when the password changes.
Declaration
public ICommand PwdChangedCommand { get; set; }
Property Value
| Type | Description |
|---|---|
| ICommand |
Methods
View SourceGetPwdChangedCommand(DependencyObject)
Gets the command.
Declaration
public static ICommand GetPwdChangedCommand(DependencyObject dependencyObject)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | dependencyObject | The d. |
Returns
| Type | Description |
|---|---|
| ICommand |
OnAttached()
Declaration
protected override void OnAttached()
Overrides
Microsoft.Xaml.Behaviors.Behavior.OnAttached()
View Source
OnDetaching()
Declaration
protected override void OnDetaching()
Overrides
Microsoft.Xaml.Behaviors.Behavior.OnDetaching()
View Source
SetPwdChangedCommand(DependencyObject, ICommand)
Sets the command.
Declaration
public static void SetPwdChangedCommand(DependencyObject dependencyObject, ICommand value)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | dependencyObject | The d. |
| ICommand | value | The value. |
Implements
Microsoft.Xaml.Behaviors.IAttachedObject