Editar

Partilhar via


Style.FillStyleAttributes(CssStyleCollection, IUrlResolutionService) Method

Definition

Adds the specified object's style properties to a CssStyleCollection object.

protected:
 virtual void FillStyleAttributes(System::Web::UI::CssStyleCollection ^ attributes, System::Web::UI::IUrlResolutionService ^ urlResolver);
protected virtual void FillStyleAttributes (System.Web.UI.CssStyleCollection attributes, System.Web.UI.IUrlResolutionService urlResolver);
abstract member FillStyleAttributes : System.Web.UI.CssStyleCollection * System.Web.UI.IUrlResolutionService -> unit
override this.FillStyleAttributes : System.Web.UI.CssStyleCollection * System.Web.UI.IUrlResolutionService -> unit
Protected Overridable Sub FillStyleAttributes (attributes As CssStyleCollection, urlResolver As IUrlResolutionService)

Parameters

attributes
CssStyleCollection

The CssStyleCollection object to which to add the style properties.

urlResolver
IUrlResolutionService

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

Remarks

Use the FillStyleAttributes method to add the style properties of an object to the specified System.Web.UI.CssStyleCollection object. The object that you specify must implement System.Web.UI.IUrlResolutionService. All classes derived from Control implement System.Web.UI.IUrlResolutionService.

Applies to

See also