Add content to an Expander control

The Expander control is used with a Panel or Grid control.

Before you begin

Note: Ensure that Expander control Height property is set to Auto.

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. Add a grid or panel.
  8. Right-click the control in either the Designer or the document tree, and then select Edit Layer.

    - Or -

    Double-click the control in the document tree.
    The control displays in the designer with an orange border, indicating that it is the active layer.
  9. Add the appropriate controls to the grid or panel.
    When you make another control the active layer, you cannot select the controls that were added in other active layers because they are now part of an inactive layer. In order to change these controls, you must make that layer active again.
  10. Reset the top level control to be the active layer.
  11. Right-click the grid/panel control, and then select Cut.
  12. In the Document Tree, right-click the Expander control, and then select Paste Special.
    The Applying <control> to Target Expander dialog box appears.
  13. Select the Child of Expander option, and then click OK.
    When the project is built, you can click the drop-down arrow on the expander to display the grid/panel.
    Important: You can add only one grid or panel control to an expander. If a grid or panel control already exists as content in your expander control, adding a new grid or panel overwrites the existing one.
  14. Configure the properties, as required.
    Note: To view the full list of properties, select the Advanced check box.
  15. 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