Class
NormalWorksheetEditorPresenter

Represents the normal worksheet editor presenter.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Worksheets

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class NormalWorksheetEditorPresenter : RadWorksheetEditorPresenterBase, IRadWorksheetEditorPresenter, IWorksheetPresenterBase

Inheritance: objectControlBaseWorksheetPresenterBaseRadWorksheetEditorPresenterBaseNormalWorksheetEditorPresenter

Implements: IRadWorksheetEditorPresenterIWorksheetPresenterBase

Inherited Members RadWorksheetEditorPresenterBase.InvalidateAndUpdateLayout()RadWorksheetEditorPresenterBase.OnKeyUp(KeyEventArgs)RadWorksheetEditorPresenterBase.OnMouseLeftButtonDown(MouseButtonEventArgs)RadWorksheetEditorPresenterBase.OnLostMouseCapture(MouseEventArgs)RadWorksheetEditorPresenterBase.OnGotFocus(RoutedEventArgs)RadWorksheetEditorPresenterBase.OnMouseMove(MouseEventArgs)RadWorksheetEditorPresenterBase.OnMouseLeftButtonUp(MouseButtonEventArgs)RadWorksheetEditorPresenterBase.OnMouseRightButtonUp(MouseButtonEventArgs)RadWorksheetEditorPresenterBase.OnMouseWheel(MouseWheelEventArgs)RadWorksheetEditorPresenterBase.DoOnSheetChanging()RadWorksheetEditorPresenterBase.DoOnSheetChanged()RadWorksheetEditorPresenterBase.ShowSelectionMarkers()RadWorksheetEditorPresenterBase.HideSelectionMarkers()RadWorksheetEditorPresenterBase.UpdateScrollBarsMinMax(CellLayoutBox)RadWorksheetEditorPresenterBase.UpdateScrollBarsMaximum(CellLayoutBox)RadWorksheetEditorPresenterBase.UpdateHorizontalScrollBar(SheetViewport, double)RadWorksheetEditorPresenterBase.UpdateVerticalScrollBar(SheetViewport, double)RadWorksheetEditorPresenterBase.SetVerticalOffset(double)RadWorksheetEditorPresenterBase.SetHorizontalOffset(double)RadWorksheetEditorPresenterBase.OnSheetViewportChanged()RadWorksheetEditorPresenterBase.OnUIUpdated(WorksheetUIUpdatedEventArgs)RadWorksheetEditorPresenterBase.IsFrozenRadWorksheetEditorPresenterBase.PointerHandlersControllerRadWorksheetEditorPresenterBase.ShouldShowSelectionMarkersRadWorksheetEditorPresenterBase.ScrollableSizeRadWorksheetEditorPresenterBase.OwnerRadWorksheetEditorPresenterBase.ScrollBarsProviderRadWorksheetEditorPresenterBase.FreezePanesChangedRadWorksheetEditorPresenterBase.UIUpdatedWorksheetPresenterBase.UILayersWorksheetPresenterBase.HorizontalOffsetWorksheetPresenterBase.VerticalOffsetWorksheetPresenterBase.SheetViewportWorksheetPresenterBase.SheetViewportChangedControlBase.GetTemplateChild<T>(string)ControlBase.GetRequiredTemplateChild<T>(string, bool)

Constructors

NormalWorksheetEditorPresenter()

Initializes a new instance of the NormalWorksheetEditorPresenter class.

Declaration

cs-api-definition
public NormalWorksheetEditorPresenter()

Methods

BringIntoView(CellIndex)

Brings the into view.

Declaration

cs-api-definition
public override void BringIntoView(CellIndex cellIndex)

Parameters

cellIndex

CellIndex

Index of the cell.

Overrides RadWorksheetEditorPresenterBase.BringIntoView(CellIndex)

GetCellIndexFromViewPoint(Point)

Gets the cell index from view point.

Declaration

cs-api-definition
public override CellIndex GetCellIndexFromViewPoint(Point point)

Parameters

point

Point

The view point.

Returns

CellIndex

The cell index.

Overrides RadWorksheetEditorPresenterBase.GetCellIndexFromViewPoint(Point)

GetDocumentPointFromViewPoint(Point)

Gets the document point from view point.

Declaration

cs-api-definition
public override Point GetDocumentPointFromViewPoint(Point point)

Parameters

point

Point

The view point.

Returns

Point

The document point.

Overrides RadWorksheetEditorPresenterBase.GetDocumentPointFromViewPoint(Point)

GetNearestCellIndexFromViewPoint(Point)

Gets the nearest cell index from view point.

Declaration

cs-api-definition
public override CellIndex GetNearestCellIndexFromViewPoint(Point point)

Parameters

point

Point

The view point.

Returns

CellIndex

The nearest cell index.

Overrides RadWorksheetEditorPresenterBase.GetNearestCellIndexFromViewPoint(Point)

GetViewPointFromDocumentPoint(Point)

Gets the view point from document point.

Declaration

cs-api-definition
public override Point GetViewPointFromDocumentPoint(Point point)

Parameters

point

Point

The document point.

Returns

Point

The view point.

Overrides RadWorksheetEditorPresenterBase.GetViewPointFromDocumentPoint(Point)

HideDropMarker()

Hides the drop marker.

Declaration

cs-api-definition
public override void HideDropMarker()

Overrides RadWorksheetEditorPresenterBase.HideDropMarker()

InitializeUILayers()

Initializes the UI layers.

Declaration

cs-api-definition
protected override void InitializeUILayers()

Overrides RadWorksheetEditorPresenterBase.InitializeUILayers()

InvalidateLayout()

Invalidates the layout.

Declaration

cs-api-definition
public override void InvalidateLayout()

Overrides WorksheetPresenterBase.InvalidateLayout()

MeasureOverride(Size)

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.

Returns

Size

The size that this element determines it needs during layout, based on its calculations of child element sizes.

MoveDropMarker(CellIndex)

Moves the drop marker.

Declaration

cs-api-definition
public override void MoveDropMarker(CellIndex position)

Parameters

position

CellIndex

The position.

Overrides RadWorksheetEditorPresenterBase.MoveDropMarker(CellIndex)

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnOwnerChanged()

Called when the owner is changed.

Declaration

cs-api-definition
protected override void OnOwnerChanged()

Overrides RadWorksheetEditorPresenterBase.OnOwnerChanged()

OnOwnerChanging()

Called when the owner is changing.

Declaration

cs-api-definition
protected override void OnOwnerChanging()

Overrides RadWorksheetEditorPresenterBase.OnOwnerChanging()

SetupUILayers()

Setups the UI layers.

Declaration

cs-api-definition
protected override void SetupUILayers()

Overrides RadWorksheetEditorPresenterBase.SetupUILayers()

ShowDropMarker(CellIndex)

Shows the drop marker.

Declaration

cs-api-definition
public override void ShowDropMarker(CellIndex position)

Parameters

position

CellIndex

The position.

Overrides RadWorksheetEditorPresenterBase.ShowDropMarker(CellIndex)

UpdateToViewWithTopLeftCellIndex(CellIndex)

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

Declaration

cs-api-definition
public override void UpdateToViewWithTopLeftCellIndex(CellIndex topLeftCellIndex)

Parameters

topLeftCellIndex

CellIndex

The desired index of the top left visible cell.

Overrides RadWorksheetEditorPresenterBase.UpdateToViewWithTopLeftCellIndex(CellIndex)