IEditorSettings Properties

Include Protected Members
Include Inherited Members

Applies to v2.

The IEditorSettings type exposes the following members.

Properties

  Name Description
Public property AddQuotesToHtmlAttributes Gets or sets whether to add quotes to HTML attribute values in HTML formatting.
Public property AutoFormatCode Gets or sets whether to auto-format code as you type.
Public property BracePositionOnNewLineCSharp Gets or sets whether to brace position in C#.
Public property BracePositionOnNewLineCss Gets or sets whether to brace position in CSS.
Public property BracePositionOnNewLineJScript Gets or sets whether to brace position in JScript.
Public property BracePositionOnNewLinePhp Gets or sets whether to brace position in PHP.
Public property FontFamily Gets or sets the font family for the settings.
Public property FontSizeInPoints Gets or sets the font size in points.
Public property HighlightWords Gets or sets whether to highlight words.
Public property HtmlAttributesOnSeparateLines Gets or sets whether to place HTML element attributes on separate lines.
Public property InsertBraces Gets or sets whether to insert matching braces and quotes.
Public property InsertClosingTags Gets or sets whether to insert closing tags in HTML and XML.
Public property InsertSpacesForTabs Gets or sets whether spaces are inserted for tabs.
Public property LineNumbersEnabled Gets or sets whether line numbers are enabled.
Public property SearchAsYouType Gets or sets whether the editor allows searching as you type.
Public property ShowWhiteSpaces Gets or sets whether whitespace is shown.
Public property SurfaceBackgroundBrush Gets or sets the surface background brush.
Public property TabSize Gets or sets the tab size.
Public property ValidationEnabled Gets or sets whether to enable validation.
Public property WordWrapEnabled Gets or sets whether word wrap is enabled.

Top

See Also

Reference

IEditorSettings Interface

Microsoft.WebMatrix.Extensibility.Editor Namespace