skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    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
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • 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 RControl

Adapter for platform specific control object - used to handle updating the control that the html is rendered on.
Not relevant for platforms that don't render HTML on UI element.

Inheritance
System.Object
RControl
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TheArtOfDev.HtmlRenderer.Adapters
Assembly: Telerik.WinControls.RadMap.dll

Syntax

public abstract class RControl

Constructors

RControl(RAdapter)

Init control with platform adapter.

Declaration
protected RControl(RAdapter adapter)
Parameters
RAdapter adapter

Properties

Adapter

The platform adapter.

Declaration
public RAdapter Adapter { get; }
Property Value
RAdapter

LeftMouseButton

Is the left mouse button is currently in pressed state

Declaration
public abstract bool LeftMouseButton { get; }
Property Value
System.Boolean

MouseLocation

Get the current location of the mouse relative to the control

Declaration
public abstract RPoint MouseLocation { get; }
Property Value
RPoint

RightMouseButton

Is the right mouse button is currently in pressed state

Declaration
public abstract bool RightMouseButton { get; }
Property Value
System.Boolean

Methods

DoDragDropCopy(Object)

Do drag-drop copy operation for the given data object.

Declaration
public abstract void DoDragDropCopy(object dragDropData)
Parameters
System.Object dragDropData

the drag-drop data object

Invalidate()

Invalidates the entire surface of the control and causes the control to be redrawn.

Declaration
public abstract void Invalidate()

MeasureString(String, RFont, Double, out Int32, out Double)

Measure the width of string under max width restriction calculating the number of characters that can fit and the width those characters take.

Declaration
public abstract void MeasureString(string str, RFont font, double maxWidth, out int charFit, out double charFitWidth)
Parameters
System.String str

the string to measure

RFont font

the font to measure string with

System.Double maxWidth

the max width to calculate fit characters

System.Int32 charFit

the number of characters that will fit under the maxWidth restriction

System.Double charFitWidth

the width that only the characters that fit into max width take

SetCursorDefault()

Set the cursor over the control to default cursor

Declaration
public abstract void SetCursorDefault()

SetCursorHand()

Set the cursor over the control to hand cursor

Declaration
public abstract void SetCursorHand()

SetCursorIBeam()

Set the cursor over the control to I beam cursor

Declaration
public abstract void SetCursorIBeam()

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

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.