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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET