Share via


PasswordBox.IsPasswordRevealButtonEnabled Eigenschaft

Definition

Diese Eigenschaft wird ignoriert. Verwenden Sie stattdessen PasswordRevealMode .

public:
 property bool IsPasswordRevealButtonEnabled { bool get(); void set(bool value); };
/// [get: Windows.Foundation.Metadata.Deprecated("IsPasswordRevealButtonEnabledProperty may be altered or unavailable for releases after Windows 10.0. Instead, use PasswordRevealModeProperty.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("IsPasswordRevealButtonEnabledProperty may be altered or unavailable for releases after Windows 10.0. Instead, use PasswordRevealModeProperty.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")]
bool IsPasswordRevealButtonEnabled();

void IsPasswordRevealButtonEnabled(bool value);
public bool IsPasswordRevealButtonEnabled { [Windows.Foundation.Metadata.Deprecated("IsPasswordRevealButtonEnabledProperty may be altered or unavailable for releases after Windows 10.0. Instead, use PasswordRevealModeProperty.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")] get; [Windows.Foundation.Metadata.Deprecated("IsPasswordRevealButtonEnabledProperty may be altered or unavailable for releases after Windows 10.0. Instead, use PasswordRevealModeProperty.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")] set; }
var boolean = passwordBox.isPasswordRevealButtonEnabled;
passwordBox.isPasswordRevealButtonEnabled = boolean;
Public Property IsPasswordRevealButtonEnabled As Boolean
<PasswordBox IsPasswordRevealButtonEnabled="bool" />

Eigenschaftswert

Boolean

bool

true , um eine Schaltfläche zum Anzeigen des Kennworts anzuzeigen; false , um keine Schaltfläche zum Anzeigen eines Kennworts anzuzeigen. Der Standardwert lautet false.

Attribute

Hinweise

Wichtig

PasswordRevealMode ersetzt, IsPasswordRevealButtonEnabled um Ihnen mehr Optionen zu bieten, wie der Benutzer sein Kennwort anzeigen kann. Die IsPasswordRevealButtonEnabled-Eigenschaft wird ignoriert.

Gilt für: