Skip to main content
All docs
V24.2

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

TdxSkinIgnoredFormList.Add(TClass,Boolean) Method

Adds one or more form classes to the ignore list.

#Declaration

Delphi
class procedure Add(AClass: TClass; AIncludeDescendants: Boolean = True);

#Parameters

Name Type Description
AClass TClass

The reference to the target form class.

AIncludeDescendants Boolean

Optional. Specifies if the procedure adds all descendants of the target form class to the ignore list.

Pass False as this parameter to add only the target form class (AClass) to the ignore list.

#Remarks

Call the Add class procedure to add one or more form classes to the ignore list.

#Code Example: Repopulate the Ignore List with Individual Form Classes

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

#Other Add Methods

AddClassName
Adds the specified form class name to the ignore list.
AddQualifiedClassName
Adds one or more qualified form class names to the ignore list.
See Also