메소드 | 설명 | |
---|---|---|
CanConvertFrom ( ITypeDescriptorContext context, |
Override the CanConvertFrom method.
|
|
CanConvertTo ( ITypeDescriptorContext context, |
Override the CanConvertTo method.
|
|
ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object |
Override the ConvertFrom method, convert a string type value to a level type value.
|
|
ConvertTo ( ITypeDescriptorContext context, System culture, object value, |
Override the ConvertTo method, convert a level type value to a string type value for displaying in the PropertyGrid.
|
|
GetLevelByID ( int id ) : Level |
Get a level by a level id.
|
|
GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection |
Override the StandardValuesCollection method for supplying a level list in the PropertyGrid.
|
|
GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool |
Override the GetStandardValuesSupported method for displaying a level list in the PropertyGrid.
|
|
SetStandardValues ( ReadOnlyCollection |
Initialize the levels data.
|
public CanConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
sourceType | ||
리턴 | bool |
public CanConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
destinationType | ||
리턴 | bool |
public ConvertFrom ( ITypeDescriptorContext context, System culture, object value ) : object | ||
context | ITypeDescriptorContext | |
culture | System | |
value | object | |
리턴 | object |
public ConvertTo ( ITypeDescriptorContext context, System culture, object value, |
||
context | ITypeDescriptorContext | |
culture | System | |
value | object | |
destinationType | ||
리턴 | object |
public static GetLevelByID ( int id ) : Level | ||
id | int | The id of the level |
리턴 | Level |
public GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection | ||
context | ITypeDescriptorContext | |
리턴 | StandardValuesCollection |
public GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool | ||
context | ITypeDescriptorContext | |
리턴 | bool |
public static SetStandardValues ( ReadOnlyCollection |
||
levels | ReadOnlyCollection |
|
리턴 | void |