Share via


How to: Modify Type Members

Class Designer enables you to modify the members of types displayed on the diagram. You can modify the members of any type displayed on a class diagram that is not read-only. (See Display of Read-Only Information.) You modify type members by using in-place editing on the design surface, property grid, the Class Details window. By default, this window appears at the bottom of Visual Studio when you open a class diagram.

Note

For information about creating type members, see Creating Type Members.

To modify a type member

  1. Select the type in Class Designer.

  2. If the Class Details window is not displayed, display it. (See How to: Open the Class Details Window.)

  3. Edit the values in the fields of the Class Details window grid. After each edit, press ENTER, or otherwise move focus away from the edited field, such as by pressing TAB. Your edits reflect immediately in code.

    Note that if you only want to modify the name of a member, you can do so in-place on the diagram.

See Also

Tasks

How to: Open the Class Details Window

Concepts

Creating Type Members

Display of Read-Only Information