ICSS2Properties.TextDecoration

ICSS2Properties.TextDecoration property

This property describes decorations that are added to the text of an element. If the property is specified for a block-level element, it affects all inline-level descendants of the element. If it is specified for (or affects) an inline-level element, it affects all boxes generated by the element. If the element has no content or no text content (e.g., the IMG element in HTML), user agents must ignore this property.

Values have the following meanings:

none - Produces no text decoration.underline - Each line of text is underlined.overline - Each line of text has a line above it.line-through - Each line of text has a line through the middleblink - Text blinks (alternates between visible and invisible).

public string TextDecoration { get; set; }

Return Value

text-decoration property

See Also