Class AspectRatioConverter
Converts from a string to an aspect ratio. For more information AspectRatio.
Inheritance
System.Object
AspectRatioConverter
Namespace: Telerik.Maui.Controls.ImageEditor
Assembly: Telerik.Maui.Controls.dll
Syntax
public class AspectRatioConverter : TypeConverter
Constructors
AspectRatioConverter()
Declaration
public AspectRatioConverter()
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Type
sourceType
|
Returns
System.Boolean
|
CanConvertTo(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Type
destinationType
|
Returns
System.Boolean
|
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Declaration
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Globalization.CultureInfo
culture
|
System.Object
value
|
Returns
System.Object
|
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Declaration
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Parameters
System.ComponentModel.ITypeDescriptorContext
context
|
System.Globalization.CultureInfo
culture
|
System.Object
value
|
System.Type
destinationType
|
Returns
System.Object
|