Skip to main content

TdxRibbonSkinSelectorPaletteChangedEvent Type

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

Declaration

TdxRibbonSkinSelectorPaletteChangedEvent = procedure(Sender: TObject; const AArgs: TdxRibbonSkinSelectorPaletteChangedArgs) of object;

Parameters

Name Type Description
Sender TObject

The Skin Chooser component that raised the palette 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.

AArgs TdxRibbonSkinSelectorPaletteChangedArgs

Remarks

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

To access all public API members of the Ribbon Skin Selector that raised the current palette change event, cast the Sender parameter value to the TdxRibbonSkinSelector class.

Direct TdxRibbonSkinSelectorPaletteChangedEvent Type Reference

A TdxRibbonSkinSelector component’s OnPaletteChanged event references the TdxRibbonSkinSelectorPaletteChangedEvent procedural type.

See Also