ClassRatingStringToItemShapeTypeConverter
Provides a type converter that converts string values to RadGeometry instances for rating item shapes. This converter extends GeometryTypeConverter to support predefined shape names like "star", "diamond", "circle", and "heart".
Definition
Namespace:Telerik.Maui.Controls.Rating
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RatingStringToItemShapeTypeConverter : GeometryTypeConverter
Inheritance: objectTypeConverterGeometryTypeConverterRatingStringToItemShapeTypeConverter
Inherited Members
Constructors
RatingStringToItemShapeTypeConverter()
Declaration
public RatingStringToItemShapeTypeConverter()
Methods
ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
Converts a string value to a RadGeometry object representing a rating item shape.
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
context
An ITypeDescriptorContext that provides a format context.
culture
The CultureInfo to use as the current culture.
value
Returns
A RadGeometry object if the conversion is successful; otherwise, delegates to the base converter.
Overrides