ComponentOne WebEditor for ASP.NET: Design-Time Support > C1WebEditor Auto Format Dialog Box

C1WebEditor Auto Format Dialog Box

C1WebEditor provides an Auto Format dialog box for the C1WebEditor control that allows you to choose a preformatted style.

Accessing the Auto Format Dialog Box

The Auto Format dialog box is accessible in one of three ways:

      Click Auto Format from the C1WebEditor control's Tasks menu:

 

 

      Click Auto Format from the C1WebEditor control's context menu:

 

 

      Click Auto Format from the C1WebEditor Properties window:

 

Available Styles

The following image displays the Auto Format dialog box for the C1WebEditor control:

 

 

The following preformatted styles are available for C1WebEditor:

      Office 2007 Silver

      Office 2007 Blue (default)

      Office 2007 Black

      Office 2003 Zune

      Office 2003 Royale

      Office 2003 Olive

      Office 2003 Silver

      Office 2003 Blue

      Office 2003 Classic

      Visual Studio 2005

Using the Auto Format Styles

To add a preformatted style to the C1WebEditor control:

1.   Open the Auto Format dialog box.

2.   Select one of the predefined formats under Select a scheme in the left pane. You can preview each format in the right pane.

3.   Click Apply then click OK.

If you change your mind about the style you have chosen you can select Empty from the scheme in the left pane. Choosing the Empty auto format clears the defined styles; therefore, the control will use the default values for the empty style values if the UseDefaultStyle property is set to True (default value).


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.
￿