MX-Frame Library Send comments on this topic.
CanCollapseGroups
See Also
MX-Developer > User Interface - MxPart > Controls > Control Properties > EditorProperties > CanCollapseGroups

Glossary Item Box

Defines whether it is possible to collapse individual groups.

Remarks

Property specifies if the user is able to collapse individual groups in a control when it is in edit mode. Fields can be grouped when they are displayed in edit mode. This is done by defining Category property for each data source field. In order to save space user can collapse individual group and display it again when necessary.

If property is set to True, a group can be collapsed by double clicking on the row containing the name of the group. Fields are hidden, only the name of the group remains displayed. In order to display fields, double click the row with the name of the group.

If property is set to False, groups cannot be collapsed by double clicking on the group header. The default value for this property is False.

The feature is useful especially when large amount of data, great number of fields, is edited and not all groups need to be displayed. The user interface is more clear and easier to use.

Example (MxSpace)

To see the defined CanCollapseGroups property on a control (GridEdit) open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click WorkOrderManagePart.cs. Click the GridEdit control for displaying work orders and open Property Window. See the value True defined in CanCollapseGroups property.

To define CanCollapseGroups property

  1. In Solution Explorer open MxPart component (WorkOrderManagePart) which contains the control (GridEdit).
  2. Select the desired control (GridEdit) on the canvas.
  3. Open Property Window.
  4. In section EditorProperties in CanCollapseGroups property select the desired value (True).

See Also

©2009 Metronik. All Rights Reserved.