Obtains the markup style attribute name associated with the specified System.Web.UI.HtmlTextWriterStyle enumeration value.
- styleKey
- The System.Web.UI.HtmlTextWriterStyle to obtain the style attribute name for.
The style attribute name associated with the System.Web.UI.HtmlTextWriterStyle enumeration value specified in styleKey.
If styleKey is not a valid System.Web.UI.HtmlTextWriterStyle object, the HtmlTextWriter.GetStyleName(HtmlTextWriterStyle) method returns an empty string ("").