TdxRibbonSkinSelector.OnAddSkin Event
Allows you to exclude certain skins from the list of available skins.
Declaration
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.