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
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.