Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinCalculator Class / SetValue Method / SetValue(Decimal) Method
The value to add.


In This Topic
    SetValue(Decimal) Method
    In This Topic
    Assigns a System.Decimal value to the WinCalculator's formula box.
    Syntax
    'Declaration
     
    Public Overloads Sub SetValue( _
       ByVal d As Decimal _
    ) 
    'Usage
     
    Dim instance As WinCalculator
    Dim d As Decimal
     
    instance.SetValue(d)
    public void SetValue( 
       decimal d
    )

    Parameters

    d
    The value to add.
    Remarks

    Any and all values or mathematical equations currently in the formula box will be replaced by the new 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