Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Auto Format Dialog Box 

Allows you to select predefined set of colors, border styles, and other settings (referred to as a scheme) and apply them to a Web server control.

When you select a scheme, the scheme's settings are applied to properties of the control. Different schemes make different settings, but a typical set of properties set by a scheme is:

  • BackColor

  • BorderColor

  • BorderStyle

  • BorderWidth

  • CellPadding

  • Gridlines

In some schemes, settings are also made for the style objects associated with the control. For example, a scheme might set the ForeColor and ForeColor properties.

To access this dialog box
  1. In Visual Web Developer, open or create an ASP.NET Web page and then switch to Design view.

  2. From the Standard node of the Toolbox drag a schemable control such as the TreeView or the ChangePassword control onto the page.

  3. Right-click the control and then click Show Smart Tag.

  4. In the Tasks list, click Auto Format.

  5. The Auto Format dialog box opens.

Tasks

UI Elements

Select a scheme

Select a scheme by name or select Remove Formatting to restore the default values for the properties set by the scheme.

NoteNote

If you choose Remove Formatting, it resets all properties affected by the scheme, even if you changed the settings after applying it.

Preview

Displays a sample of what the control will look like with the scheme applied. (The preview does not reflect the exact configuration of the control.)

See Also

Community Additions

ADD
Show:
© 2015 Microsoft