TextBox.UseSystemPasswordChar 속성

정의

TextBox 컨트롤의 텍스트를 기본 암호 문자로 표시할지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool UseSystemPasswordChar { bool get(); void set(bool value); };
public bool UseSystemPasswordChar { get; set; }
member this.UseSystemPasswordChar : bool with get, set
Public Property UseSystemPasswordChar As Boolean

속성 값

Boolean

TextBox 컨트롤의 텍스트를 기본 암호 문자로 표시하면 true이고, 그렇지 않으면 false입니다.

설명

속성 UseSystemPasswordChar 이 속성보다 우선합니다 PasswordChar . 설정trueUseSystemPasswordChar 때마다 기본 시스템 암호 문자가 사용되고 설정된 PasswordChar 문자는 무시됩니다.

중요

TextBox 암호 모드에 있는 경우 , UseSystemPasswordChar또는 ReadOnly 암호가 제한된 모드에 있기 때문PasswordChar입니다trueTextBox. 이 모드에서는 비활성화 ImeMode 되지만 현재 ImeMode 는 캐시되므로 제한되지 않는 경우 TextBox 복원할 수 있습니다. 이 설정은 ReadOnly 일반적인 시나리오입니다. ImeMode 컨트롤이 제한된 모드에 있는 동안에는 그림자가 표시됩니다. 디자이너 관점에서 ImeMode 표시된 값은 실제 값입니다.

적용 대상

추가 정보