Advanced and common settings

This section describes controls that are available to all controls. When you expand the Advanced button on the settings dialog for a control or if you expand the Common tab from the XAML editor window , the settings described in this section are displayed.

These settings are for making absolute settings for an individual control. If, for example, you have a control that must be in a specific location on the mashup screen, you can specify a location that will override an automatic setting. Not all advanced or common settings apply to all controls.

Advanced settings are also available for the grid as a whole, as appropriate, if they are expanded on the Settings for Grid dialog box.

Setting Description
Name Specify a name to uniquely identify this control within the mashup.
Is Enabled This flag determines if the control currently being configured is currently active in the mashup.
Margin Controls the margin settings (left, top, right, bottom). If you want all four settings to be the same, specify the number one time, for example, 1. If you want to specify each margin separately, separate each setting with commas. Specify the margin settings in this order: Left, Top, Right, Bottom

For example, the configuration 1,1.5,2,0.5 has the following effect:

  • Left margin = 1
  • Top margin = 1.5
  • Right margin = 2
  • Bottom margin = 0.5
Visibility This setting is commonly used with controls such as scroll bars to determine when they should become visible to the user.

Options are:

  • Visible: Control is always visible, even if no data is available for display.
  • Hidden: Control is always hidden.
  • Collapsed: Control can be seen by users but is collapsed unless the user clicks it.
Vertical Alignment Determines vertical placement of the control as a whole, that is, where the control is placed within the grid.

Options are:

  • Top: The control is aligned to the top of the grid.

    Center: The control is centered within the grid.

  • Bottom: The control is aligned to the bottom of the grid.
  • Stretch: A (child) control fits the space that the parent control has allocated.
Horizontal Alignment Determines horizontal placement of the control as a whole, that is, where the control is placed within the grid.

Options are:

  • Left: The control is right-aligned in relation to the grid.
  • Center: The control is centered within the grid.
  • Right: The control is left-aligned in relation to the grid.
  • Stretch: A (child) control fits the space that the parent control has allocated.
Height Height of the element of the control.
Width Width of the control in pixels. Specify by specifying Auto or a number plus asterisk, for example, 2*.
Min height The minimum height of the control.
Min width The minimum width of the control.
Max height The maximum height of the control.
Max width The maximum width of the control.
Tooltip Specify mouseover help text for the element.
Tag An object that can be used to store information specific to this control.