2.34.8 TablixMember.KeepWithGroup

Applies to RDL 2008/01, RDL 2010/01, and RDL 2016/01

The TablixMember.KeepWithGroup element specifies whether an attempt is made to keep each rendered instance of a parent static member with the closest non-hidden instance of a preceding or subsequent sibling dynamic member. This element is optional and MUST NOT be specified more than once.

If the TablixMember.KeepWithGroup element is specified, its value MUST be one of the following:

None (default): The TablixMember.KeepWithGroup element is ignored.

Before: Rendered instances of the parent static member are kept with the closest preceding non-hidden sibling dynamic member.

After: Rendered instances of the parent static member are kept with the closest subsequent non-hidden sibling dynamic member.

The value of the TablixMember.KeepWithGroup element MUST be "None" if the parent element is a dynamic member or has a dynamic member descendant. The value of this element MUST be "None" if the parent element is a tablix column member.

If the value of the TablixMember.KeepWithGroup element is "Before", the value of this element for all sibling TablixMember elements between the parent of the TablixMember.KeepWithGroup element and the closest preceding non-hidden sibling dynamic member MUST be "Before".

If the value of the TablixMember.KeepWithGroup element is "After", the value of this element for all sibling TablixMember elements between the parent of the TablixMember.KeepWithGroup element and the closest subsequent non-hidden sibling dynamic member MUST be "After".

If the TablixMember.KeepWithGroup element is not specified, its value is interpreted as "None".

If the Tablix.BandLayoutOptions element is specified, the TablixMember.KeepWithGroup element is ignored.

Following is the parent element of the TablixMember.KeepWithGroup element.

Parent elements

TablixMember

The following is the XML Schema definition of the TablixMember.KeepWithGroup element.

 <xsd:element name="KeepWithGroup" minOccurs="0" maxOccurs="1">
   <xsd:simpleType>
     <xsd:restriction base="xsd:string">
       <xsd:enumeration value="None" />
       <xsd:enumeration value="Before" />
       <xsd:enumeration value="After" />
     </xsd:restriction>
   </xsd:simpleType>
 </xsd:element>