CreateUserWizard.PasswordHintStyle 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个对属性集合的引用,这些属性用于定义描述密码要求的文本的外观。
public:
property System::Web::UI::WebControls::TableItemStyle ^ PasswordHintStyle { System::Web::UI::WebControls::TableItemStyle ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.WebControls.TableItemStyle PasswordHintStyle { get; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.PasswordHintStyle : System.Web.UI.WebControls.TableItemStyle
Public ReadOnly Property PasswordHintStyle As TableItemStyle
属性值
对 TableItemStyle 的引用,它包含一些属性,这些属性用于定义描述密码要求的文本的外观。
- 属性
注解
该 PasswordHintStyle 属性定义描述控件中 CreateUserWizard 密码要求的文本的外观。 此属性为只读;但是,可以设置它返回的对象的属性 TableItemStyle 。 可以在窗体 Property-Subproperty
中以声明方式设置这些属性,其中 Subproperty
表示类 (的属性 TableItemStyle , PasswordHintStyle-ForeColor
例如) 。 可以在窗体 Property.Subproperty
中以编程方式设置属性 (, PasswordHintStyle.ForeColor
例如) 。
该 PasswordHintStyle 属性定义属性的外观 PasswordHintText 。
属性的 PasswordHintStyle 样式设置与控件的 CreateUserWizard 样式设置合并。 属性中 PasswordHintStyle 应用的任何设置都覆盖控件属性 CreateUserWizard 中的相应设置。
CreateUserWizard以下样式属性由PasswordHintStyle设置重写:
但是,使用模板定义控件的外观 CreateUserWizard 时,该 PasswordHintStyle 属性不起作用。