ClassVisualToVisualBrushConverter
Represents converter, which converts Visual value to VisualBrush and sets the value as Visual of the brush.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class VisualToVisualBrushConverter : IValueConverter
Inheritance: objectVisualToVisualBrushConverter
Implements:
Constructors
VisualToVisualBrushConverter()
Declaration
public VisualToVisualBrushConverter()
Methods
Convert(object, Type, object, CultureInfo)
Converts the specified Visual to a VisualBrush and sets the value as Visual of the brush.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
The value.
targetType
Type of the target.
parameter
The parameter.
culture
The culture.
Returns
ConvertBack(object, Type, object, CultureInfo)
Modifies the target data before passing it to the source object. This method is called only in bindings.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
value
The target data being passed to the source.
targetType
The Type of data expected by the source object.
parameter
An optional parameter to be used in the converter logic.
culture
The culture of the conversion.
Returns
The value to be passed to the source object.