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
Choose an initial control and follow the appropriate procedure.
Control
Procedure
Palette
In the Palette,
click the property ( )icon.
Click the
composite banner or component.
Click the property
icon. A property sheet displays with a property named property1.
Properties View
Click a composite
or component.
In the Properties
view, click the
Properties tab.
Click the plus
() icon. A row is added to the Properties
table with a property named property1.
Composite or component
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.
In the Name field or column, type a property name.
In the Type drop-down list or column, select a type.
To indicate that the property value is not required to be set at
packaging time, uncheck the
Required checkbox.