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