Intersoft ClientUI Documentation
RowGroups Property
See Also  Send Feedback
Intersoft.Client.Documents Namespace > Table Class : RowGroups Property






Gets or sets the TableRowGroup collections of the table.

Syntax

Visual Basic (Declaration) 
Public Property RowGroups As TableRowGroupCollection
Visual Basic (Usage)Copy Code
Dim instance As Table
Dim value As TableRowGroupCollection
 
instance.RowGroups = value
 
value = instance.RowGroups
C# 
public TableRowGroupCollection RowGroups {get; set;}
Delphi 
public read-write property RowGroups: TableRowGroupCollection; 
JScript 
public function get,set RowGroups : TableRowGroupCollection
Managed Extensions for C++ 
public: __property TableRowGroupCollection* get_RowGroups();
public: __property void set_RowGroups( 
   TableRowGroupCollection* value
);
C++/CLI 
public:
property TableRowGroupCollection^ RowGroups {
   TableRowGroupCollection^ get();
   void set (    TableRowGroupCollection^ value);
}

Remarks

TableRowGroup element provides a way to arbitrarily group rows within a table; every row in a table must belong to a row grouping. Rows within a row group often share a common intent, and may be styled as a group. A common use for row groupings is to separate special-purpose rows, such as a title, header, and footer rows, from the primary content contained by the table.

XAML Copy Code
<Intersoft:FlowDocument>
    <Intersoft:Table CellSpacing="0" Margin="20" CellPadding="5" Borders="1,Single,#FFC5C5C5">
        <Intersoft:Table.Columns>
            <Intersoft:TableColumn Width="*"/>
            <Intersoft:TableColumn Width="1.5*"/>
            <Intersoft:TableColumn Width="1.5*"/>
        </Intersoft:Table.Columns>
        <Intersoft:TableRowGroup Background="#FF5C0558" Foreground="#FFFFFFFF">
            <Intersoft:TableRow>
                <Intersoft:TableCell ColumnSpan="3">
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            Text Input
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:TableCell>
            </Intersoft:TableRow>
        </Intersoft:TableRowGroup>
        <Intersoft:TableRowGroup Background="#FFF7EDF7">
            <Intersoft:TableRow>
                <Intersoft:TableCell>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            UXTextBox
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:TableCell>
                <Intersoft:TableCell>
                    <Intersoft:List Margin="5 0" MarkerOffset="10" MarkerStyle="Circle">
                        <Intersoft:ListItem>
                            <Intersoft:Paragraph>
                                <Intersoft:Run>
                                    Watermark Text
                                </Intersoft:Run>
                            </Intersoft:Paragraph>
                        </Intersoft:ListItem>
                        <Intersoft:ListItem>
                            <Intersoft:Paragraph>
                                <Intersoft:Run>
                                    Clear Error Validation
                                </Intersoft:Run>
                            </Intersoft:Paragraph>
                        </Intersoft:ListItem>
                    </Intersoft:List>
                </Intersoft:TableCell>
                <Intersoft:TableCell>
                    <Intersoft:List Margin="5 0" MarkerOffset="10" MarkerStyle="Circle">
                        <Intersoft:ListItem>
                            <Intersoft:Paragraph>
                                <Intersoft:Run>
                                    Support Routed Events
                                </Intersoft:Run>
                            </Intersoft:Paragraph>
                        </Intersoft:ListItem>
                        <Intersoft:ListItem>
                            <Intersoft:Paragraph>
                                <Intersoft:Run>
                                    Customizable Appearance
                                </Intersoft:Run>
                            </Intersoft:Paragraph>
                        </Intersoft:ListItem>
                    </Intersoft:List>
                </Intersoft:TableCell>
            </Intersoft:TableRow>
            <Intersoft:TableRow>
                <Intersoft:TableCell>
                    <Intersoft:Paragraph>
                        <Intersoft:Run>
                            UXPasswordBox
                        </Intersoft:Run>
                    </Intersoft:Paragraph>
                </Intersoft:TableCell>
                <Intersoft:TableCell>
                    <Intersoft:List Margin="5 0" MarkerOffset="10" MarkerStyle="Circle">
                        <Intersoft:ListItem>
                            <Intersoft:Paragraph>
                                <Intersoft:Run>
                                    Watermark Text
                                </Intersoft:Run>
                            </Intersoft:Paragraph>
                        </Intersoft:ListItem>
                        <Intersoft:ListItem>
                            <Intersoft:Paragraph>
                                <Intersoft:Run>
                                    Automatic Masking
                                </Intersoft:Run>
                            </Intersoft:Paragraph>
                        </Intersoft:ListItem>
                    </Intersoft:List>
                </Intersoft:TableCell>
                <Intersoft:TableCell>
                    <Intersoft:List Margin="5 0" MarkerOffset="10" MarkerStyle="Circle">
                        <Intersoft:ListItem>
                            <Intersoft:Paragraph>
                                <Intersoft:Run>
                                    Clear Error Validation
                                </Intersoft:Run>
                            </Intersoft:Paragraph>
                        </Intersoft:ListItem>
                        <Intersoft:ListItem>
                            <Intersoft:Paragraph>
                                <Intersoft:Run>
                                    Customizable Appearance
                                </Intersoft:Run>
                            </Intersoft:Paragraph>
                        </Intersoft:ListItem>
                    </Intersoft:List>
                </Intersoft:TableCell>
            </Intersoft:TableRow>
        </Intersoft:TableRowGroup>
    </Intersoft:Table>
</Intersoft:FlowDocument>

In the above code, the first TableRowGroup is styled as a group row, while the next one is styled as a common row. Note that the formatting styles are applied in TableRowGroup level.

You can specify Height, MinHeight, and MaxHeight in TableRowGroup and TableRow elements. When these properties are configured in TableRowGroup, it will be applied to all rows contained in the row group. When a specific height is specified in TableRow, the content will be clipped if it exceeds the specified height.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.