Class
ColorToBrushWithOpacityConverter

Represents the converter that converts Color values with opacity as parameter to SolidColorBrush.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class ColorToBrushWithOpacityConverter : IValueConverter

Inheritance: objectColorToBrushWithOpacityConverter

Implements: IValueConverter

Constructors

ColorToBrushWithOpacityConverter()

Declaration

cs-api-definition
public ColorToBrushWithOpacityConverter()

Methods

Convert(object, Type, object, CultureInfo)

Returns the SolidColorBrush generated from the provided input.

Declaration

cs-api-definition
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

The color.

targetType

Type

Value is not respected.

parameter

object

The opacity parameter.

culture

CultureInfo

Value is not respected.

Returns

object

ConvertBack(object, Type, object, CultureInfo)

This method is not implemented.

Declaration

cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)

Parameters

value

object

targetType

Type

parameter

object

culture

CultureInfo

Returns

object