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


Xceed.Grid.Reporting.v4.3 Assembly > Xceed.Grid.Reporting Namespace > HeaderFooter Class : FormatProvider Property
Gets or sets the custom Format Provider that will be used to format the HeaderFooterElement's content when the TextFormat property contains macros that use the format parameter.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<DefaultValueAttribute("")>
<XmlIgnoreAttribute()>
Public Property FormatProvider As IFormatProvider
'Usage
 
Dim instance As HeaderFooter
Dim value As IFormatProvider
 
instance.FormatProvider = value
 
value = instance.FormatProvider
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[DefaultValue("")]
[XmlIgnore()]
public IFormatProvider FormatProvider {get; set;}

Property Value

A reference to a class that implements the System.IFormatProvider interface. By default, a null reference (Nothing in Visual Basic).
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.

The value of the FormatProvider property will not be saved in the XML file when a Report is saved.

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

HeaderFooter Class
HeaderFooter Members