System.Windows.Forms.ListViewItem.Position Property

Gets or sets the position of the upper-left corner of the System.Windows.Forms.ListViewItem.

Syntax

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public System.Drawing.Point Position { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ListViewItem.Position property should be set after the System.Windows.Forms.ListViewItem and containing System.Windows.Forms.ListView are constructed. Changing the ListViewItem.Position property when the containing System.Windows.Forms.ListView is in View.Details or View.List view will have no effect on the position of the items. Also, the ListViewItem.Position property will automatically change when the ListView.View property of the containing System.Windows.Forms.ListView is changed from View.SmallIcon, View.LargeIcon, or View.Tile view to View.List or View.Details. When the System.Windows.Forms.ListView is in View.SmallIcon, View.LargeIcon, or View.Tile view, setting the ListViewItem.Position property for an item will cause the other items contained in the System.Windows.Forms.ListView to be rearranged.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0