Skip to main content
A newer version of this page is available. .

RepositoryItemColorPickEdit.TooltipShowing Event

Allows you to customize tooltips displayed when hovering over colors in the Custom and Web-Safe palettes.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[DXCategory("Events")]
public event EventHandler<ColorPickEditTooltipShowingEventArgs> TooltipShowing

Event Data

The TooltipShowing event's data class is ColorPickEditTooltipShowingEventArgs. The following properties provide information specific to this event:

Property Description
Color Gets the color for which a tooltip will be displayed.
ContentText Gets or sets the content for the current tooltip.
Format Gets the display format of the current color’s value displayed in the tooltip.
TitleText Gets or sets the title for the current tooltip.

Remarks

Tooltips are displayed when you hover over colors in the Custom and Web-Safe palettes (see RepositoryItemColorEdit.ShowCustomColors and RepositoryItemColorPickEdit.ShowWebSafeColors topics):

ColorPickEdit_Tooltip

A tooltip displays the value of the hovered color in the format specified by the RepositoryItemColorPickEdit.TooltipFormat property. In addition, if you hover over a known color, the tooltip will contain a title specifying the color’s name (painted bold in the image above).

You can handle the TooltipShowing event to customize tooltips by specifying a custom title and content text via the ColorPickEditTooltipShowingEventArgs.TitleText and ColorPickEditTooltipShowingEventArgs.ContentText event parameters.

See Also