skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Resources Hub
    • .NET MAUI Tutorials and Learning
    • First Steps
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Migrate to .NET MAUI
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ProgressToRotationConverter

Represents a value converter that converts a progress value to a rotation angle. This converter multiplies the input progress value by the Rotation property to calculate the rotation angle.

Inheritance
System.Object
ProgressToRotationConverter
Namespace: Telerik.Maui.Controls.Scheduler
Assembly: Telerik.Maui.Controls.dll

Syntax

public class ProgressToRotationConverter : Object, IValueConverter
Remarks

This converter is commonly used in UI scenarios where progress needs to be visualized as rotation, such as progress indicators or animated elements in the scheduler.

Constructors

ProgressToRotationConverter()

Declaration
public ProgressToRotationConverter()

Properties

Rotation

Gets or sets the rotation multiplier used to calculate the final rotation angle.

Declaration
public double Rotation { get; set; }
Property Value
System.Double

A System.Double value that represents the rotation multiplier. The progress value will be multiplied by this value to determine the final rotation angle.

Methods

Convert(Object, Type, Object, CultureInfo)

Converts a progress value to a rotation angle by multiplying it with the Rotation property.

Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object value

The source value to convert. Expected to be a System.Double representing progress.

System.Type targetType

The type of the binding target property. This parameter is not used.

System.Object parameter

The converter parameter to use. This parameter is not used.

System.Globalization.CultureInfo culture

The culture to use in the converter. This parameter is not used.

Returns
System.Object

A System.Double representing the calculated rotation angle if the input value is a valid progress value; otherwise, returns 0.

ConvertBack(Object, Type, Object, CultureInfo)

Converts a rotation angle back to a progress value. This operation is not supported.

Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object value

The target value that was produced by the binding target.

System.Type targetType

The type to convert to.

System.Object parameter

The converter parameter to use.

System.Globalization.CultureInfo culture

The culture to use in the converter.

Returns
System.Object

This method always throws System.NotImplementedException.

Exceptions
System.NotImplementedException

Always thrown as reverse conversion is not supported.

Extension Methods

AndroidTypeConversionExtensions.ToJavaObject(Object)
Sample Applications
  • Controls Samples App
  • Crypto Tracker App
Support Resources
  • .NET MAUI SDKBrowser App
Community
  • Forums
  • Blogs
  • Feedback Portal
  • YouTube Channel

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.