Back to Devexpress

TdxRibbonSkinSelectorSkinChangedEvent Type

vcl-dxskinchoosergallery-5cfe3e6c.md

latest2.3 KB
Original Source

TdxRibbonSkinSelectorSkinChangedEvent Type

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

Declaration

delphi
TdxRibbonSkinSelectorSkinChangedEvent = procedure(Sender: TObject; const AArgs: TdxRibbonSkinSelectorSkinChangedArgs) of object;

Parameters

NameTypeDescription
SenderTObject

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:

TdxSkinChooserGalleryItemA skin chooser gallery.TdxRibbonSkinSelectorA Ribbon Skin Selector component.

Tip

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

| | AArgs | TdxRibbonSkinSelectorSkinChangedArgs | |

Remarks

A skin change event occurs every time a user switches between skins in a Ribbon Skin Selector component. You can use the ASkinName parameter to identify the new active skin within a TdxRibbonSkinSelectorSkinChangedEvent handler.

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

Direct TdxRibbonSkinSelectorSkinChangedEvent Type Reference

A TdxRibbonSkinSelector component’s OnSkinChanged event references the TdxRibbonSkinSelectorSkinChangedEvent procedural type.

See Also

TdxRibbonSkinSelectorPaletteChangedEvent Procedural Type

dxSkinChooserGallery Unit