Add and configure a combo box

Add a combo box and define dynamic links to create a style sheet picker. Use the combo box to change the style of your application at runtime.
  1. In
    Project view
    , right-click
    MainWindow (type)
    and then select
    New
    Data controls
    Combo box
    .
  2. In
    Properties
    , create dynamic links between:
    • Model
      and
      ProjectName
      UI
      StyleSheets
      .
    • Display value path
      and
      {Item}@BrowseName
    • Selected value path
      and
      {Item}@NodeId
    • Selected value
      and
      {Session}/StyleSheet@Pointer@Value
    For more information about dynamic links, see Create dynamic links.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.