PasswordBox.IsPasswordRevealButtonEnabled プロパティ

定義

このプロパティは無視されます。 代わりに 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" />

プロパティ値

Boolean

bool

true パスワード表示ボタンを表示する場合は 。 false パスワード表示ボタンを表示しない場合は 。 既定では、 falseです。

属性

注釈

重要

PasswordRevealMode が 置き換えられ IsPasswordRevealButtonEnabled 、ユーザーが自分のパスワードを表示する方法に関するより多くのオプションが提供されます。 IsPasswordRevealButtonEnabled プロパティは無視されます。

適用対象