Class HtmlStylesheetLoadEventArgs
Invoked when a stylesheet is about to be loaded by file path or URL in 'link' element.
Allows to overwrite the loaded stylesheet by providing the stylesheet data manually, or different source (file or URL) to load from.
Example: The stylesheet 'href' can be non-valid URI string that is interpreted in the overwrite delegate by custom logic to pre-loaded stylesheet object
If no alternative data is provided the original source will be used.
Inheritance
Inherited Members
Namespace: TheArtOfDev.HtmlRenderer.Core.Entities
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public sealed class HtmlStylesheetLoadEventArgs : EventArgs
Properties
Attributes
collection of all the attributes that are defined on the link element
Declaration
public Dictionary<string, string> Attributes { get; }
Property Value
System.Collections.Generic.Dictionary<System.String, System.String>
|
SetSrc
provide the new source (file path or URL) to load stylesheet from
Declaration
public string SetSrc { get; set; }
Property Value
System.String
|
SetStyleSheet
provide the stylesheet to load
Declaration
public string SetStyleSheet { get; set; }
Property Value
System.String
|
SetStyleSheetData
provide the stylesheet data to load
Declaration
public CssData SetStyleSheetData { get; set; }
Property Value
CssData
|
Src
the source of the stylesheet as found in the HTML (file path or URL)
Declaration
public string Src { get; }
Property Value
System.String
|