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

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

PanelContainerDesigner.FrameCaption プロパティ

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

関連付けられた Panel コントロール表示されるキャプション取得します

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

Public Overrides ReadOnly
 Property FrameCaption As String
Dim instance As PanelContainerDesigner
Dim value As String

value = instance.FrameCaption
public override string FrameCaption { get;
 }
/** @property */
public String get_FrameCaption ()

プロパティ
パネルキャプション指定する文字列

解説解説

FrameCaption プロパティは、関連付けられた Panel コントロールの GroupingText プロパティ返します

使用例使用例

PanelContainerDesigner クラスから継承したクラスFrameCaption プロパティオーバーライドして、Panel クラスから派生したコントロール外観デザイン時に変更するコード例次に示します。この例では、関連付けられたコントロールキャプション定義されていない場合に、既定キャプション提供します

' Provide a design-time caption for the panel.
Public Overrides ReadOnly
 Property FrameCaption() As String
    Get
        ' If the FrameCaption is empty, use the panel control ID.
        Dim localCaption As String
 = MyBase.FrameCaption
        If localCaption Is Nothing
 Or localCaption = "" Then
            localCaption = CType(Component, Panel).ID.ToString()
        End If

        Return localCaption
    End Get
End Property ' FrameCaption
// Provide a design-time caption for the panel.
public override string FrameCaption 
{
    get
    {
        // If the FrameCaption is empty, use the panel control ID.
        string localCaption = base.FrameCaption;
        if (localCaption == null || localCaption
 == "")
            localCaption = ((Panel)Component).ID.ToString();

        return localCaption;
    }
} // FrameCaption
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
PanelContainerDesigner クラス
PanelContainerDesigner メンバ
System.Web.UI.Design.WebControls 名前空間
GroupingText
Panel
その他の技術情報
ASP.NET コントロール デザイナ概要


このページでは「.NET Framework クラス ライブラリ リファレンス」からPanelContainerDesigner.FrameCaption プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からPanelContainerDesigner.FrameCaption プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からPanelContainerDesigner.FrameCaption プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

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

   

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



PanelContainerDesigner.FrameCaption プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS