Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxRibbonSkinSelector.OnAddSkin Event

Allows you to exclude certain skins from the list of available skins.

#Declaration

Delphi
property OnAddSkin: TdxRibbonSkinSelectorAddSkinEvent read; write;

#Remarks

You can handle the OnAddSkin event to exclude certain skins from the list of available skins.

#Event Occurrence

The OnAddSkin event occurs multiple times during a skin list population process – every time a new skin is about to be added to the list of skins available for selection.

LoadFromFile, LoadFromStream, Refresh, and Reset procedure calls initiate skin list population and raise a series of OnAddSkin event occurrences.

#Event Parameters

The ASkinName parameter allows you to identify the name of the skin that is about to be added to the Ribbon Skin Selector. You can assign False to the AAccepted parameter within an OnAddSkin event handler to prevent the current skin from being added to the list.

Refer to the TdxRibbonSkinSelectorAddSkinEvent procedural type description for detailed information on all parameters accessible within an OnAddSkin event handler.

See Also