Skip to main content
A newer version of this page is available.
All docs
V18.2

Type Properties in DC

The example below illustrates how to implement Type Properties in a Domain Component interface.

using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.ExpressApp.Utils;
// ...
[ValueConverter(typeof(TypeToStringConverter))]
[TypeConverter(typeof(LocalizedClassInfoTypeConverter))]
[Size(SizeAttribute.Unlimited)]
public Type DataType { get; set;}