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
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про