Dela via


How to: Modify a Property Binding for Application Settings Using the Designer

This topic describes the steps required to modify or remove a binding between a property and an application setting by using Visual Studio.

If you have previously bound a property to an application setting, you can modify or remove that binding by following these steps.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Working with Settings.

To modify or remove a property binding for application settings using the designer

  1. Select the form or control in the designer which defines the bound property.

  2. In the Property Editor, expand the (ApplicationSettings) node.

  3. Find the name of the property whose binding you want to alter under the (ApplicationSettings) node, and select the drop-down list next to it. The list contains all of the settings available in your application.

  4. Perform the appropriate action in the drop-down list:

    • If you want to replace the binding for this property with another defined setting, find that setting name in the drop-down list and select it. The old binding is replaced with the new one.

      -or-

    • If you want to bind this property to a new setting, select New at the bottom of the drop-down list, and follow the steps for creating a new setting. For more information, see How to: Create Application Settings Using the Designer.

      -or-

    • If you do not want to bind this property to any setting, click the None check box next in the drop-down window.

See Also

Tasks

How to: Create Application Settings Using the Designer

How to: Bind a Property to an Existing Application Setting Using the Designer

Concepts

Application Settings Overview