Skip to main content
All docs
V24.1

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.v24.1.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