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.1.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 "code".
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.

See Also