DataGrid.ColumnFromDisplayIndex(Int32) Method
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 the DataGridColumn at the specified index.
public:
System::Windows::Controls::DataGridColumn ^ ColumnFromDisplayIndex(int displayIndex);
public System.Windows.Controls.DataGridColumn ColumnFromDisplayIndex (int displayIndex);
member this.ColumnFromDisplayIndex : int -> System.Windows.Controls.DataGridColumn
Public Function ColumnFromDisplayIndex (displayIndex As Integer) As DataGridColumn
Parameters
- displayIndex
- Int32
The zero-based index of the column to retrieve.
Returns
The DataGridColumn at the specified DisplayIndex.
Exceptions
displayIndex
is less than 0, or greater than or equal to the number of columns.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.