New to Telerik UI for WPFStart a free 30-day trial

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

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class ColorToBrushWithOpacityConverter : IValueConverter

Inheritance: objectColorToBrushWithOpacityConverter

Implements: IValueConverter

Constructors

C#
public ColorToBrushWithOpacityConverter()

Methods

Returns the SolidColorBrush generated from the provided input.

C#
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobject

The color.

targetTypeType

Value is not respected.

parameterobject

The opacity parameter.

cultureCultureInfo

Value is not respected.

Returns:

object

This method is not implemented.

C#
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobjecttargetTypeTypeparameterobjectcultureCultureInfoReturns:

object