ThemeProvider.GetSkinsForControl Method (Type)

 

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
)

Parameters

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
Available since 2.0
Return to top
Show: