Skip to main content
All docs
V23.2

TdxSkinChooserGalleryPaletteChangedEvent Type

The procedural type for skin palette change events in a Skin Chooser component.

Declaration

TdxSkinChooserGalleryPaletteChangedEvent = procedure(Sender: TObject; const ASkinName: string; const APaletteName: string) of object;

Parameters

Name Type Description
Sender TObject

The Skin Chooser component that raised the skin change event.

To access all public API members of the Skin Chooser component, cast the Sender parameter value to one of the following classes depending on the actual component type:

TdxSkinChooserGalleryItem
A skin chooser gallery.
TdxRibbonSkinSelector
A Ribbon Skin Selector component.

Tip

To identify the actual Skin Chooser component type, you can call the Sender.ClassType function.

ASkinName string

The name of the active skin.

APaletteName string

The name of the new active palette.

Remarks

A skin palette change event occurs every time a user switches between palettes in a Skin Chooser component. You can use ASkinName and APaletteName parameters to identify current skin and new active palette names within a TdxSkinChooserGalleryPaletteChangedEvent handler.

Direct TdxSkinChooserGalleryPaletteChangedEvent Type Reference

The TdxRibbonSkinSelectorPaletteChangedEvent type references the TdxSkinChooserGalleryPaletteChangedEvent procedural type.

See Also