Xceed Grid for WinForms v4.3 Documentation
FormatProvider Property (SummaryRow)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > SummaryRow Class : FormatProvider Property
Gets or sets the custom Format Provider that will be used to format the variables contained in the TextFormat and TitleFormat properties.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
Public Property FormatProvider As IFormatProvider
'Usage
 
Dim instance As SummaryRow
Dim value As IFormatProvider
 
instance.FormatProvider = value
 
value = instance.FormatProvider
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public IFormatProvider FormatProvider {get; set;}

Property Value

A reference to a class that implements the System.IFormatProvider interface that will be used to format the variables contained in the TextFormat and TitleFormat properties.
Remarks

The list of values that can be passed to the FormatSpecifier property can be found in the "Format Specifiers and Format Providers" topic of the .NET Framework.

If the FormatProvider property has not been explicitly set, the format provider of the column whose values are used to calculate the statistical function (StatFieldName) will be used.

To reset the value of the FormatProvider property to its default value, DefaultFormatProvider, the ResetFormatProvider method must be called.

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

SummaryRow Class
SummaryRow Members
ResetFormatProvider Method
DefaultFormatProvider Property