Skip to main content
All docs
V24.2

TdxSkinIgnoredFormList Class

Stores the list of ignored form classes for the DevExpress Skin Engine.

Declaration

TdxSkinIgnoredFormList = class(
    TObject
)

Remarks

The TdxSkinIgnoredFormList class maintains a global ignore list of the DevExpress Skin Engine. All skins and palettes have no effect on application forms whose classes are stored in this list. The ignore list is prepopulated with a number of form classes shipped with popular third-party VCL components.

Alternatively, you can handle the TdxSkinController.OnSkinForm event to prevent skins from being applied to individual forms.

Main API Members

The list below outlines key members of the TdxSkinIgnoredFormList class. These members allow you to manage the form ignore list of the TdxSkinController component.

Add | AddClassName | AddQualifiedClassName
Add new form classes to the ignore list.
Clear
Removes all form classes from the ignore list.
Remove | RemoveClassName | RemoveQualifiedClassName
Remove individual form classes from the ignore list.

Code Examples

Repopulate the Ignore Form List

The following code example clears the ignore list and repopulates it with two custom form classes without descendants:

uses
  dxSkinsForm;  // This unit declares the TdxSkinIgnoredFormList class
// ...

  TdxSkinIgnoredFormList.Clear;  // Clears the ignore list
  TdxSkinIgnoredFormList.Add(TMyFormClass1, False);  // Adds TMyFormClass1 without descendants
  TdxSkinIgnoredFormList.Add(TMyFormClass2, False);  // Adds TMyFormClass2 without descendants

Remove Individual Form Classes

The following code example removes two custom form classes from the ignore list:

uses
  dxSkinsForm;  // This unit declares the TdxSkinIgnoredFormList class
// ...

  TdxSkinIgnoredFormList.Remove(TMyFormClass1, False);  // Removes TMyFormClass1 without descendants
  TdxSkinIgnoredFormList.Remove(TMyFormClass2, False);  // Removes TMyFormClass2 without descendants

Inheritance

TObject
TdxSkinIgnoredFormList
See Also