TdxBadgeViewInfo Class
Stores the ViewInfo information for painting badge UI adorners.
Declaration
TdxBadgeViewInfo = class(
TdxCustomAdornerViewInfo
)
Remarks
This class provides the following members that allow you to:
- Access the currently painted badge and its UI adorner manager (Adorner and Manager).
- Obtain the badge’s bounding rectangle (Bounds).
- Paint the badge on the specified canvas (Paint).
- Obtain the badge’s background color (Color).
- Obtain the badge’s text dimensions and formatting flags (TextAreaBounds, TextSize, and TextFlags).
The TdxAdornerCustomDrawEvent procedural type’s AViewInfo
parameter references a TdxBadgeViewInfo
object as the TdxCustomAdornerViewInfo class. To access the badge’s ViewInfo information within a custom draw event handler, cast a TdxCustomAdornerViewInfo object to the TdxBadgeViewInfo
class.
Inheritance
See Also