Bearbeiten

Freigeben über


ThemeProvider.GetSkinsForControl(Type) Method

Definition

Gets an ICollection of skin identifiers that are associated with the specified Type.

public:
 System::Collections::ICollection ^ GetSkinsForControl(Type ^ type);
public System.Collections.ICollection GetSkinsForControl (Type type);
member this.GetSkinsForControl : Type -> System.Collections.ICollection
Public Function GetSkinsForControl (type As Type) As ICollection

Parameters

type
Type

A Type for which to retrieve any associated skin names.

Returns

An ICollection of skin identifiers, if control skins are defined for the specified Type. If no control skins are associated with the type, an empty ICollection is returned.

Remarks

The GetSkinsForControl method is used by designers to populate lists of control skin names. Designers use the list to bind to user interface (UI) elements or to display design properties for a given control type.

Applies to