System.Web.UI.WebControls.FontInfo.Strikeout Property

Gets or sets a value that indicates whether the font is strikethrough.

Syntax

[System.ComponentModel.NotifyParentProperty(true)]
[System.ComponentModel.DefaultValue(false)]
public bool Strikeout { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the FontInfo.Strikeout property to specify or determine whether the font contains a line through the text.

The value of this property is stored in view state.

Note:

The font underline behavior for links generated by the System.Web.UI.WebControls.LinkButton, System.Web.UI.WebControls.HyperLink, and System.Web.UI.HtmlControls.HtmlAnchor controls is affected by setting the FontInfo.Strikeout property of the System.Web.UI.WebControls.FontInfo for the control. If the FontInfo.Strikeout property is set, regardless of its value, you must set the FontInfo.Underline property explicitly if you want the link to be underlined.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0