Xceed Toolkit Plus for WPF v4.6 Documentation
WatermarkPasswordBox Class
Members 


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace : WatermarkPasswordBox Class
The WatermarkPasswordBox is a PasswordBox where you can enter a secure password and display a watermark when the password is not defined.
Syntax
'Declaration
 
<LocalizabilityAttribute(LocalizationCategory.Text)>
<ContentPropertyAttribute("Text")>
<TemplatePartAttribute(Name="PART_ContentHost", Type=System.Windows.FrameworkElement)>
<StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>
<XmlLangPropertyAttribute("Language")>
<UsableDuringInitializationAttribute(True)>
<RuntimeNamePropertyAttribute("Name")>
<UidPropertyAttribute("Uid")>
<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
Public Class WatermarkPasswordBox 
   Inherits WatermarkTextBox
'Usage
 
Dim instance As WatermarkPasswordBox
[Localizability(LocalizationCategory.Text)]
[ContentProperty("Text")]
[TemplatePart(Name="PART_ContentHost", Type=System.Windows.FrameworkElement)]
[StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class WatermarkPasswordBox : WatermarkTextBox 
Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     System.Windows.Controls.Primitives.TextBoxBase
                        System.Windows.Controls.TextBox
                           Xceed.Wpf.Toolkit.AutoSelectTextBox
                              Xceed.Wpf.Toolkit.WatermarkTextBox
                                 Xceed.Wpf.Toolkit.WatermarkPasswordBox
                                    Xceed.Wpf.Toolkit.PropertyGrid.Editors.PropertyGridEditorWatermarkPasswordBox

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WatermarkPasswordBox Members
Xceed.Wpf.Toolkit Namespace