Export (0) Print
Expand All

ThemeProvider.GetSkinsForControl Method

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

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public ICollection GetSkinsForControl(
	Type type


Type: System.Type

A Type for which to retrieve any associated skin names.

Return Value

Type: System.Collections.ICollection
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.

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.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft