Share via


CustomCSSResourceElement members

Renders a control that is used to reference the cascading style sheets (CSS) file “controls.css”.

The CustomCSSResourceElement type exposes the following members.

Constructors

  Name Description
Public method CustomCSSResourceElement Initializes a new instance of the CustomCSSResourceElement class.

Top

Properties

  Name Description
Public property Alt Gets or sets alternative text to render when the HtmlElement is Image(). (Inherited from ExternalHtmlResourceElement.)
Public property FileContext Gets or sets the ResourceFileContext to use when looking up the URL for the FileName. (Inherited from ExternalHtmlResourceElement.)
Public property FileName Gets or sets the name of the external HTML resource file to be rendered. (Inherited from ExternalHtmlResourceElement.)
Public property Height Gets or sets the image height of the ExternalHtmlResourceElment when the HtmlElement is Image(). (Inherited from ExternalHtmlResourceElement.)
Public property HtmlElement Gets or sets the type of the external resource to be rendered. (Inherited from ExternalHtmlResourceElement.)
Public property ResourceFileUrl Gets or sets the URL of the external resource file. (Inherited from ExternalHtmlResourceElement.)
Public property Width Gets or sets the image width of the ExternalHtmlResourceElement when the HtmlElement is Image(). (Inherited from ExternalHtmlResourceElement.)

Top

Methods

  Name Description
Protected method Render Renders the control to the specified HtmlTextWriter object. (Overrides ExternalHtmlResourceElement.Render(HtmlTextWriter).)

Top

See also

Reference

CustomCSSResourceElement class

Microsoft.SharePoint.Portal.WebControls namespace