Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

CustomControl Element for GroupBy (Format)

Optional element.

Defines the custom control that display new groups.

CustomControlName Element for GroupBy (Format)

Optional element.

Specifies the name of a control that is used to display the new group.

Label Element for GroupBy (Format)

Optional element.

Specifies a label that is displayed when a new group is encountered.

PropertyName Element for GroupBy (Format)

Optional element.

Specifies the .NET Framework property the starts a new group whenever its value changes.

ScriptBlock Element for GroupBy (Format)

Optional element.

Specifies the script that starts a new group whenever its value changes.

Parent Elements

Element

Description

View Element (Format)

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.

Show: