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

TdxGPCustomBrush.IsEmpty Property

Indicates if the brush is visible.

#Declaration

Delphi
property IsEmpty: Boolean read;

#Property Value

Type
Boolean

#Remarks

The IsEmpty property returns True if at least one of the following conditions is met:

  • The created brush object’s properties have no assigned values.

  • The brush object’s property that corresponds to the selected draw mode is invalid (for instance, the brush painting mode is set to gpbsSolid if the Color property is unassigned.

  • The brush draw mode is set to gpbsClear.

Otherwise, the IsEmpty property returns False.

Note

When the IsEmpty property returns False, the brush can be invisible due to painting settings. For instance, the brush can be filled with the solid color whose alpha is set to 0.

See Also