EnhancedPasswordBox ClassDW.WPFToolkit Documentation
Hosts and enhances the PasswordBox to be able to bind the pasword value and show info text in the background.
Inheritance Hierarchy

SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.ControlsControl
              DW.WPFToolkit.ControlsEnhancedPasswordBox

Namespace: DW.WPFToolkit.Controls
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 5.6.0.0
Syntax

C#
public class EnhancedPasswordBox : Control

The EnhancedPasswordBox type exposes the following members.

Constructors

  NameDescription
Public methodEnhancedPasswordBox
Initializes a new instance of the EnhancedPasswordBox class.
Top
Methods

  NameDescription
Public methodOnApplyTemplate
The template gets added to the control.
(Overrides FrameworkElementOnApplyTemplate.)
Protected methodOnGotFocus
Moves the focus into the inner password box if the control got the focus.
(Overrides FrameworkElementOnGotFocus(RoutedEventArgs).)
Top
Fields

  NameDescription
Public fieldStatic memberInfoAppearanceProperty
Identifies the InfoAppearance dependency property.
Public fieldStatic memberInfoTextFontStyleProperty
Identifies the InfoTextFontStyle dependency property.
Public fieldStatic memberInfoTextForegroundProperty
Identifies the InfoTextForeground dependency property.
Public fieldStatic memberInfoTextHorizontalAlignmentProperty
Identifies the InfoTextHorizontalAlignment dependency property.
Public fieldStatic memberInfoTextMarginProperty
Identifies the InfoTextMargin dependency property.
Public fieldStatic memberInfoTextProperty
Identifies the InfoText dependency property.
Public fieldStatic memberInfoTextStyleProperty
Identifies the InfoTextStyle dependency property.
Public fieldStatic memberInfoTextVerticalAlignmentProperty
Identifies the InfoTextVerticalAlignment dependency property.
Public fieldStatic memberPasswordProperty
Identifies the Password dependency property.
Top
Properties

  NameDescription
Public propertyInfoAppearance
Gets or sets a value which indicated when the info text in the background is shown.
Public propertyInfoText
Gets or sets the info text shown in the background.
Public propertyInfoTextFontStyle
Gets or sets the font style of the info text shown in the background.
Public propertyInfoTextForeground
Gets or sets the foreground color of the info text shown in the background.
Public propertyInfoTextHorizontalAlignment
Gets or sets the horizontal alignment of the info text shown in the background.
Public propertyInfoTextMargin
Gets or sets the margin of the info text shown in the background.
Public propertyInfoTextStyle
Gets or sets the style of the info text shown in the background.
Public propertyInfoTextVerticalAlignment
Gets or sets the vertical alignment of the info text shown in the background
Public propertyPassword
Gets or sets the password typed in the text box.
Top
Examples

XAML
<WPFToolkit:EnhancedPasswordBox Password="{Binding Password}" InfoText="Required" InfoAppearance="OnEmpty" />
See Also

Reference