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

Represents the normal worksheet editor presenter.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Worksheets

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
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

Initializes a new instance of the NormalWorksheetEditorPresenter class.

C#
public NormalWorksheetEditorPresenter()

Methods

Brings the into view.

C#
public override void BringIntoView(CellIndex cellIndex)
Parameters:cellIndexCellIndex

Index of the cell.

Overrides: RadWorksheetEditorPresenterBase.BringIntoView(CellIndex)

Gets the cell index from view point.

C#
public override CellIndex GetCellIndexFromViewPoint(Point point)
Parameters:pointPoint

The view point.

Returns:

CellIndex

The cell index.

Overrides: RadWorksheetEditorPresenterBase.GetCellIndexFromViewPoint(Point)

Gets the document point from view point.

C#
public override Point GetDocumentPointFromViewPoint(Point point)
Parameters:pointPoint

The view point.

Returns:

Point

The document point.

Overrides: RadWorksheetEditorPresenterBase.GetDocumentPointFromViewPoint(Point)

Gets the nearest cell index from view point.

C#
public override CellIndex GetNearestCellIndexFromViewPoint(Point point)
Parameters:pointPoint

The view point.

Returns:

CellIndex

The nearest cell index.

Overrides: RadWorksheetEditorPresenterBase.GetNearestCellIndexFromViewPoint(Point)

Gets the view point from document point.

C#
public override Point GetViewPointFromDocumentPoint(Point point)
Parameters:pointPoint

The document point.

Returns:

Point

The view point.

Overrides: RadWorksheetEditorPresenterBase.GetViewPointFromDocumentPoint(Point)

Hides the drop marker.

C#
public override void HideDropMarker()

Overrides: RadWorksheetEditorPresenterBase.HideDropMarker()

Initializes the UI layers.

C#
protected override void InitializeUILayers()

Overrides: RadWorksheetEditorPresenterBase.InitializeUILayers()

Invalidates the layout.

C#
public override void InvalidateLayout()

Overrides: WorksheetPresenterBase.InvalidateLayout()

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

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSize

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.

Moves the drop marker.

C#
public override void MoveDropMarker(CellIndex position)
Parameters:positionCellIndex

The position.

Overrides: RadWorksheetEditorPresenterBase.MoveDropMarker(CellIndex)

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

C#
public override void OnApplyTemplate()

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Called when the owner is changed.

C#
protected override void OnOwnerChanged()

Overrides: RadWorksheetEditorPresenterBase.OnOwnerChanged()

Called when the owner is changing.

C#
protected override void OnOwnerChanging()

Overrides: RadWorksheetEditorPresenterBase.OnOwnerChanging()

Setups the UI layers.

C#
protected override void SetupUILayers()

Overrides: RadWorksheetEditorPresenterBase.SetupUILayers()

Shows the drop marker.

C#
public override void ShowDropMarker(CellIndex position)
Parameters:positionCellIndex

The position.

Overrides: RadWorksheetEditorPresenterBase.ShowDropMarker(CellIndex)

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

C#
public override void UpdateToViewWithTopLeftCellIndex(CellIndex topLeftCellIndex)
Parameters:topLeftCellIndexCellIndex

The desired index of the top left visible cell.

Overrides: RadWorksheetEditorPresenterBase.UpdateToViewWithTopLeftCellIndex(CellIndex)