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

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

DataGrid.CaptionVisible プロパティ

グリッドのキャプションを表示するかどうかを示す値を取得または設定します。

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

Dim instance As DataGrid
Dim value As Boolean

value = instance.CaptionVisible

instance.CaptionVisible = value
public bool CaptionVisible { get;
 set; }
public:
property bool CaptionVisible {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_CaptionVisible ()

/** @property */
public void set_CaptionVisible (boolean value)
public function get CaptionVisible
 () : boolean

public function set CaptionVisible
 (value : boolean)

プロパティ値
キャプションを表示する場合は true。それ以外の場合は false。既定値は true です。

解説解説

CaptionVisible が false の場合、親行に戻るボタン、現在の子行のセットを表示/非表示にするボタン、およびキャプションは表示されません。移動が限定されるため、子テーブルへのリンクも表示されません。AllowNavigation は None に設定されます。

使用例使用例

CaptionVisible プロパティを切り替えるコード例を次に示します。

Private Sub ToggleCaptionVisible(ByVal
 myGrid As DataGrid)
    ' Toggle the CaptionVisibleProperty.
    myGrid.CaptionVisible = myGrid.CaptionVisible Xor True
 End Sub
 
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



DataGrid.CaptionVisible プロパティのページの著作権

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

©2026 GRAS Group, Inc.RSS