Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinCalculator Class / FormatProvider Property


In This Topic
    FormatProvider Property (WinCalculator)
    In This Topic
    Gets or sets the custom Format Provider that will be used to format the mathematical expression in the formula box.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    Public Property FormatProvider As IFormatProvider
    'Usage
     
    Dim instance As WinCalculator
    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.
    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.

    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