Back to Devexpress

TdxSkinIgnoredFormList.Remove(TClass,Boolean) Method

vcl-dxskinsform-dot-tdxskinignoredformlist-dot-remove-x28-system-dot-tclass-system-dot-boolean-x29.md

latest2.6 KB
Original Source

TdxSkinIgnoredFormList.Remove(TClass,Boolean) Method

Removes one or more form classes from the ignore list.

Declaration

delphi
class procedure Remove(AClass: TClass; AIncludeDescendants: Boolean = True);

Parameters

NameTypeDescription
AClassTClass

The reference to the target form class.

| | AIncludeDescendants | Boolean |

Optional. Specifies if the procedure removes all descendants of the target form class from the ignore list.

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

|

Remarks

Call the Remove class procedure to remove one or more form classes from the ignore list. You can call the Clear class procedure to remove all form classes from the ignore list.

Code Example: Remove Individual Form Classes from the Ignore List

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

delphi
uses
  dxSkinsForm; // Declares the TdxSkinIgnoredFormList class
// ...

  TdxSkinIgnoredFormList.Remove(TMyFormClass1, False); // Removes TMyFormClass1 without descendants
  TdxSkinIgnoredFormList.Remove(TMyFormClass2, False); // Removes TMyFormClass2 without descendants
cpp
#include "dxSkinsForm.hpp" // Declares the TdxSkinIgnoredFormList class
// ...

  TdxSkinIgnoredFormList::Remove(__classid(TMyFormClass1), false); // Removes TMyFormClass1 without descendants
  TdxSkinIgnoredFormList::Remove(__classid(TMyFormClass2), false); // Removes TMyFormClass2 without descendants

Other Remove Methods

RemoveClassNameRemoves the specified form class name from the ignore list.RemoveQualifiedClassNameRemoves the specified qualified form class name from the ignore list. See Also

TdxSkinIgnoredFormList.Add Procedure

TdxSkinIgnoredFormList Class

TdxSkinIgnoredFormList Members

dxSkinsForm Unit