ListViewItem.ListViewSubItem.Bounds Property


Gets the bounding rectangle of the ListViewItem.ListViewSubItem.

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

public Rectangle Bounds { get; }

Property Value

Type: System.Drawing.Rectangle

The bounding Rectangle of the ListViewItem.ListViewSubItem.

If the ListViewItem.ListViewSubItem has not been added to a ListViewItem or the owning ListViewItem has not been added to a ListView, the Bounds property returns an empty Rectangle.

.NET Framework
Available since 2.0
Return to top