Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.Reporting.v4.3 Assembly / Xceed.Grid.Reporting Namespace / HeaderFooterElement Class / FormatProvider Property


In This Topic
    FormatProvider Property (HeaderFooterElement)
    In This Topic
    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 HeaderFooterElement
    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.
    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