Intersoft ClientUI Documentation
Rows Property
See Also  Send Feedback
Intersoft.Client.Documents Namespace > TableRowGroup Class : Rows Property






Gets or sets the TableRow collection in the group.

Syntax

Visual Basic (Declaration) 
Public Property Rows As TableRowCollection
Visual Basic (Usage)Copy Code
Dim instance As TableRowGroup
Dim value As TableRowCollection
 
instance.Rows = value
 
value = instance.Rows
C# 
public TableRowCollection Rows {get; set;}
Delphi 
public read-write property Rows: TableRowCollection; 
JScript 
public function get,set Rows : TableRowCollection
Managed Extensions for C++ 
public: __property TableRowCollection* get_Rows();
public: __property void set_Rows( 
   TableRowCollection* value
);
C++/CLI 
public:
property TableRowCollection^ Rows {
   TableRowCollection^ get();
   void set (    TableRowCollection^ 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.