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.LoadFromFile(string,string,string) Method

Loads one or multiple skins from a SKINRES file.

#Declaration

Delphi
procedure LoadFromFile(const AFileName: string; const ASkinName: string = ''; const APaletteName: string = '');

#Parameters

Name Type Description
AFileName string

The absolute or relative path to the source SKINRES file with one or multiple skins.

ASkinName string

Optional. The target skin name in the source file (AFileName).

If this parameter is omitted, the procedure loads all skins and corresponding vector skin palettes from the source file.

APaletteName string

Optional. The target palette name for the vector skin whose name is passed as the ASkinName parameter.

If this parameter is omitted, the procedure loads all palettes for the target vector skin from the source file (AFileName).

Note

This parameter is ignored if the target skin is bitmap-based.

#Remarks

Call the LoadFromFile procedure to clear the list of skins available in the Ribbon Skin Selector and repopulate it with skins from a SKINRES file. A LoadFromFile procedure call raises one OnAddSkin event per every loaded skin.

See Also