Share via


IEditorSettings.AutoFormatCode Property

Applies to v2.

Gets or sets whether to auto-format code as you type.

Namespace:  Microsoft.WebMatrix.Extensibility.Editor
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Property AutoFormatCode As Boolean 
    Get 
    Set
'Usage
Dim instance As IEditorSettings 
Dim value As Boolean 

value = instance.AutoFormatCode

instance.AutoFormatCode = value
bool AutoFormatCode { get; set; }
property bool AutoFormatCode {
    bool get ();
    void set (bool value);
}
abstract AutoFormatCode : bool with get, set
function get AutoFormatCode () : boolean 
function set AutoFormatCode (value : boolean)

Property Value

Type: System.Boolean
true to auto-format code as you type; otherwise, false.

See Also

Reference

IEditorSettings Interface

Microsoft.WebMatrix.Extensibility.Editor Namespace