Options, Text Editor, XAML, Miscellaneous

Use the Miscellaneous property page to specify how elements and attributes are formatted in your XAML documents. To open the Options dialog box, click the Tools menu and then click Options. To access the Miscellaneous property page, expand the Text Editor > XAML > Miscellaneous node.

Auto Insert

Use this setting to control when tags and quotes are automatically generated.

Name Description
Closing tags Specifies whether an element's closing tag is automatically generated when you close the opening tag with the greater than character (>).
Attribute quotes Specifies whether enclosing quotes are generated when an attribute value is selected from the statement completion drop-down list.
Closing braces for MarkupExtensions Specifies whether a markup extension's closing brace (}) is automatically generated when you type the opening brace character ({).
Commas to separate MarkupExtension parameters Specifies whether commas are generated when you type more than one parameter in a markup extension.

Errors and Warnings

Use this setting to control when errors and warnings are automatically generated. For more information, see XAML errors and warnings.

See also