GroupBy Element for View (Format)
Defines how a new group of objects is displayed. This element is used when defining a table, list, wide, or custom control view.
<GroupBy> <PropertyName>.NetTypeProperty</PropertyName> <ScriptBlock>ScriptToEvaluate</ScriptBlock> <Label>TextToDisplay</Label> <CustomControl>...</CustomControl> <CustomControlName>NameOfControl</CustomControlName> </GroupBy>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
Element | Description |
|---|---|
Optional element. Defines the custom control that display new groups. | |
Optional element. Specifies the name of a control that is used to display the new group. | |
Optional element. Specifies a label that is displayed when a new group is encountered. | |
Optional element. Specifies the .NET Framework property the starts a new group whenever its value changes. | |
Optional element. Specifies the script that starts a new group whenever its value changes. |
Parent Elements
Element | Description |
|---|---|
Defines a view that displays one or more .NET Framework objects. |
When defining how a new group of objects is displayed, you must specify the property or script that will start the new group; however, you cannot specify both.