PasswordRecovery.SuccessTextStyle プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > PasswordRecovery.SuccessTextStyle プロパティの意味・解説 

PasswordRecovery.SuccessTextStyle プロパティ

メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。

PasswordRecovery コントロールの正常に完了ビューに表示するテキストの外観を定義するスタイル プロパティのコレクションへの参照を取得します。

名前空間: System.Web.UI.WebControls
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public ReadOnly Property
 SuccessTextStyle As TableItemStyle
Dim instance As PasswordRecovery
Dim value As TableItemStyle

value = instance.SuccessTextStyle
public TableItemStyle SuccessTextStyle { get;
 }
public:
property TableItemStyle^ SuccessTextStyle {
    TableItemStyle^ get ();
}
/** @property */
public TableItemStyle get_SuccessTextStyle ()
public function get SuccessTextStyle
 () : TableItemStyle

プロパティ値
正常に完了ビューに表示するテキストの外観を定義するプロパティを格納している TableItemStyle への参照。

解説解説

SuccessTextStyle プロパティは、PasswordRecovery コントロールの正常に完了ビューのテキストの外観を定義します。このプロパティは読み取り専用です。ただし、このプロパティが返す Style オブジェクトのプロパティを設定することはできます。これらのプロパティは、Property-Subproperty の形式で、宣言によって設定できます。ここで、Subproperty は Style クラスのプロパティを表します (例 : SuccessTextStyle-ForeColor)。Property.Subproperty の形式でプロパティをプログラムによって設定することもできます (例 : SuccessTextStyle.ForeColor)。

共通設定には、カスタムの背景色、テキストの色、およびフォントのプロパティが含まれます。

SuccessTextStyle プロパティのスタイル設定は、PasswordRecovery コントロールのスタイル設定とマージされます。SuccessTextStyle プロパティで行われた設定は、PasswordRecovery コントロールのプロパティの対応する設定をオーバーライドします。

PasswordRecovery の次のプロパティは、SuccessTextStyle 設定によってオーバーライドされます。

テンプレートを使用して PasswordRecovery コントロールの正常に完了ビューの外観を定義した場合、SuccessTextStyle プロパティは無効になります。

使用例使用例

SuccessTextStyle プロパティを使用して、SuccessText プロパティの外観を変更するコード例を次に示します。

<%@ page language="VB" %>

<script runat="server">

</script>

<html>
<body>
<form runat="server">
    <asp:passwordrecovery id="PasswordRecovery1"
 runat="server" 
        successtext="Your password has been sent to the e-mail
 address in our files.">
        <successtextstyle font-names="Arial" forecolor="Green"></successtextstyle>
    </asp:passwordrecovery>

</form>
</body>
</html>
<%@ page language="VB" %>

<script runat="server">

</script>

<html>
<body>
<form runat="server">
    <asp:passwordrecovery id="PasswordRecovery1" runat="server"
 
        successtext="Your password has been sent to the e-mail address in
 our files.">
        <successtextstyle font-names="Arial" forecolor="Green"></successtextstyle>
    </asp:passwordrecovery>

</form>
</body>
</html>
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
PasswordRecovery クラス
PasswordRecovery メンバ
System.Web.UI.WebControls 名前空間
PasswordRecovery.SuccessTextStyle プロパティ
Style
その他の技術情報
ASP.NET ログイン コントロールの概要



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

PasswordRecovery.SuccessTextStyle プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



PasswordRecovery.SuccessTextStyle プロパティのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS