ClassOpacityConverter
Class
Adds opacity to a specified Color or SolidColorBrush.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
cs-api-definition
public class OpacityConverter : IValueConverter
Inheritance: objectOpacityConverter
Implements:
Constructors
OpacityConverter()
Declaration
cs-api-definition
public OpacityConverter()
Methods
Convert(object, Type, object, CultureInfo)
Converts the specified value.
Declaration
cs-api-definition
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
cs-api-definition
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.