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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.