DoubleToIntConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts System.Double to System.Int32 and vice versa.
[Xamarin.Forms.ContentProperty("Ratio")]
public class DoubleToIntConverter : Xamarin.CommunityToolkit.Extensions.Internals.ValueConverterExtension, Xamarin.Forms.IValueConverter
- Inheritance
- Attributes
- Implements
Constructors
DoubleToIntConverter() |
Properties
Ratio |
Multiplier / Denominator (Equals 1 by default). |
Methods
Convert(Object, Type, Object, CultureInfo) |
Converts System.Double to System.Int32. |
ConvertBack(Object, Type, Object, CultureInfo) |
Converts back System.Int32 to System.Double. |
ProvideValue(IServiceProvider) | (Inherited from ValueConverterExtension) |
Explicit Interface Implementations
IMarkupExtension.ProvideValue(IServiceProvider) | (Inherited from ValueConverterExtension) |