Determines whether the specified markup style attribute and its value can be rendered to the current markup element.
- name
- A string containing the name of the style attribute to render.
- value
- A string containing the value that is assigned to the style attribute.
- key
- The System.Web.UI.HtmlTextWriterStyle associated with the style attribute.
Always true.
The System.Web.UI.HtmlTextWriter class implementation of the HtmlTextWriter.OnStyleAttributeRender(string, string, HtmlTextWriterStyle) method always returns true. The HtmlTextWriter.OnStyleAttributeRender(string, string, HtmlTextWriterStyle) overrides can determine whether a style attribute will be rendered to the page.