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

Loads one or multiple skins from a stream.

#Declaration

Delphi
procedure LoadFromStream(AStream: TStream; const ASkinName: string = ''; const APaletteName: string = '');

#Parameters

Name Type Description
AStream TStream

The source stream with one or multiple skins.

ASkinName string

Optional. The target skin name in the source stream passed as the AStream parameter.

If this parameter is omitted, the procedure loads all skins and corresponding vector skin palettes from the source stream starting the current stream object’s position.

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.

Note

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

#Remarks

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

See Also