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