Property PaintRectangle
PaintRectangle
Gets the rectangle, in client coordinates, that defines the area available for painting the item's content, excluding any padding. This property uses the padding settings defined by the associated list control to determine the available painting area. ClientRectangle is used as the base rectangle from which the padding is applied.
public virtual RectD PaintRectangle { get; }
Property Value
Remarks
The returned rectangle accounts for the item's padding as determined by the associated list control. Use this property when performing custom drawing to ensure content is rendered within the correct bounds.