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]
- Source:
- GridItemCollection.cs
- Source:
- GridItemCollection.cs
- Source:
- GridItemCollection.cs
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]
- Source:
- GridItemCollection.cs
- Source:
- GridItemCollection.cs
- Source:
- GridItemCollection.cs
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.