แก้ไข

แชร์ผ่าน


SubMenuStyle.FillStyleAttributes Method

Definition

Adds the style properties of the SubMenuStyle object to the specified CssStyleCollection object.

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

Parameters

attributes
CssStyleCollection

The CssStyleCollection object to which to add the style properties.

urlResolver
IUrlResolutionService

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

Remarks

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.

Note

This method is used only by control developers.

Applies to

See also