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:
C#
public class RatingStringToItemShapeTypeConverter : GeometryTypeConverter
Inheritance: objectTypeConverterGeometryTypeConverterRatingStringToItemShapeTypeConverter
Inherited Members
Constructors
C#
public RatingStringToItemShapeTypeConverter()
Methods
Converts a string value to a RadGeometry object representing a rating item shape.
C#
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
An ITypeDescriptorContext that provides a format context.
cultureCultureInfoThe CultureInfo to use as the current culture.
valueobjectReturns:A RadGeometry object if the conversion is successful; otherwise, delegates to the base converter.
Overrides: