Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Views Namespace / CardView Class / StatCardTitleTemplate Property


    StatCardTitleTemplate Property
    Gets or sets the DataTemplate used to display the statistical-result card titles.
    Syntax
    'Declaration
     
    Public Property StatCardTitleTemplate As DataTemplate
     
    'Usage
     
    Dim instance As CardView
    Dim value As DataTemplate
     
    instance.StatCardTitleTemplate = value
     
    value = instance.StatCardTitleTemplate

    Property Value

    A reference to the DataTemplate used to display the statistical-result card titles.
    Remarks

    How the results of statistical functions are displayed can vary according to the view that is used to lay out a grid. When a grid is in a table-view layout, aligning the results of statistical functions with the columns whose values were used to calculate the result, is a common scenario that can be accomplished using a StatRow. To display the result of a statistical function in a StatRow, the ResultPropertyName property of the cell (StatCell) that has the same field name as the column whose values were used to calculate the result, can be set to the ResultPropertyName of the desired function.

    Although StatRows can be used in a card-view layout, it is recommended that a custom visual tree that contains the elements that will display the results be created.

    Requirements

    Target Platforms: Windows 11, Windows, 10, 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