C# Class CK.Plugins.ObjectExplorer.SimpleStringFormatConverter

Converter that takes as ConverterParameter a string format and takes as value the variable (binding) to insert into the string format Used to allow localization with binding
Inheritance: IValueConverter
Show file Open project: Invenietis/ck-certified

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, System culture ) : object

"value" should contain the value of the binding (the variable) "parameter" should contain the string format

ConvertBack ( object value, Type targetType, object parameter, System culture ) : object

Method Details

Convert() public method

"value" should contain the value of the binding (the variable) "parameter" should contain the string format
public Convert ( object value, Type targetType, object parameter, System culture ) : object
value object
targetType System.Type
parameter object
culture System
return object

ConvertBack() public method

public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object
targetType System.Type
parameter object
culture System
return object