Class RadialMenuRadiusToWidthConverter
Inheritance
System.Object
RadialMenuRadiusToWidthConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.Windows.Controls.Navigation
Assembly: Syncfusion.SfRadialMenu.Wpf.dll
Syntax
public class RadialMenuRadiusToWidthConverter : Object, IValueConverter
Constructors
RadialMenuRadiusToWidthConverter()
Declaration
public RadialMenuRadiusToWidthConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts the Radius to width
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | input value |
System.Type | targetType | target type |
System.Object | parameter | input parameter |
System.Globalization.CultureInfo | language | input language |
Returns
Type | Description |
---|---|
System.Object | converted value as object |
ConvertBack(Object, Type, Object, CultureInfo)
Converts the width back into radius
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | input value |
System.Type | targetType | target type |
System.Object | parameter | input parameter |
System.Globalization.CultureInfo | language | input language |
Returns
Type | Description |
---|---|
System.Object | converted value as object |
Implements
System.Windows.Data.IValueConverter