次の方法で共有


GridItem.Label プロパティ

派生クラスでオーバーライドされた場合、 GridItem のテキストを取得します。

Public MustOverride ReadOnly Property Label As String
[C#]
public abstract string Label {get;}
[C++]
public: __property virtual String* get_Label() = 0;
[JScript]
public abstract function get Label() : String;

プロパティ値

GridItem に関連付けられているテキストを表す String

解説

このクラスは、グリッドの左側の列に表示されるテキストを取得します。取得したテキストは、 GridItem で表されるプロパティの実際のプロパティ名と異なる場合があります。 GridItemType.Property 型の GridItem の名前を取得するには、 PropertyDescriptor を取得して、その Name プロパティをチェックします。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

GridItem クラス | GridItem メンバ | System.Windows.Forms 名前空間 | PropertyDescriptor