ThemeableAttribute.IsObjectThemeable(Object) Method

Definition

Returns a value indicating whether the object passed to the method supports themes.

public:
 static bool IsObjectThemeable(System::Object ^ instance);
public static bool IsObjectThemeable (object instance);
static member IsObjectThemeable : obj -> bool
Public Shared Function IsObjectThemeable (instance As Object) As Boolean

Parameters

instance
Object

The object to test for themes support.

Returns

true if the object supports themes and control skins; otherwise, false.

Exceptions

The instance parameter is null.

Applies to

See also