Share via


ElementPropertyDescriptor.Converter Property

Gets the converter for the described property.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property Converter As TypeConverter
public override TypeConverter Converter { get; }
public:
virtual property TypeConverter^ Converter {
    TypeConverter^ get () override;
}
abstract Converter : TypeConverter
override Converter : TypeConverter
override function get Converter () : TypeConverter

Property Value

Type: System.ComponentModel.TypeConverter
A converter for converting values to and from the type of the described property.

Remarks

If the described property is an enumeration and the TypeConverterAttribute attribute is not applied to either the type of the property or the DomainPropertyInfo that is used to create this descriptor, then a ModelingEnumerationConverter is returned.

.NET Framework Security

See Also

Reference

ElementPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace

ModelingEnumerationConverter

DomainPropertyInfo

TypeConverterAttribute