Add a control

About this task

CAUTION: If you delete or rename a control, parameter, or server method that is used as the source of a binding in a form, the binding itself is not removed from the XAML file. You can leave the binding code in the XAML, but if you create another control, parameter, or server method with the same name as the deleted object, or rename an existing object to make the object name valid again, then the orphaned binding may become valid as well, causing unexpected results.

It is recommended that you manually delete the binding code from the XAML file to prevent this issue from occurring.

Procedure

  1. In the navigator, click Global Displays > Forms.
  2. From the Forms list, select the resource you want to work with.
  3. Click Display Editor > Designer.
  4. Click the Toolbox tab.
  5. Expand the control group you want to work with.
  6. Click and drag the control to the desired position in the Designer.
    Note: To apply the properties of a control to another control, click and drag the control to another control in the document tree. The Applying <control (control name)> to Target dialog box appears where you can select the option you want to use to apply to the control.
  7. Save the form or user display.
    Click Save on the...To save...
    toolbarlocally for WPF forms; to the server for Silverlight forms
    title barto the server for WPF forms