Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Converters Namespace / NegativeDoubleConverter Class
Members


In This Topic
    NegativeDoubleConverter Class
    In This Topic
    Represents a value converter used to convert Double values to their opposite negative or positive value.
    Syntax
    'Declaration
     
    <ValueConversionAttribute(System.Double, System.Double)>
    Public Class NegativeDoubleConverter 
    'Usage
     
    Dim instance As NegativeDoubleConverter
    [ValueConversion(System.Double, System.Double)]
    public class NegativeDoubleConverter 
    Remarks
    For example, if 500 is passed, it will be converted to -500.
    Inheritance Hierarchy

    System.Object
       Xceed.Wpf.DataGrid.Converters.NegativeDoubleConverter

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the NegativeDoubleConverter class.  
    Top
    Public Methods
     NameDescription
    Public Method

    Converts a value. The data binding engine calls this method when it propagates a value from the binding source to the binding target. This method only supports Double values.

     
    Public Method

    Reverts a converted value. The data binding engine calls this method when it propagates a value from the binding target to the binding source. This method only supports Double values.

     
    Top
    Requirements

    Target Platforms: Windows 11, Windows 10, 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