ComponentOne Editor for ASP.NET Web Forms
Run-Time Elements / User Interface Elements / Ribbon / Format Tab
In This Topic
    Format Tab
    In This Topic

    The Format tab contains groups of commands that can be used to format the contents of the text editor. Underneath the Format tab are four groups - Actions, Font, Paragraph, and Review - that house closely related tasks.

    The following graphic shows the groups and buttons associated with the Format tab:

    C1Editor

    The following sections detail the commands of each group:

    Actions Group

    Commands within the Action group can be used to perform common actions, such as saving a document or undoing a previous action. The following table details the commands of the Action group:

    Button Name Description
    C1Editor Save Raises a postback to the Web server where your application retrieves content from the C1Editor control using the Text property. The control then performs actions consistent with saving the user's changes.
    C1Editor Undo Erases the most recently performed operation done to the document, except another Undo, reverting it back to an older state. To reverse the Undo operation, use the Redo command.
    C1Editor Redo Reverses the Undo command or advances the buffer to a more current state.
    C1Editor Preview Opens the print Preview dialog box (see Preview Dialog Box), allowing users to select a preview window size and print C1Editor content.
    C1Editor Clean Up Opens the Cleanup Source HTML Document dialog box (see Cleanup Source HTML Document Dialog Box), which allows users to remove Microsoft Word tags from their document.
    C1Editor Cut Removes the original source text and places it on the clipboard.
    C1Editor Copy Copies the selected text to the clipboard.
    C1Editor Paste Pastes the text from the clipboard.
    C1Editor Select All Selects all content in the text window.

    Font Group

    Commands under the Font group can be used to manipulate font settings. The following table details the commands of the Font group:

    Button Name Description
    C1Editor Font Name Allows you to choose a Font style. The Font drop-down list includes the following fonts: Arial, Courier New, Garamond, Tahoma, Times, Verdana, Wingdings.
    C1Editor Font Size Changes the size of the text. The Size combo box includes the following sizes: Very Small, Smaller, Small, Medium, Large, Larger, Very Large.
    C1Editor Background Color Displays the Set BackColor dialog box (see Set BackColor Dialog Box), from whichthe user can select a background color. The coloring can apply to subsequent input or a selected range of text.
    C1Editor Font Color Displays the Set ForeColor dialog box (See Set ForeColor Dialog Box), from which the user can select a text color. The coloring can apply to subsequent output or to the selected range of text.
    C1Editor Bold Emphasizes text by making text darker than the surrounding textusing the <strong> tag.
    C1Editor Italic Emphasizes text by applying italicized formatting using the <em> tag.
    C1Editor Underline Adds a line beneath the text using the <u> tag.
    C1Editor Strikethrough Adds a horizontal line through the center of the text using the <strike> tag.
    C1Editor Subscript Makes text appear smaller than the normal line of type and sets text slightly below the baseline using the <sub> tag.
    C1Editor Superscript Makes text appear smaller than the normal line of type and sets text slightly above the baseline using the <sup> tag.
    C1Editor Template Opens the Apply Template dialog box (see Apply Template Dialog Box), from where users can add, delete, and save templates.
    C1Editor Remove Format Removes the format of the currently selected text.

    Paragraph

    Commands within the Paragraph group can be used to manipulate paragraph settings. The following table details the commands of the Paragraph group:

    Button

    Name

    Description

    C1Editor Justify Left Aligns text to the left side of the page, causing the text to be flush with the left margin; however, the text will appear jagged on the right side.
    C1Editor Justify Center Aligns to text to the center of the page. Lines of text are placed equidistant from the left and right margins.
    C1Editor Justify Right Aligns text to the right side of the page, causing the text to be flush with the right margin.
    C1Editor Justify Full Aligns text to both the right and left margin. Text that is fully justified is smooth along both margins, but the words spread out to fill the space between. This type of formatting is subject to Web browser support.
    C1Editor Border Applies a border to the currently selected text.
    C1Editor Numbered List Formats the text into an ordered list. An ordered list (numeric or alpha-numeric) indicates that the sequence of list items is significant.
    C1Editor Bulleted List Formats the text into an unordered list. An unordered list ( or bulleted list) indicates that the sequence of list items is insignificant.
    Outdent Places text back to the left again. This formatting only applies if the text content was previously indented.
    Indent Places text farther to the right to separate it from surrounding text.

    Review Group

    Commands under the Review group can be used to review current documents. The following table details the commands of the Review group:

    Button Name Description
    C1Editor Spelling Activates a spell check for the current document. See Spell Checker Dialog Box for more details.
    C1Editor Inspect Opens the Tag Inspector dialog box. See Tag Inspector Dialog Box for more details.
    C1Editor Find Opens the Find and Replace dialog box, from where users can search for specific strings and, if they desire, replace those strings.
    See Also