Intersoft ClientUI Documentation
TableRowGroup Class
Members  See Also  Send Feedback
Intersoft.Client.Documents Namespace : TableRowGroup Class






Represents a flow content element used to group TableRow elements within a Table.

Object Model

TableRowGroup Class

Syntax

Visual Basic (Declaration) 
<ContentPropertyAttribute("Rows")>
Public Class TableRowGroup 
   Inherits TextElement
Visual Basic (Usage)Copy Code
Dim instance As TableRowGroup
C# 
[ContentPropertyAttribute("Rows")]
public class TableRowGroup : TextElement 
Delphi 
public class TableRowGroup = class(TextElement)
JScript 
ContentPropertyAttribute("Rows")
public class TableRowGroup extends TextElement
Managed Extensions for C++ 
[ContentPropertyAttribute("Rows")]
public __gc class TableRowGroup : public TextElement 
C++/CLI 
[ContentPropertyAttribute("Rows")]
public ref class TableRowGroup : public TextElement 

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.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      Intersoft.Client.Documents.TextElement
         Intersoft.Client.Documents.TableRowGroup

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.