Style.FillStyleAttributes(CssStyleCollection, IUrlResolutionService) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor