GroupBy Element for View
Defines how a new group of objects is displayed. This element is used when defining a table, list, wide, or custom control view.
Schema
- Configuration Element
- ViewDefinitions Element
- View Element
- GroupBy Element
Syntax
<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 | Optional element. Defines the custom control that display new groups. |
CustomControlName Element for GroupBy | Optional element. Specifies the name of a control that is used to display the new group. |
Label Element for GroupBy | Optional element. Specifies a label that is displayed when a new group is encountered. |
PropertyName Element for GroupBy | Optional element. Specifies the .NET property the starts a new group whenever its value changes. |
ScriptBlock Element for GroupBy | Optional element. Specifies the script that starts a new group whenever its value changes. |
Parent Elements
Element | Description |
---|---|
View Element | Defines a view that displays one or more .NET objects. |
Remarks
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.
See Also
CustomControlName Element for GroupBy
PropertyName Element for GroupBy
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.