Show TOC

 Data Binding to predefined Dictionary Simple TypesLocate this document in the navigation structure

Use

Some UI elements properties have to be bound to predefined Dictionary Simple Types, e. g. the text property of FormattedTextView has to be bound to a Dictionary Simple Type FormattedText.

Procedure
  1. Create a value attribute in the context of the view.
  2. In the Properties window, select the typeproperty and then . The Type Selectionwizard is started.
  3. Select Simple Type, navigate to Dictionaries → Local Dictionary and open the relevant package.

  4. Select the desired Dictionary Simple Type  and confirm with Okay.
  5. In the View Designer, switch to the Layout tab, select the desired UI element and subsequently the desired property in the Properties window.
  6. Select the  button on the right hand side of the line, select the desired value attribute in the context viewer and confirm with Okay.
Result

You have created a context attribute of a Dictionary Simple Type and have bound the relevant property to this attribute.