Class IsSymbolFontConverter
This class is responsible for checking whether font is symbolic.
Inheritance
System.Object
IsSymbolFontConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.Windows.Tools
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class IsSymbolFontConverter : Object, IValueConverter
Constructors
IsSymbolFontConverter()
Declaration
public IsSymbolFontConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Checks whether the font is symbolic.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Font to be checked. |
System.Type | targetType | Type which represents result. |
System.Object | parameter | Does not matter. |
System.Globalization.CultureInfo | culture | Currently used culture. |
Returns
Type | Description |
---|---|
System.Object | True if font is symbolic, otherwise false. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | The value parameter is not of type System.Windows.Media.FontFamily. |
ConvertBack(Object, Type, Object, CultureInfo)
This method is not used.
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 | The type to convert to. |
System.Object | parameter | The converter parameter to use. |
System.Globalization.CultureInfo | culture | The culture to use in the converter. |
Returns
Type | Description |
---|---|
System.Object | A converted value. If the method returns null, the valid null value is used. |
Implements
System.Windows.Data.IValueConverter