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
Inherited Members
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
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()