GridItemCollection.Item[] Vlastnost

Definice

GridItem Získá z kolekce.

Přetížení

Item[Int32]

Získá hodnotu GridItem v zadaném indexu.

Item[String]

GridItem Získá s odpovídajícím popiskem.

Item[Int32]

Získá hodnotu GridItem v zadaném indexu.

public:
 property System::Windows::Forms::GridItem ^ default[int] { System::Windows::Forms::GridItem ^ get(int index); };
public System.Windows.Forms.GridItem this[int index] { get; }
member this.Item(int) : System.Windows.Forms.GridItem
Default Public ReadOnly Property Item(index As Integer) As GridItem

Parametry

index
Int32

Index položky mřížky, která se má vrátit.

Hodnota vlastnosti

GridItem

V GridItem zadaném indexu.

Platí pro

Item[String]

GridItem Získá s odpovídajícím popiskem.

public:
 property System::Windows::Forms::GridItem ^ default[System::String ^] { System::Windows::Forms::GridItem ^ get(System::String ^ label); };
public System.Windows.Forms.GridItem this[string label] { get; }
public System.Windows.Forms.GridItem? this[string label] { get; }
member this.Item(string) : System.Windows.Forms.GridItem
Default Public ReadOnly Property Item(label As String) As GridItem

Parametry

label
String

Řetězcová hodnota, která se má shodovat s popiskem položky mřížky.

Hodnota vlastnosti

GridItem

Položka mřížky, jejíž popisek odpovídá parametru label .

Platí pro