Managing the Properties in a Class

If you are exposing your class as a WFC control, you can use Class Builder to manage the properties defined by your class. Class Builder assists you in adding a new property, adding a property based on an existing definition, modifying a property, and deleting a property.

To display the properties in your class

  1. Start Class Builder and make sure your class is selected by Class Builder. For information on how to do this, see Starting Class Builder.

  2. Click the Properties tab in Class Builder. The WFC Properties list displays the properties that are currently defined by your class.

To add a new property

  1. Click Add. In the Add Property dialog box, enter the information for the property:
  2. Click Add.

To add a property based on an existing property

  1. Select a property from the WFC Properties list and click Clone. The Clone Property dialog box displays the information for the selected property, which is the basis for the new property.

  2. Replace the name in the Property Name box with the name of the new property. Modify the remaining selections as needed.

  3. Click Add.

To modify an existing property definition

  1. Select the property from the WFC Properties list and click Modify.

  2. In the Modify Property dialog box, modify the information for the property and click then Modify. (Note that the Associated Member Variable box is disabled.)

To delete a property that you have already declared