Back to Devexpress

dxSkinsUserSkinPopulateSkinNames(string,TStrings,Boolean) Method

vcl-dxskinsdefaultpainters-dot-dxskinsuserskinpopulateskinnames-x28-c58c4669-x29.md

latest2.5 KB
Original Source

dxSkinsUserSkinPopulateSkinNames(string,TStrings,Boolean) Method

Populates AList with skin names from a specified file or stream.

Declaration

delphi
function dxSkinsUserSkinPopulateSkinNames(const AFileName: string; AList: TStrings; ADisplayNames: Boolean = False): Boolean;

Parameters

NameType
AFileNamestring
AListTStrings
ADisplayNamesBoolean

Returns

Type
Boolean

Remarks

AStream specifies the source stream.

AFileName specifies the source file.

AList specifies the list that will be populated with skin names.

ADisplayNames specifies whether AList will be populated with either skin names or skin display names. Set ADisplayNames to True , to add display names to AList.

Display names cannot be used in the dxSkinsUserSkinLoadFromFile and dxSkinsUserSkinLoadFromStream functions, since they take skin names. In this case, use the dxSkinsUserSkinLoadFromFileByIndex and dxSkinsUserSkinLoadFromStreamByIndex functions instead.

See Also

dxSkinsDefaultPainters.dxSkinsLoadedUserSkinHasMissingElements

dxSkinsDefaultPainters.dxSkinsUserSkinLoadFromFile

dxSkinsDefaultPainters.dxSkinsUserSkinLoadFromFileByIndex

dxSkinsDefaultPainters.dxSkinsUserSkinLoadFromStream

dxSkinsDefaultPainters.dxSkinsUserSkinLoadFromStreamByIndex

How to Use Skin Display Names in the Application

Skin Editor UI

dxSkinsDefaultPainters Unit