GridViewColumnCollection.SetItem(Int32, GridViewColumn) 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.
Replaces the GridViewColumn that is at the specified index with another GridViewColumn.
protected:
override void SetItem(int index, System::Windows::Controls::GridViewColumn ^ column);
protected override void SetItem (int index, System.Windows.Controls.GridViewColumn column);
override this.SetItem : int * System.Windows.Controls.GridViewColumn -> unit
Protected Overrides Sub SetItem (index As Integer, column As GridViewColumn)
Parameters
- index
- Int32
The position at which the new GridViewColumn replaces the old GridViewColumn.
- column
- GridViewColumn
The GridViewColumn to place at the specified position.
Remarks
This method replaces a column in the GridViewColumnCollection with a new column. To insert a new column without replacing another column, use the InsertItem method.
Applies to
See also
Обратна връзка
https://aka.ms/ContentUserFeedback.
Очаквайте скоро: През цялата 2024 г. постепенно ще отстраняваме проблемите в GitHub като механизъм за обратна връзка за съдържание и ще го заменим с нова система за обратна връзка. За повече информация вижте:Подаване и преглед на обратна връзка за