Skip to main content
A newer version of this page is available. .
All docs
V22.2

PasswordBoxEdit.ShowNullTextIfFocused Property

Gets or sets whether the NullText is displayed when users focus a PasswordBoxEdit. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v22.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool ShowNullTextIfFocused { get; set; }

Property Value

Type Description
Boolean

true if the NullText is displayed when users focus a PasswordBoxEdit, otherwise, false.

Remarks

<Window ...
    xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
    <StackPanel>
        <dxe:PasswordBoxEdit ShowNullTextIfFocused="True" NullText="Enter Password"/>
    </StackPanel>
</Window>

WPF PasswordBoxEdit - Show Null Text If Focused

See Also