Share via


ChangePassword.PasswordHintStyle 屬性

定義

取得定義 Style 控制項上提示文字外觀之 ChangePassword 屬性集合的參考。

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 物件,包含 Style 屬性,此屬性定義包含在 PasswordHintText 屬性中提示文字的外觀。 預設為 null

屬性

備註

下表列出可使用 屬性進行自訂的 PasswordHintStyle 樣式設定。

設定 說明
BackColor 提示文字背後的色彩。 色彩可以是任何 Color 屬性。
BorderColor 提示文字周圍的框線色彩。 色彩可以是任何 Color 屬性。
BorderStyle 提示文字周圍的框線樣式。 此樣式可以是 「None」、「Dotted」、「Dashed」、「Solid」、「Double」、「Groove」、「Ridge」、「Inset」 或 「Outset」。 預設值為 「NotSet」。 除非值大於 2, BorderWidth 否則某些樣式不會清楚顯示。
BorderWidth 提示文字周圍的框線寬度。
CssClass 用來呈現提示文字的級聯樣式表單 (CSS) 類別。 如果指定其他設定,則會覆寫樣式表單設定。
Font-Bold true 以粗體類型顯示提示文字。
Font-Italic true 以斜體類型顯示提示文字。
Font-Names 字型臉部的名稱。
Font-Overline true 表示顯示提示文字,其上方有一行。
Font-Size 提示文字中文字的大小做為 FontUnit 物件。
Font-Strikeout true 以交叉顯示提示文字。
Font-Underline true 表示顯示具有底線的提示文字。
ForeColor 提示文字中的文字色彩。 色彩可以是任何 Color 屬性。
Height Unit 表示提示文字的高度。
Width Unit 表示提示文字的寬度。

適用於

另請參閱