Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxFillOptions.OnChange Event

In This Article

Notifies the parent object about any fill setting change.

#Declaration

Delphi
property OnChange: TNotifyEvent read; write;

#Remarks

Warning

Do not handle the OnChange event of a TdxFillOptions class instance used as a part of a DevExpress component. DevExpress components handle the OnChange event to track area fill setting changes and redraw visual elements accordingly.

The OnChange event occurs every time one of the following properties changes its value outside a BeginUpdate/EndUpdate block:

Color
Specifies primary fill color.
Color2
Specifies secondary fill color.
GradientMode
Specifies gradient fill direction in Gradient mode.
HatchStyle
Specifies hatch pattern in Hatch fill mode.
Mode
Specifies the active fill mode.
Texture
Stores the image used to fill an area in Texture mode.

The EndUpdate procedure raises the OnChange event only once.

See Also