Book a Demo
Prev Next

Template Classes

If you are working with Parameterized Classes or Binding Classes, you can use the 'Templates' dialog to define:

  • The Parameterized Class template parameters and
  • The Binding expressions on a Binding Class

Access

Click on the appropriate Class element in the Browser window or in a diagram.

Ribbon

Design > Element > Manage > Template Parameters

Keyboard Shortcuts

Alt+5 | Template Parameters

Use

In the 'Template Parameter(s)' panel, click on the Add button to add a new parameter, or click on an existing parameter and on the Edit button to edit the parameter; in either case, the 'Template Parameter' dialog displays.

In the 'Binding(s)' panel, click on the Add button to add a new binding expression or click on an existing expression and on the Edit button to edit the expression. When you click on the Add button, a short context menu displays from which you select the type of relationship to generate, and then you define the binding expressions.

If either a template parameter or a binding expression is no longer required, click on it and then click on the corresponding Delete button.

Learn more