Gets or sets the position of the upper-left corner of the ListViewItem.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The ListViewItem and containing ListView are constructed. Changing the property when the containing ListView is in Details or List view will have no effect on the position of the items. Also, the property will automatically change when the View property of the containing ListView is changed from SmallIcon, LargeIcon, or Tile view to List or Details. When the ListView is in SmallIcon, LargeIcon, or Tile view, setting the property for an item will cause the other items contained in the ListView to be rearranged.property should be set after the
The following code example demonstrates how to use the ListViewItem. To run this example, paste the following code into a Windows Form and call the InitializePositionedListViewItems from the form's Load event-handling method. Click the button to see the items repositioned.property of a
Available since 2.0