Intersoft ClientUI Documentation
GroupFootersVisibility Property
See Also  Send Feedback
Intersoft.Client.UI.Data Namespace > UXGridView Class : GroupFootersVisibility Property






Gets or sets a value that determines whether the group footer is visible.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Layout")>
Public Property GroupFootersVisibility As Visibility
Visual Basic (Usage)Copy Code
Dim instance As UXGridView
Dim value As Visibility
 
instance.GroupFootersVisibility = value
 
value = instance.GroupFootersVisibility
C# 
[CategoryAttribute("Layout")]
public Visibility GroupFootersVisibility {get; set;}
Delphi 
public read-write property GroupFootersVisibility: Visibility; 
JScript 
CategoryAttribute("Layout")
public function get,set GroupFootersVisibility : Visibility
Managed Extensions for C++ 
[CategoryAttribute("Layout")]
public: __property Visibility get_GroupFootersVisibility();
public: __property void set_GroupFootersVisibility( 
   Visibility value
);
C++/CLI 
[CategoryAttribute("Layout")]
public:
property Visibility GroupFootersVisibility {
   Visibility get();
   void set (    Visibility value);
}

Example

XAML Copy Code
<Intersoft:UXGridView GroupFooterVisibility="Visible" GroupByBoxVisibility="Visible" CanUserGroupColumns="True" ItemsSource="{Binding Products}" >
    <Intersoft:UXGridView.Columns>
        <Intersoft:UXGridViewTextColumn Header="Category ID" Binding="{Binding CategoryID}"/>
        <Intersoft:UXGridViewTextColumn Header="Product ID" Binding="{Binding ProductID}" Aggregate="Count" FooterFormatString="Count = {0}"/>
        <Intersoft:UXGridViewTextColumn Header="Product Name" Binding="{Binding ProductName}"/>
        <Intersoft:UXGridViewTextColumn Header="Units In Stock" Binding="{Binding UnitsInStock}" Aggregate="Max" FooterFormatString="Max = {0}"/>
        <Intersoft:UXGridViewTextColumn Header="Unit Price" Binding="{Binding UnitPrice}" Aggregate="Avg" FooterFormatString="Avg = {0:n2}"/>
        <Intersoft:UXGridViewTextColumn Header="Units On Order" Binding="{Binding UnitsOnOrder}" Aggregate="Min" FooterFormatString="Min = {0}"/>
        <Intersoft:UXGridViewTextColumn Header="Quantity Per Unit" Binding="{Binding QuantityPerUnit}"/>
    </Intersoft:UXGridView.Columns>
</Intersoft:UXGridView>

You can also set multiple values on the Aggregate property such as shown in the following example.

XAML Copy Code
<Intersoft:UXGridViewTextColumn Header="Unit Price" Binding="{Binding UnitPrice}" Aggregate="Avg,Max,Min" FooterFormatString="Avg = {0} | Max = {0} | Min = {0}"/>

Remarks

UXGridView supports data aggregate in both the column and group level. To display aggregate values of a UXGridViewBoundColumn at group level, you set the GroupFootersVisibility property to Visible and specify the Aggregate property to one of the predefined value. You can also specify the string format to apply to the aggregate value by setting the GroupFooterFormatString property. If not specified, the aggregate value will be formatted using the value specified in the FooterFormatString property.

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.