SubMenuStyle.FillStyleAttributes Method (CssStyleCollection, IUrlResolutionService)

 

Adds the style properties of the SubMenuStyle object to the specified System.Web.UI.CssStyleCollection object.

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

protected override void FillStyleAttributes(
	CssStyleCollection attributes,
	IUrlResolutionService urlResolver
)

Parameters

attributes
Type: System.Web.UI.CssStyleCollection

The System.Web.UI.CssStyleCollection object to which to add the style properties.

urlResolver
Type: System.Web.UI.IUrlResolutionService

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

Use the FillStyleAttributes method to add the style properties of the current instance of the SubMenuStyle class to the specified System.Web.UI.CssStyleCollection object.

System_CAPS_noteNote

This method is used only by control developers.

.NET Framework
Available since 2.0
Return to top
Show: