Click or drag to resize

CodeFormatterCssClass Property

Gets or sets the CSS class name to use on the <pre> element in the output HTML.

Namespace:  Ookii.FormatC
Assembly:  Ookii.FormatC (in Ookii.FormatC.dll) Version: 2.2.0
Syntax
public string CssClass { get; set; }

Property Value

Type: String
The CSS class name to use on the <pre> element. The default value is the value of DefaultCssClass.
Remarks

If you change this value, you must also modify your CSS stylesheet accordingly.

If LineNumberMode is Table, this class is applied to the encapsulating <div> element instead.

If you set this value to , the element will not have a CSS class.

This property is ignored if IncludePreElement is .

See Also