Class ValueConverterAttribute
- Namespace
- DevExpress.Xpo
- Assembly
- DevExpress.Xpo.v24.1.dll
Specifies that a property is made persistent using a Value Converter.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, Inherited = true)]
public sealed class ValueConverterAttribute : Attribute
- Inheritance
-
ValueConverterAttribute
- Inherited Members
Constructors
ValueConverterAttribute(Type)
Initializes a new instance of the ValueConverter class.
public ValueConverterAttribute(Type converterType)
Parameters
converterType
TypeThe Type of the converter. This value is assigned to the ValueConverterAttribute.ConverterType property.
Properties
Converter
Gets the value converter.
public ValueConverter Converter { get; }
Property Value
- ValueConverter
A ValueConverter descendant which represents the value converter.
ConverterType
Gets the converter’s type.
public Type ConverterType { get; set; }