New to Telerik UI for WPFStart a free 30-day trial

Represents converter that converts a glyph string value to a glyph number that can be data bound.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class StringToGlyphConverter : IValueConverter

Inheritance: objectStringToGlyphConverter

Implements: IValueConverter

Constructors

C#
public StringToGlyphConverter()

Methods

Converts a glyph string value to a glyph number that can be data bound.

C#
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobject

The glyph string value that will be used for conversion.

targetTypeType

This parameter is not used.

parameterobject

This parameter is not used.

cultureCultureInfo

This parameter is not used.

Returns:

object

A glyph number presentation of the object.

Converts a value.

C#
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobject

The value that is produced by the binding target.

targetTypeType

The type to convert to.

parameterobject

The converter parameter to use.

cultureCultureInfo

The culture to use in the converter.

Returns:

object

A null value. The method is not implemented.