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

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

DataGrid.CaptionText プロパティ

グリッドウィンドウ キャプションテキスト取得または設定します

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

<LocalizableAttribute(True)> _
Public Property CaptionText As
 String
Dim instance As DataGrid
Dim value As String

value = instance.CaptionText

instance.CaptionText = value
[LocalizableAttribute(true)] 
public string CaptionText { get;
 set; }
[LocalizableAttribute(true)] 
public:
property String^ CaptionText {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_CaptionText ()

/** @property */
public void set_CaptionText (String value)
public function get CaptionText
 () : String

public function set CaptionText
 (value : String)

プロパティ
グリッドウィンドウ キャプションとして表示される文字列既定値空の文字列 ("") です。

使用例使用例

System.Windows.Forms.DataGrid のキャプション設定するコード例次に示します

If DataGrid1.CaptionText = "" Then
    DataGrid1.CaptionText = "Microsoft DataGrid"
End If

if(dataGrid1.CaptionText == "")
dataGrid1.CaptionText = "Microsoft DataGrid";

if ( dataGrid1->CaptionText == "" )
{
   dataGrid1->CaptionText = "Microsoft DataGrid";
}      
if (dataGrid1.get_CaptionText().Equals("")) {
    dataGrid1.set_CaptionText("Microsoft DataGrid");
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataGrid クラス
DataGrid メンバ
System.Windows.Forms 名前空間
CaptionVisible
DataGrid.CaptionForeColor プロパティ
DataGrid.CaptionFont プロパティ
DataGrid.CaptionBackColor プロパティ


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

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS