Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
TypeListConverter ( Type types ) : System.ComponentModel.Design.Serialization |
Initializes a new instance of the
|
public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool | ||
context | ITypeDescriptorContext | |
sourceType | Type | |
Результат | bool |
public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool | ||
context | ITypeDescriptorContext | |
destinationType | Type | |
Результат | bool |
public ConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
culture | ||
value | object | |
Результат | object |
public ConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
culture | ||
value | object | |
destinationType | Type | |
Результат | object |
public GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection | ||
context | ITypeDescriptorContext | |
Результат | StandardValuesCollection |
public GetStandardValuesExclusive ( ITypeDescriptorContext context ) : bool | ||
context | ITypeDescriptorContext | |
Результат | bool |
public GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool | ||
context | ITypeDescriptorContext | |
Результат | bool |
protected TypeListConverter ( Type types ) : System.ComponentModel.Design.Serialization | ||
types | Type | |
Результат | System.ComponentModel.Design.Serialization |