GridItemCollection.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a GridItem from the collection.
Overloads
Item[Int32] |
Gets the GridItem at the specified index. |
Item[String] |
Gets the GridItem with the matching label. |
Item[Int32]
Gets the GridItem at the specified index.
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
Parameters
- index
- Int32
The index of the grid item to return.
Property Value
The GridItem at the specified index.
Applies to
Item[String]
Gets the GridItem with the matching label.
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
Parameters
- label
- String
A string value to match to a grid item label.
Property Value
The grid item whose label matches the label
parameter.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.