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:
C#
public class VisualToVisualBrushConverter : IValueConverter
Inheritance: objectVisualToVisualBrushConverter
Implements:
Constructors
C#
public VisualToVisualBrushConverter()
Methods
Converts the specified Visual to a VisualBrush and sets the value as Visual of the brush.
C#
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
The value.
targetTypeTypeType of the target.
parameterobjectThe parameter.
cultureCultureInfoThe culture.
Returns:Modifies the target data before passing it to the source object. This method is called only in bindings.
C#
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
The target data being passed to the source.
targetTypeTypeThe Type of data expected by the source object.
parameterobjectAn optional parameter to be used in the converter logic.
cultureCultureInfoThe culture of the conversion.
Returns:The value to be passed to the source object.