DataGridViewColumnDesignTimeVisibleAttribute クラス

定義

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

public ref class DataGridViewColumnDesignTimeVisibleAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class DataGridViewColumnDesignTimeVisibleAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type DataGridViewColumnDesignTimeVisibleAttribute = class
    inherit Attribute
Public NotInheritable Class DataGridViewColumnDesignTimeVisibleAttribute
Inherits Attribute
継承
DataGridViewColumnDesignTimeVisibleAttribute
属性

注釈

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

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

属性の使用の詳細については、「 属性」を参照してください。

コンストラクター

DataGridViewColumnDesignTimeVisibleAttribute()

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

DataGridViewColumnDesignTimeVisibleAttribute(Boolean)

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

フィールド

Default

既定の DataGridViewColumnDesignTimeVisibleAttribute 値は Yes であり、列が DataGridView デザイナーに表示されることを示します。

No

列が DataGridViewColumnDesignTimeVisibleAttribute デザイナーに表示されないことを示す DataGridView 値。

Yes

列が DataGridViewColumnDesignTimeVisibleAttribute デザイナーに表示されることを示す DataGridView 値。

プロパティ

TypeId

派生クラスで実装されると、この Attribute の一意の識別子を取得します。

(継承元 Attribute)
Visible

列の型が DataGridView デザイナーに表示されるかどうかを示す値を取得します。

メソッド

Equals(Object)

このオブジェクトが指定されたオブジェクトと等しいかどうかを示す値を取得します。

GetHashCode()

このインスタンスのハッシュ コードを返します。

GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
IsDefaultAttribute()

この属性インスタンスが Default 属性値と等しいかどうかを示す値を取得します。

Match(Object)

派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。

(継承元 Attribute)
MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

明示的なインターフェイスの実装

_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

一連の名前を対応する一連のディスパッチ識別子に割り当てます。

(継承元 Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)

オブジェクトの型情報を取得します。この情報はインターフェイスの型情報の取得に使用できます。

(継承元 Attribute)
_Attribute.GetTypeInfoCount(UInt32)

オブジェクトが提供する型情報インターフェイスの数 (0 または 1) を取得します。

(継承元 Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

オブジェクトによって公開されたプロパティおよびメソッドへのアクセスを提供します。

(継承元 Attribute)

適用対象

こちらもご覧ください