Back to Devexpress

TcxHintStyle Class

vcl-cxhint-83ab506d.md

latest4.1 KB
Original Source

TcxHintStyle Class

Stores hint style settings.

Declaration

delphi
TcxHintStyle = class(
    TcxCustomHintStyle,
    IcxHint
)

Remarks

The TcxHintStyle class implements appearance settings for advanced hints that the TcxHintStyleController component allows you to display.

Main API Members

The list below outlines key members of the TcxHintStyle class. These members allow you to configure appearance and behavior settings of all advanced hints in the application.

Appearance Settings

BorderColor | ColorSpecify border and background colors for hints.CallOutPositionAllows you to display a callout beak for a hint and switch between available callout beak positions.CaptionFont | FontSpecify font settings for hints.IconType | IconSizeAllow you to display a predefined or custom icon in a hint and adjust icon size.Icon

Allows you to load a custom image and display it in a hint.

Tip

You can use any custom image or an icon from the DevExpress Icon Library.

Rounded | RoundRadiusEnable rounded corners for hints and allow you to adjust the radius of rounded corners.

Animation Settings

AnimateSpecifies if hint display animation is enabled.AnimationDelayAllows you to adjust animation speed.

General-Purpose API Members

AssignCopies settings between hint style controllers.BeginUpdate | EndUpdateAllow you to avoid excessive redraw operations during batch hint style setting changes.RestoreDefaultsResets all hint style settings to their default values.Standard

Specifies if the parent hint style controller decorates hints in the application. If this property is enabled, all hint style settings accessible through a TcxHintStyle object have no effect.

You can set this property to True or False ( default ) to switch between standard and advanced hints in the application.

Indirect TcxHintStyle Class Reference

The TcxCustomHintStyleController.HintStyle property references the TcxHintStyle as a TcxCustomHintStyle object if the hint style controller component’s HintStyleClassName property is set to 'TcxHintStyle'.

Tip

You need to cast the TcxCustomHintStyleController.HintStyle property value to the TcxHintStyle class to access all public API members when the hint controller uses the advanced hint style ( default ). Call the HintStyle.ClassType function to identify the actual hint style setting class.

Implements

IcxHint

Inheritance

TObject TPersistent TInterfacedPersistent TcxInterfacedPersistent TcxCustomHintStyle TcxHintStyle

See Also

TdxScreenTipStyle Class

TcxHintStyle Members

cxHint Unit