'Declaration Public Event DrawValueListItem As DrawValueListItemEventHandler
public event DrawValueListItemEventHandler DrawValueListItem
The event handler receives an argument of type DrawValueListItemEventArgs containing data related to this event. The following DrawValueListItemEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CheckBoxBounds | Returns a Rectangle which defines the area in which the item's text and image should be drawn |
DoDefaultDrawing | Gets/sets whether the ValueListItem is being custom drawn |
DrawItemEventArgs | The DrawItemEventArgs associated with this draw operation |
DrawParams | The UIElementDrawParams used to provide rendering information. |
ResolvedAppearance | Gets/sets the resolved Appearance that will be applied to the ValueListItem when it is custom drawn. |
TextAndImageAreaBounds | Returns a Rectangle which defines the area in which the item's text and image should be drawn. |
ValueListItem | The ValueListItem that will be drawn |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2