Attribute to declare the DoubleConverter in a property of user-defined class.

Namespace: Dapfor.Wpf.Converters
Assembly: Dapfor.Wpf (in Dapfor.Wpf.dll) Version: 4.1.0.26317 (4.1.0.26317)

Syntax

C#
public sealed class DoubleConverterAttribute : ConverterBaseAttribute
Visual Basic
Public NotInheritable Class DoubleConverterAttribute
	Inherits ConverterBaseAttribute
Visual C++
public ref class DoubleConverterAttribute sealed : public ConverterBaseAttribute
F#
[<SealedAttribute>]
type DoubleConverterAttribute =  
    class
        inherit ConverterBaseAttribute
    end

Remarks

 Copy imageCopy
public class Product
{
    private double _price;

    [DoubleConverter(Precision = 3, ShortForm = true, ShowZero = false)]
    public double Price
    {
        get { return _price; }
    }
}

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    Dapfor.Wpf.Converters..::..ConverterBaseAttribute
      Dapfor.Wpf.Converters..::..DoubleConverterAttribute

See Also