Class SunburstChartPaletteConverter
Sets the brush to paint the interior of the selected segment.
Inheritance
System.Object
SunburstChartPaletteConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.SunburstChart
Assembly: Syncfusion.SfSunburstChart.WPF.dll
Syntax
public class SunburstChartPaletteConverter : Object, IValueConverter
Constructors
SunburstChartPaletteConverter(SfSunburstChart)
Initializes a new instance of the SunburstChartPaletteConverter class.
Declaration
public SunburstChartPaletteConverter(SfSunburstChart chart)
Parameters
Type | Name | Description |
---|---|---|
SfSunburstChart | chart | Gets the SfSunburstChart class instance. |
Methods
Convert(Object, Type, Object, CultureInfo)
Modifies the source data before passing it to the target.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Value produced by the binding source. |
System.Type | targetType | Type of the binding target property. |
System.Object | parameter | The converter parameter. |
System.Globalization.CultureInfo | culture | The culture to use in the converter. |
Returns
Type | Description |
---|---|
System.Object | A converted value. |
ConvertBack(Object, Type, Object, CultureInfo)
Modifies the source data before passing it to the target.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value that is produced by the binding target. |
System.Type | targetType | Type of the binding target property. |
System.Object | parameter | The converter parameter. |
System.Globalization.CultureInfo | culture | The culture to use in the converter. |
Returns
Type | Description |
---|---|
System.Object | Converted value. |
Implements
System.Windows.Data.IValueConverter