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

Glossary Item Box

Defines whether items are grouped by default.

Remarks

Property specifies if the value, defined in property DefaultGroupName, is used for creating group containing all items. SingleGroup property is only considered if no value is defined for GroupMember property.

If property is set to True and GroupMember property has no value specified then the value defined in property DefaultGroupName is used to determine the name of the group containing all items in the control.

If property is set to False and no value is defined for GroupMember then no items are displayed in the control. By default False value is selected.

Example (MxSpace)

To see the defined SingleGroup property on a control (List) open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click ArticlesPart.cs. Click the List control and open Property Window. See the selected False field in the SingleGroup property.

To define SingleGroup property

  1. In Solution Explorer open MxPart component (ArticlesPart) which contains control (List) for displaying data.
  2. Select the desired control (List) on the canvas.
  3. Open Property Window.
  4. In section Design, define SingleGroup property. Select the desired value (False) for the property.

See Also

©2009 Metronik. All Rights Reserved.