Share via


ModelingEnumerationConverter Class

Definition

ModelingEnumerationConverter: Class to provide the localized enum text from Ims. This is needed since .NET framework provides the list box for
listing of all the enum values.

public ref class ModelingEnumerationConverter : System::ComponentModel::TypeConverter
public class ModelingEnumerationConverter : System.ComponentModel.TypeConverter
type ModelingEnumerationConverter = class
    inherit TypeConverter
Public Class ModelingEnumerationConverter
Inherits TypeConverter
Inheritance
ModelingEnumerationConverter

Constructors

ModelingEnumerationConverter(DomainPropertyInfo, Char)

constructor

Properties

Comparer

Gets an IComparer interface that can be used to sort the values of the enumerator

Values

Gets/Sets the collection of values to be displayed.

Methods

CanConvertFrom(ITypeDescriptorContext, Type)

Gets a value indicating whether this converter can convert an object in the given source type to an enumeration object using the specified context.

CanConvertTo(ITypeDescriptorContext, Type)

Gets a value indicating whether this converter can convert an object to the given destination type using the context.

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

Converts the specified string into the internal enum value

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Convert from internan enum to the string representation.

GetStandardValues(ITypeDescriptorContext)

Gets a collection of standard values for the data type this validator is designed for.

GetStandardValuesExclusive(ITypeDescriptorContext)

Gets a value indicating whether the list of standard values returned from GetStandardValues in an exclusive list using the specified context.

GetStandardValuesSupported(ITypeDescriptorContext)

Gets a value indicating whether this object supports a standard set of values that can be picked from a list using the specified context.

Applies to