共用方式為


ChangePassword.TitleTextStyle 屬性

定義

取得定義 Style 控制項上標題外觀之 ChangePassword 屬性集合的參考。

public:
 property System::Web::UI::WebControls::TableItemStyle ^ TitleTextStyle { System::Web::UI::WebControls::TableItemStyle ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.WebControls.TableItemStyle TitleTextStyle { get; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.TitleTextStyle : System.Web.UI.WebControls.TableItemStyle
Public ReadOnly Property TitleTextStyle As TableItemStyle

屬性值

TableItemStyle

TableItemStyle 物件,包含 Style 屬性,此屬性定義 ChangePassword 控制項上錯誤訊息標題的外觀。 預設為 null

屬性

備註

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

設定 說明
BackColor 標題背後的色彩。 色彩可以是任何 Color 屬性。
BorderColor 標題周圍的框線色彩。 色彩可以是任何 Color 屬性。
BorderStyle 標題周圍的框線樣式。 樣式可以是 "None" 、、、 "Dashed""Groove" "Double" "Solid""Ridge" 、、 "Inset" 或 。 "Outset" "Dotted" 預設為 "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 表示標題的寬度。

適用於

另請參閱