Freigeben über


StyleSheet Styles Editor Dialog Box

Use the Styles Editor dialog box to add styles for your ASP.NET mobile Web page and set properties for each of the styles. You can open the Styles Editor dialog box by right-clicking a StyleSheet control on a mobile Web page, and then clicking Edit Styles on the shortcut menu.

Hinweis

Styles are defined for your entire mobile Web page, and only for that page. To define a style sheet for more than one mobile Web page, set up an external style sheet.

  • Style Types
    Shows the available Style Types from which you can derive styles. To add an instance of a Style Type to the Defined Styles list, select a style from the StyleType list, and then click Add.

    Button

    Name

    What it does

    Add Button

    Add

    Creates a style instance of the type selected in the Styles Types list and adds it to the Defined Styles list.

  • Defined Styles
    Shows the list of styles that are currently defined in style sheet. Use the buttons to move items up or down or to delete items. The order shown in the list is the order in which the styles are saved in the .aspx file.

    Button

    Name

    What it does

    Move Upward Button

    Up arrow

    Moves the selected item up one place in the list.

    Down Arrow Button

    Down arrow

    Moves the selected item down one place in the list.

    DeleteButton screenshot

    Delete

    Deletes the currently selected item.

  • Type
    Shows the full name of the selected style's type. Type is read-only and shows the type only after a style has been selected in the Defined Styles list.

  • Properties
    Displays all properties for the style currently selected in the Defined Styles list. Configure properties in the same way that you configure them in the main Properties window.

  • Sample
    Displays a short string rendered with the properties of the currently selected style.

See Also

Tasks

How to: Add and Configure a StyleSheet Control

Reference

Style

PagerStyle

Concepts

Introduction to the StyleSheet Control