Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / StatCell Class / ResultConverterParameter Property


In This Topic
    ResultConverterParameter Property (StatCell)
    In This Topic
    Gets or sets the parameter used by the ResultConverter.
    Syntax
    'Declaration
     
    Public Property ResultConverterParameter As Object
    'Usage
     
    Dim instance As StatCell
    Dim value As Object
     
    instance.ResultConverterParameter = value
     
    value = instance.ResultConverterParameter
    public object ResultConverterParameter {get; set;}

    Property Value

    An object representing the parameter used by the ResultConverter.

    Remarks

    Composite format strings use braces ("{}") to identify place-holders, which causes an issue when providing a format string to a StatResultConverter in XAML. As a result, a StatResultConverter supports square brackets ("[]") as a substitute for braces. For example, if normally {0:#0.0} would have been used, it would be replaced with [#0.0] when using a StatResultConverter. If braces are preferred, the format string must be preceded with a closing brace (e.g., ConverterParameter={}{0:#0.0}}).

    When using square brackets, the 0: that represents the place-holder must be omitted otherwise an exception will be thrown.
    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