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

dxSkinsUserSkinLoadFromStream(TStream,string) Method

Loads a skin from a specified stream.

#Declaration

Delphi
function dxSkinsUserSkinLoadFromStream(AStream: TStream; const ASkinName: string = ''): Boolean;

#Parameters

Name Type
AStream TStream
ASkinName string

#Returns

Type
Boolean

#Remarks

If the skin controller’s SkinName property is set to ‘UserSkin’, you need to provide a skin to be applied by this skin controller. To accomplish this, call the dxSkinsUserSkinLoadFromStream or dxSkinsUserSkinLoadFromStreamByIndex function to load a skin from a stream containing skin data (such as .SKINRES files saved in the Skin Editor).

The AStream parameter specifies the source stream. By default, the function loads the first skin stored within this stream. You can specify which particular skin should be loaded by passing its name as the ASkinName parameter.

The dxSkinsUserSkinLoadFromStream function returns False, if the specified skin doesn’t exist or cannot be loaded.

To load a skin from a file, call the dxSkinsUserSkinLoadFromFile or dxSkinsUserSkinLoadFromFileByIndex function.

See Also