Class GradientBrushToVisibilityConverter
Represents a class that converts brush to gardient property editor's visibility.
Inheritance
System.Object
GradientBrushToVisibilityConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.Windows.Tools
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class GradientBrushToVisibilityConverter : Object, IValueConverter
Constructors
GradientBrushToVisibilityConverter()
Declaration
public GradientBrushToVisibilityConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts Brush to Visibility
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Brush to be converted. |
System.Type | targetType | Type, Visibility is to be converted to. |
System.Object | parameter | Does not matter. |
System.Globalization.CultureInfo | culture | Currently used culture. Not used here. |
Returns
Type |
---|
System.Object |
ConvertBack(Object, Type, Object, CultureInfo)
Converts a value.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | value to be converted. |
System.Type | targetType | Type, to be converted to. |
System.Object | parameter | Does not matter. |
System.Globalization.CultureInfo | culture | Currently used culture. Not used here. |
Returns
Type |
---|
System.Object |
Implements
System.Windows.Data.IValueConverter