Interface
IRadWorksheetEditorPresenter

Represents RadWorksheetEditor presenter.

Definition

Properties

Owner

Gets or sets the owner.

Declaration

cs-api-definition
RadWorksheetEditor Owner { get; set; }

Property Value

RadWorksheetEditor

The owner.

PointerHandlersController

Gets the pointer handlers controller.

Declaration

cs-api-definition
PointerHandlersController PointerHandlersController { get; }

Property Value

PointerHandlersController

The pointer handlers controller.

ScrollBarsProvider

Gets or sets the scroll bars provider.

Declaration

cs-api-definition
IScrollBarsProvider ScrollBarsProvider { get; set; }

Property Value

IScrollBarsProvider

The scroll bars provider.

ShouldShowSelectionMarkers

Gets the value indicating if should show selection markers.

Declaration

cs-api-definition
bool ShouldShowSelectionMarkers { get; }

Property Value

bool

The value indicating if should show selection markers.

Methods

BringIntoView(CellIndex)

Brings the into view.

Declaration

cs-api-definition
void BringIntoView(CellIndex cellIndex)

Parameters

cellIndex

CellIndex

Index of the cell.

Focus()

Focuses this instance.

Declaration

cs-api-definition
void Focus()

GetCellIndexFromViewPoint(Point)

Gets the cell index from view point.

Declaration

cs-api-definition
CellIndex GetCellIndexFromViewPoint(Point point)

Parameters

point

Point

The view point.

Returns

CellIndex

The cell index.

GetDocumentPointFromViewPoint(Point)

Gets the document point from view point.

Declaration

cs-api-definition
Point GetDocumentPointFromViewPoint(Point point)

Parameters

point

Point

The view point.

Returns

Point

The document point.

GetNearestCellIndexFromViewPoint(Point)

Gets the nearest cell index from view point.

Declaration

cs-api-definition
CellIndex GetNearestCellIndexFromViewPoint(Point point)

Parameters

point

Point

The view point.

Returns

CellIndex

The nearest cell index.

GetViewPointFromDocumentPoint(Point)

Gets the view point from document point.

Declaration

cs-api-definition
Point GetViewPointFromDocumentPoint(Point point)

Parameters

point

Point

The document point.

Returns

Point

The view point.

HideDropMarker()

Hides the drop marker.

Declaration

cs-api-definition
void HideDropMarker()

HideSelectionMarkers()

Hides the selection markers.

Declaration

cs-api-definition
void HideSelectionMarkers()

MoveDropMarker(CellIndex)

Moves the drop marker.

Declaration

cs-api-definition
void MoveDropMarker(CellIndex position)

Parameters

position

CellIndex

The position.

SetHorizontalOffset(double)

Sets the horizontal offset.

Declaration

cs-api-definition
void SetHorizontalOffset(double offset)

Parameters

offset

double

The offset.

SetVerticalOffset(double)

Sets the vertical offset.

Declaration

cs-api-definition
void SetVerticalOffset(double offset)

Parameters

offset

double

The offset.

ShowDropMarker(CellIndex)

Shows the drop marker.

Declaration

cs-api-definition
void ShowDropMarker(CellIndex position)

Parameters

position

CellIndex

The position.

ShowSelectionMarkers()

Shows the selection markers.

Declaration

cs-api-definition
void ShowSelectionMarkers()

UpdateToViewWithTopLeftCellIndex(CellIndex)

Updates the view port so the top left cell index is the desired one.

Declaration

cs-api-definition
void UpdateToViewWithTopLeftCellIndex(CellIndex topLeftCellIndex)

Parameters

topLeftCellIndex

CellIndex

The desired index of the top left visible cell.

Events

UIUpdated

Occurs when the UI is updated.

Declaration

cs-api-definition
event EventHandler<WorksheetUIUpdatedEventArgs> UIUpdated

Event Value

EventHandler<WorksheetUIUpdatedEventArgs>