Method | Description | |
---|---|---|
Convert ( object value, Type targetType, object parameter, |
Converts the value parameter to a visibility value.
|
|
ConvertBack ( object value, Type targetType, object parameter, |
Converts a visibility value back to an enum value.
|
public Convert ( object value, Type targetType, object parameter, |
||
value | object | The value of an enum that is to be converted. |
targetType | Type | The type to which the value is to be converted. In this case it is always visibility. |
parameter | object | A parameter that determines the value to which the value has to be equal to return visible. |
culture | The culture information of the current culture, so that parsing can be adjusted to cultural conventions. | |
return | object |
public ConvertBack ( object value, Type targetType, object parameter, |
||
value | object | The value that is to be converted. |
targetType | Type | The type to which the value is to be converted. In this case it is an enum type. |
parameter | object | A parameter whose enum value is returned. |
culture | The culture information of the current culture, so that parsing can be adjusted to cultural conventions. | |
return | object |