Method | Description | |
---|---|---|
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool |
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 context, Type destinationType ) : bool |
Gets a value indicating whether this converter can convert an object to the given destination type using the context.
|
|
ConvertFrom ( ITypeDescriptorContext context, |
Converts the specified value object to an enumeration object.
|
|
ConvertTo ( ITypeDescriptorContext context, |
Converts the given value object to the specified destination type.
|
|
GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection |
Gets a collection of standard values for the data type this validator is designed for.
|
|
GetStandardValuesExclusive ( ITypeDescriptorContext context ) : bool |
Gets a value indicating whether the list of standard values returned from
|
|
GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool |
Gets a value indicating whether this object supports a standard set of values that can be picked from a list using the specified context.
|
Method | Description | |
---|---|---|
TypeListConverter ( Type types ) : System.ComponentModel.Design.Serialization |
Initializes a new instance of the
|
public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool | ||
context | ITypeDescriptorContext | |
sourceType | Type | |
return | bool |
public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool | ||
context | ITypeDescriptorContext | |
destinationType | Type | |
return | bool |
public ConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
culture | ||
value | object | |
return | object |
public ConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
culture | ||
value | object | |
destinationType | Type | |
return | object |
public GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection | ||
context | ITypeDescriptorContext | |
return | StandardValuesCollection |
public GetStandardValuesExclusive ( ITypeDescriptorContext context ) : bool | ||
context | ITypeDescriptorContext | |
return | bool |
public GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool | ||
context | ITypeDescriptorContext | |
return | bool |
protected TypeListConverter ( Type types ) : System.ComponentModel.Design.Serialization | ||
types | Type | |
return | System.ComponentModel.Design.Serialization |