Back to Devexpress

TdxSkinController.GetFormSkin(TCustomForm,string) Method

vcl-dxskinsform-dot-tdxskincontroller-dot-getformskin-x28-vcl-dot-forms-dot-tcustomform-system-dot-string-x29.md

latest1.3 KB
Original Source

TdxSkinController.GetFormSkin(TCustomForm,string) Method

Identifies if a skin is applied to the specified form.

Declaration

delphi
class function GetFormSkin(AForm: TCustomForm; var ASkinName: string): Boolean;

Parameters

NameTypeDescription
AFormTCustomForm

The target form.

| | ASkinName | string |

Returns the name of the skin applied to the form passed as the AForm parameter.

This parameter returns an empty string if the target form has no built-in or custom DevExpress skin applied.

|

Returns

TypeDescription
Boolean

True if a built-in or custom DevExpress skin is applied to the target form (AForm); otherwise, False.

|

See Also

TdxSkinController.OnSkinForm Event

TdxSkinController Class

TdxSkinController Members

dxSkinsForm Unit