CodeFormatter CssClass Property FormatC Syntax Highlighting Class Library
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.0.0.0 (2.0.0.0)
Syntax

public string CssClass { get; set; }

Field Value

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 also applied to the <table> element.

See Also