Intersoft ClientUI Documentation
ColumnFooterVisibility Property



Gets or sets a value that determines whether the column footer is visible.
Syntax
<CategoryAttribute("Layout")>
Public Property ColumnFooterVisibility As Visibility
Dim instance As UXGridView
Dim value As Visibility
 
instance.ColumnFooterVisibility = value
 
value = instance.ColumnFooterVisibility
[CategoryAttribute("Layout")]
public Visibility ColumnFooterVisibility {get; set;}
[CategoryAttribute("Layout")]
public:
property Visibility ColumnFooterVisibility {
   Visibility get();
   void set (    Visibility value);
}
Remarks
To display aggregate values of a UXGridViewBoundColumn, you set the ColumnFooterVisibility property to Visible and specify the Aggregate property to the desired aggregate mode. You can also specify a string format to the aggregate value through the provided FooterFormatString property.
Example
XAML
Copy Code
<Intersoft:UXGridView ColumnFooterVisibility="Visible" 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>
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXGridView Class
UXGridView Members

Send Feedback