Class
UIUpdateContext

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:

cs-api-definition
public abstract class UIUpdateContext

Inheritance: objectUIUpdateContext

Derived Classes: WorksheetUIUpdateContextBase

Constructors

UIUpdateContext(IUILayerOwner, SheetViewport, Size)

Initializes a new instance of the UIUpdateContext class.

Declaration

cs-api-definition
protected UIUpdateContext(IUILayerOwner owner, SheetViewport sheetViewport, Size scaleFactor)

Parameters

owner

IUILayerOwner

The owner.

sheetViewport

SheetViewport

The sheetViewport.

scaleFactor

Size

The scale factor.

Properties

Owner

Gets the owner.

Declaration

cs-api-definition
public IUILayerOwner Owner { get; }

Property Value

IUILayerOwner

The owner.

ScaleFactor

Gets the scale factor.

Declaration

cs-api-definition
public Size ScaleFactor { get; }

Property Value

Size

The scale factor.

SheetViewport

Gets the sheet viewport.

Declaration

cs-api-definition
public SheetViewport SheetViewport { get; }

Property Value

SheetViewport

The sheet viewport.

Methods

Translate(Point, ViewportPaneType)

Translates the specified point.

Declaration

cs-api-definition
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

cs-api-definition
public Rect Translate(Rect rect, ViewportPaneType viewportPaneType)

Parameters

rect

Rect

The rectangle.

viewportPaneType

ViewportPaneType

Type of the viewport pane.

Returns

Rect

The translated rectangle.