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

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

DataGridViewCell.InheritedStyle プロパティ

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

セルに現在適用されているスタイルを取得します。

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

Public ReadOnly Property
 InheritedStyle As DataGridViewCellStyle
Dim instance As DataGridViewCell
Dim value As DataGridViewCellStyle

value = instance.InheritedStyle
public DataGridViewCellStyle InheritedStyle { get;
 }
public:
property DataGridViewCellStyle^ InheritedStyle {
    DataGridViewCellStyle^ get ();
}
/** @property */
public DataGridViewCellStyle get_InheritedStyle ()
public function get InheritedStyle
 () : DataGridViewCellStyle

プロパティ値
セルに現在適用されている DataGridViewCellStyle。

例外例外
例外の種類条件

InvalidOperationException

セルが DataGridView コントロールに属していません。

または

ColumnIndex が 0 未満です。これは、セルが行ヘッダーのセルであることを示します。

ArgumentOutOfRangeException

セルを含む行が共有行です。

または

セルが列ヘッダーのセルです。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataGridViewCell クラス
DataGridViewCell メンバ
System.Windows.Forms 名前空間
DataGridView クラス
AdjustCellBorderStyle
GetInheritedStyle
DataGridViewCell.HasStyle プロパティ
Style
DataGridView クラス
DataGridViewRow
DataGridViewColumn
DataGridView.DefaultCellStyle プロパティ



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「DataGridViewCell.InheritedStyle プロパティ」の関連用語

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

   

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



DataGridViewCell.InheritedStyle プロパティのページの著作権

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

©2026 GRAS Group, Inc.RSS