Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / Cell Class / AmbientFormatProvider Property


In This Topic
    AmbientFormatProvider Property
    In This Topic
    Gets the ambient value of the cell's FormatProvider property.
    Syntax
    'Declaration
     
    Protected Overridable ReadOnly Property AmbientFormatProvider As IFormatProvider
    'Usage
     
    Dim instance As Cell
    Dim value As IFormatProvider
     
    value = instance.AmbientFormatProvider
    protected virtual IFormatProvider AmbientFormatProvider {get;}

    Property Value

    A reference to a class that implements the System.IFormatProvider interface.
    Remarks

    The ambient format provider is the format provider inherited from the cell's parent column in the case where its own FormatProvider property is not explicitly set.

    If the value of the IsFormatProviderAmbient property is true then both the AmbientFormatProvider and FormatProvider properties will return the same value.

    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