New to Telerik UI for WinFormsStart a free 30-day trial

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: WorksheetUIUpdateContextBase

Constructors

Initializes a new instance of the UIUpdateContext class.

C#
protected UIUpdateContext(IUILayerOwner owner, SheetViewport sheetViewport, Size scaleFactor)
Parameters:ownerIUILayerOwner

The owner.

sheetViewportSheetViewport

The sheetViewport.

scaleFactorSize

The scale factor.

Properties

Gets the owner.

C#
public IUILayerOwner Owner { get; }
Property Value:

The owner.

Gets the scale factor.

C#
public Size ScaleFactor { get; }
Property Value:

The scale factor.

Gets the sheet viewport.

C#
public SheetViewport SheetViewport { get; }
Property Value:

The sheet viewport.

Methods

Translates the specified point.

C#
public Point Translate(Point point, ViewportPaneType viewportPaneType)
Parameters:pointPoint

The point.

viewportPaneTypeViewportPaneType

Type of the viewport pane.

Returns:

Point

The translated point.

Translates the specified rectangle.

C#
public Rect Translate(Rect rect, ViewportPaneType viewportPaneType)
Parameters:rectRect

The rectangle.

viewportPaneTypeViewportPaneType

Type of the viewport pane.

Returns:

Rect

The translated rectangle.