Class UIUpdateContext
Provides the base class from which the classes that represent UI update contexts are derived.
Inheritance
Namespace: Telerik.Windows.Controls.Spreadsheet
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public abstract class UIUpdateContext : Object
Constructors
UIUpdateContext(IUILayerOwner, SheetViewport, Size)
Initializes a new instance of the UIUpdate
Declaration
protected UIUpdateContext(IUILayerOwner owner, SheetViewport sheetViewport, Size scaleFactor)
Parameters
IUILayer The owner. |
Telerik. The sheetViewport. |
System. The scale factor. |
Properties
Owner
Gets the owner.
Declaration
public IUILayerOwner Owner { get; }
Property Value
IUILayer The owner. |
ScaleFactor
Gets the scale factor.
Declaration
public Size ScaleFactor { get; }
Property Value
System. The scale factor. |
SheetViewport
Gets the sheet viewport.
Declaration
public SheetViewport SheetViewport { get; }
Property Value
Telerik. The sheet viewport. |
Methods
Translate(Point, ViewportPaneType)
Translates the specified point.
Declaration
public Point Translate(Point point, ViewportPaneType viewportPaneType)
Parameters
System. The point. |
Telerik. Type of the viewport pane. |
Returns
System. The translated point. |
Translate(Rect, ViewportPaneType)
Translates the specified rectangle.
Declaration
public Rect Translate(Rect rect, ViewportPaneType viewportPaneType)
Parameters
System. The rectangle. |
Telerik. Type of the viewport pane. |
Returns
System. The translated rectangle. |