Creating a Property

You can create a property from the Palette, from the Properties view, or by right-clicking a composite or component.

You can only create a property for a composite or component.

Procedure

  1. Choose an initial control and follow the appropriate procedure.
    Control Procedure
    Palette
    1. In the Palette, click the property ( )icon.
    2. Click the composite banner or component.
    3. Click the property icon. A property sheet displays with a property named property1.
    Properties View
    1. Click a composite or component.
    2. In the Properties view, click the Properties tab.
    3. Click the plus () icon. A row is added to the Properties table with a property named property1.
    Composite or component
    1. Right-click the composite or component and select Add > Property.
    A property icon is added to the composite or component. If the property is added to a composite, a warning badge is added to the property indicating that the property does not have a value and is not referenced by a component property. If the property is added to a component, error badges are added to the component and the property indicating that the component is out of sync with its implementation and the property does not have a value.
  2. In the Name field or column, type a property name.
  3. In the Type drop-down list or column, select a type.
  4. To indicate that the property value is not required to be set at packaging time, uncheck the Required checkbox.