DataGridViewColumnDesignTimeVisibleAttributeとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DataGridViewColumnDesignTimeVisibleAttributeの意味・解説 

DataGridViewColumnDesignTimeVisibleAttribute クラス

メモ : このクラスは、.NET Framework version 2.0 で新しく追加されたものです。

列の型が DataGridView デザイナに表示されるかどうかを指定します。このクラスは継承できません。

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

<AttributeUsageAttribute(AttributeTargets.Class)> _
Public NotInheritable Class
 DataGridViewColumnDesignTimeVisibleAttribute
    Inherits Attribute
Dim instance As DataGridViewColumnDesignTimeVisibleAttribute
[AttributeUsageAttribute(AttributeTargets.Class)] 
public sealed class DataGridViewColumnDesignTimeVisibleAttribute
 : Attribute
[AttributeUsageAttribute(AttributeTargets::Class)] 
public ref class DataGridViewColumnDesignTimeVisibleAttribute
 sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class) */ 
public final class DataGridViewColumnDesignTimeVisibleAttribute
 extends Attribute
AttributeUsageAttribute(AttributeTargets.Class) 
public final class DataGridViewColumnDesignTimeVisibleAttribute
 extends Attribute
解説解説

既定では、DataGridViewColumn から派生した型は、Visual Studio デザイナの DataGridView コントロール固有の部分に表示されますが、デザイナのその他の部分に表示されないようにするために、No の DesignTimeVisibleAttribute を継承します。これが必要な理由は、DataGridViewColumn 型が IComponent インターフェイスを実装しており、このインターフェイスでは通常、型のインスタンスがデザイナに表示されるためです。

DataGridViewColumn 型を DataGridView コントロール固有のデザイナに表示しないようにするには、この属性を使用します。

属性の使用方法については、「属性を使用したメタデータの拡張」を参照してください。

継承階層継承階層
System.Object
   System.Attribute
    System.Windows.Forms.DataGridViewColumnDesignTimeVisibleAttribute
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataGridViewColumnDesignTimeVisibleAttribute メンバ
System.Windows.Forms 名前空間
DataGridView クラス
DataGridViewColumn クラス

DataGridViewColumnDesignTimeVisibleAttribute コンストラクタ ()

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

既定の Visible プロパティ値 true を使用して、DataGridViewColumnDesignTimeVisibleAttribute クラスの新しいインスタンスを初期化します。

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

Dim instance As New DataGridViewColumnDesignTimeVisibleAttribute
public DataGridViewColumnDesignTimeVisibleAttribute ()
public:
DataGridViewColumnDesignTimeVisibleAttribute ()
public DataGridViewColumnDesignTimeVisibleAttribute ()
public function DataGridViewColumnDesignTimeVisibleAttribute
 ()
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataGridViewColumnDesignTimeVisibleAttribute クラス
DataGridViewColumnDesignTimeVisibleAttribute メンバ
System.Windows.Forms 名前空間
DataGridView クラス
DataGridViewColumn クラス

DataGridViewColumnDesignTimeVisibleAttribute コンストラクタ (Boolean)

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

Visible プロパティを初期化するために、指定した値を使用して、DataGridViewColumnDesignTimeVisibleAttribute クラスの新しいインスタンスを初期化します。

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

Dim visible As Boolean

Dim instance As New DataGridViewColumnDesignTimeVisibleAttribute(visible)
public DataGridViewColumnDesignTimeVisibleAttribute (
    bool visible
)
public:
DataGridViewColumnDesignTimeVisibleAttribute (
    bool visible
)
public DataGridViewColumnDesignTimeVisibleAttribute (
    boolean visible
)
public function DataGridViewColumnDesignTimeVisibleAttribute
 (
    visible : boolean
)

パラメータ

visible

Visible プロパティの値。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataGridViewColumnDesignTimeVisibleAttribute クラス
DataGridViewColumnDesignTimeVisibleAttribute メンバ
System.Windows.Forms 名前空間
DataGridView クラス
DataGridViewColumn クラス

DataGridViewColumnDesignTimeVisibleAttribute コンストラクタ

DataGridViewColumnDesignTimeVisibleAttribute クラスの新しいインスタンスを初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
DataGridViewColumnDesignTimeVisibleAttribute () 既定の Visible プロパティ値 true を使用して、DataGridViewColumnDesignTimeVisibleAttribute クラスの新しいインスタンスを初期化します。
DataGridViewColumnDesignTimeVisibleAttribute (Boolean) Visible プロパティを初期化するために、指定した値を使用して、DataGridViewColumnDesignTimeVisibleAttribute クラスの新しいインスタンスを初期化します。
参照参照

関連項目

DataGridViewColumnDesignTimeVisibleAttribute クラス
DataGridViewColumnDesignTimeVisibleAttribute メンバ
System.Windows.Forms 名前空間
DataGridView クラス
DataGridViewColumn クラス

DataGridViewColumnDesignTimeVisibleAttribute フィールド


パブリック フィールドパブリック フィールド

  名前 説明
パブリック フィールド Default 既定の DataGridViewColumnDesignTimeVisibleAttribute 値は Yes であり、列が DataGridView デザイナに表示されることを示します。
パブリック フィールド No 列が DataGridView デザイナに表示されないことを示す DataGridViewColumnDesignTimeVisibleAttribute 値。
パブリック フィールド Yes 列が DataGridView デザイナに表示されることを示す DataGridViewColumnDesignTimeVisibleAttribute 値。
参照参照

関連項目

DataGridViewColumnDesignTimeVisibleAttribute クラス
System.Windows.Forms 名前空間
DataGridView クラス
DataGridViewColumn クラス

DataGridViewColumnDesignTimeVisibleAttribute プロパティ


パブリック プロパティパブリック プロパティ

  名前 説明
パブリック プロパティ TypeId  派生クラスに実装されている場合は、この Attribute の一意の識別子を取得します。 ( Attribute から継承されます。)
パブリック プロパティ Visible 列の型が DataGridView デザイナに表示されるかどうかを示す値を取得します。
参照参照

関連項目

DataGridViewColumnDesignTimeVisibleAttribute クラス
System.Windows.Forms 名前空間
DataGridView クラス
DataGridViewColumn クラス

DataGridViewColumnDesignTimeVisibleAttribute メソッド


パブリック メソッドパブリック メソッド

( プロテクト メソッド も参照)
  名前 説明
パブリック メソッド Equals オーバーロードされます。 オーバーライドされます。 2 つの DataGridViewColumnDesignTimeVisibleAttribute インスタンスが等しいかどうかを判断します。
パブリック メソッド GetCustomAttribute  オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用された指定した型のカスタム属性を取得します。 ( Attribute から継承されます。)
パブリック メソッド GetCustomAttributes  オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されたカスタム属性の配列を取得します。 ( Attribute から継承されます。)
パブリック メソッド GetHashCode オーバーライドされます。  
パブリック メソッド GetType  現在のインスタンスの Type を取得します。 ( Object から継承されます。)
パブリック メソッド IsDefaultAttribute オーバーライドされます。 この属性インスタンスが Default 属性値と等しいかどうかを示す値を取得します。
パブリック メソッド IsDefined  オーバーロードされます。 指定した型のカスタム属性が、アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されているかどうかを判断します。 ( Attribute から継承されます。)
パブリック メソッド Match  派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 ( Attribute から継承されます。)
パブリック メソッド ReferenceEquals  指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。)
パブリック メソッド ToString  現在の Object を表す String を返します。 ( Object から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

DataGridViewColumnDesignTimeVisibleAttribute クラス
System.Windows.Forms 名前空間
DataGridView クラス
DataGridViewColumn クラス

DataGridViewColumnDesignTimeVisibleAttribute メンバ

列の型が DataGridView デザイナに表示されるかどうかを指定します。このクラスは継承できません。

DataGridViewColumnDesignTimeVisibleAttribute データ型で公開されるメンバを以下の表に示します。


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド DataGridViewColumnDesignTimeVisibleAttribute オーバーロードされます。 DataGridViewColumnDesignTimeVisibleAttribute クラスの新しいインスタンスを初期化します。
パブリック フィールドパブリック フィールド
  名前 説明
パブリック フィールド Default 既定の DataGridViewColumnDesignTimeVisibleAttribute 値は Yes であり、列が DataGridView デザイナに表示されることを示します。
パブリック フィールド No 列が DataGridView デザイナに表示されないことを示す DataGridViewColumnDesignTimeVisibleAttribute 値。
パブリック フィールド Yes 列が DataGridView デザイナに表示されることを示す DataGridViewColumnDesignTimeVisibleAttribute 値。
パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ TypeId  派生クラスに実装されている場合は、この Attribute の一意の識別子を取得します。(Attribute から継承されます。)
パブリック プロパティ Visible 列の型が DataGridView デザイナに表示されるかどうかを示す値を取得します。
パブリック メソッドパブリック メソッド
( プロテクト メソッド も参照)
  名前 説明
パブリック メソッド Equals オーバーロードされます。 オーバーライドされます。 2 つの DataGridViewColumnDesignTimeVisibleAttribute インスタンスが等しいかどうかを判断します。
パブリック メソッド GetCustomAttribute  オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用された指定した型のカスタム属性を取得します。 (Attribute から継承されます。)
パブリック メソッド GetCustomAttributes  オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されたカスタム属性の配列を取得します。 (Attribute から継承されます。)
パブリック メソッド GetHashCode オーバーライドされます。  
パブリック メソッド GetType  現在のインスタンスの Type を取得します。 (Object から継承されます。)
パブリック メソッド IsDefaultAttribute オーバーライドされます。 この属性インスタンスが Default 属性値と等しいかどうかを示す値を取得します。
パブリック メソッド IsDefined  オーバーロードされます。 指定した型のカスタム属性が、アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されているかどうかを判断します。 (Attribute から継承されます。)
パブリック メソッド Match  派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 (Attribute から継承されます。)
パブリック メソッド ReferenceEquals  指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。)
パブリック メソッド ToString  現在の Object を表す String を返します。 (Object から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

DataGridViewColumnDesignTimeVisibleAttribute クラス
System.Windows.Forms 名前空間
DataGridView クラス
DataGridViewColumn クラス



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「DataGridViewColumnDesignTimeVisibleAttribute」の関連用語

DataGridViewColumnDesignTimeVisibleAttributeのお隣キーワード
検索ランキング

   

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



DataGridViewColumnDesignTimeVisibleAttributeのページの著作権

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

©2026 GRAS Group, Inc.RSS