GetStyleAttributes Method

Style.GetStyleAttributes Method (IUrlResolutionService)

 

Retrieves the System.Web.UI.CssStyleCollection object for the specified System.Web.UI.IUrlResolutionService-implemented object.

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

public CssStyleCollection GetStyleAttributes(
	IUrlResolutionService urlResolver
)

Parameters

urlResolver
Type: System.Web.UI.IUrlResolutionService

A System.Web.UI.IUrlResolutionService-implemented object that contains the context information for the current location (URL).

Use the GetStyleAttributes method to retrieve the System.Web.UI.CssStyleCollection object for a specified System.Web.UI.IUrlResolutionService-implemented object. All classes derived from Control implement System.Web.UI.IUrlResolutionService.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft