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