[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TCustomDrawState

TCustomDrawState - set of TCustomDrawStateFlag.

## Declaration

Source position: comctrls.pp line 962

`type TCustomDrawState = set of (`
`cdsSelected,` |  | Control is drawn using the selected style.
`cdsGrayed,` |  | Control is drawn using the grayed or unselected style.
`cdsDisabled,` |  | Control is drawn using the disabled style.
`cdsChecked,` |  | Control is drawn using the checked style.
`cdsFocused,` |  | Control is drawn using the focused style.
`cdsDefault,` |  | Control is drawn using the default style.
`cdsHot,` |  | Control is drawn using the hot tracking style.
`cdsMarked,` |  | Control is drawn using the marked (multi-selected) style.
`cdsIndeterminate` |  | Control is drawn using the indeterminate state style.
`);`

## Description

TCustomDrawState determines how a item will be drawn.

## See also

TCustomDrawStateFlag |  | TCustomDrawStateFlag - series of flags to define the DrawState.
TLVCustomDrawItemEvent |  | Specifies an event handler signalled to custom draw an item on a list view control.
TLVCustomDrawSubItemEvent |  | Specifies an event handler signalled to draw the SubItem value for a list item on a list view control.
TLVAdvancedCustomDrawItemEvent |  | Specifies an event handler signalled to perform advanced custom drawing for a list view item with stage and state information.
TLVAdvancedCustomDrawSubItemEvent |  | Specifies an event handler signalled to perform advancing drawing for a list view sub-item with stage and state information.
TTVCustomDrawItemEvent |  | TTVCustomDrawItemEvent - generic event handling method for Tree View Item custom drawing.
TTVAdvancedCustomDrawItemEvent |  | TTVAdvancedCustomDrawItemEvent - generic event handler method for Tree View Item advanced custom drawing.