System.Web.UI.WebControls.MenuItemStyle.FillStyleAttributes Method

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

Syntax

protected override void FillStyleAttributes (System.Web.UI.CssStyleCollection attributes, System.Web.UI.IUrlResolutionService urlResolver)

Parameters

attributes
The System.Web.UI.CssStyleCollection to add the style properties to.
urlResolver
An System.Web.UI.IUrlResolutionService-implemented object that contains the context information for the current location (URL).

Remarks

Use the MenuItemStyle.FillStyleAttributes(System.Web.UI.CssStyleCollection, System.Web.UI.IUrlResolutionService) method to add the style properties of the current instance of the System.Web.UI.WebControls.MenuItemStyle class to the specified System.Web.UI.CssStyleCollection object.

Note:

This method is used only by control developers.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0