Skip to main content

TcxCustomEditViewInfo Class

A ViewInfo object that contains the essential information for painting an editor.

Declaration

TcxCustomEditViewInfo = class(
    TcxContainerViewInfo
)

Remarks

The information stored by this class includes:

  • The editor state – normal, active, disabled, or hot-tracked (ContainerState)
  • Data used to visualize validation errors in the editor (ErrorData)
  • Editor button settings (ButtonsInfo)
  • A number of attributes defining the background color, border color, border style, popup border style, shadow, and transparency states of the editor

The editor’s Paint method calls the DrawCustomEdit global procedure and passes a TcxCustomEditViewInfo object as a parameter. The DrawCustomEdit procedure then performs a sequence of drawing operations based on the TcxCustomEditViewInfo settings.

Inheritance

TObject
TcxContainerViewInfo
TcxCustomEditViewInfo
See Also