skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadWorksheetEditorPresenterBase

Provides the base class from which the classes that represent worksheet editor presenter are derived.

Inheritance
System.Object
ControlBase
WorksheetPresenterBase
RadWorksheetEditorPresenterBase
NormalWorksheetEditorPresenter
Inherited Members
WorksheetPresenterBase.InvalidateLayout()
WorksheetPresenterBase.UILayers
WorksheetPresenterBase.HorizontalOffset
WorksheetPresenterBase.VerticalOffset
WorksheetPresenterBase.SheetViewport
WorksheetPresenterBase.SheetViewportChanged
ControlBase.GetTemplateChild<T>(String)
ControlBase.GetRequiredTemplateChild<T>(String, Boolean)
Namespace: Telerik.Windows.Controls.Spreadsheet.Worksheets
Assembly: Telerik.Windows.Controls.Spreadsheet.dll

Syntax

public abstract class RadWorksheetEditorPresenterBase : WorksheetPresenterBase, IRadWorksheetEditorPresenter, IWorksheetPresenterBase

Constructors

RadWorksheetEditorPresenterBase()

Initializes a new instance of the RadWorksheetEditorPresenterBase class.

Declaration
protected RadWorksheetEditorPresenterBase()

Properties

IsFrozen

Gets the value indicating whether the panes are frozen.

Declaration
protected bool IsFrozen { get; }
Property Value
System.Boolean

The value indicating whether the panes are frozen.

Owner

Gets or sets the owner.

Declaration
public RadWorksheetEditor Owner { get; set; }
Property Value
RadWorksheetEditor

The owner.

Implements
IRadWorksheetEditorPresenter.Owner

PointerHandlersController

Gets the pointer handlers controller.

Declaration
public PointerHandlersController PointerHandlersController { get; }
Property Value
PointerHandlersController

The pointer handlers controller.

Implements
IRadWorksheetEditorPresenter.PointerHandlersController

ScrollableSize

Gets the scrollable size of the presenter.

Declaration
public Size ScrollableSize { get; }
Property Value
System.Windows.Size

The scrollable size of the presenter.

ScrollBarsProvider

Gets or sets the scroll bars provider.

Declaration
public IScrollBarsProvider ScrollBarsProvider { get; set; }
Property Value
IScrollBarsProvider

The scroll bars provider.

Implements
IRadWorksheetEditorPresenter.ScrollBarsProvider

ShouldShowSelectionMarkers

Gets the value indicating if should show selection markers.

Declaration
public bool ShouldShowSelectionMarkers { get; set; }
Property Value
System.Boolean

The value indicating if should show selection markers.

Implements
IRadWorksheetEditorPresenter.ShouldShowSelectionMarkers

Methods

BringIntoView(CellIndex)

Brings the into view.

Declaration
public abstract void BringIntoView(CellIndex cellIndex)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.CellIndex cellIndex

Index of the cell.

Implements
IRadWorksheetEditorPresenter.BringIntoView(CellIndex)

DoOnSheetChanged()

Called when sheet is changed.

Declaration
protected virtual void DoOnSheetChanged()

DoOnSheetChanging()

Called when the sheet is changing.

Declaration
protected virtual void DoOnSheetChanging()

GetCellIndexFromViewPoint(Point)

Gets the cell index from view point.

Declaration
public abstract CellIndex GetCellIndexFromViewPoint(Point point)
Parameters
System.Windows.Point point

The view point.

Returns
Telerik.Windows.Documents.Spreadsheet.Model.CellIndex

The cell index.

Implements
IRadWorksheetEditorPresenter.GetCellIndexFromViewPoint(Point)

GetDocumentPointFromViewPoint(Point)

Gets the document point from view point.

Declaration
public abstract Point GetDocumentPointFromViewPoint(Point point)
Parameters
System.Windows.Point point

The view point.

Returns
System.Windows.Point

The document point.

Implements
IRadWorksheetEditorPresenter.GetDocumentPointFromViewPoint(Point)

GetNearestCellIndexFromViewPoint(Point)

Gets the nearest cell index from view point.

Declaration
public abstract CellIndex GetNearestCellIndexFromViewPoint(Point point)
Parameters
System.Windows.Point point

The view point.

Returns
Telerik.Windows.Documents.Spreadsheet.Model.CellIndex

The nearest cell index.

Implements
IRadWorksheetEditorPresenter.GetNearestCellIndexFromViewPoint(Point)

GetViewPointFromDocumentPoint(Point)

Gets the view point from document point.

Declaration
public abstract Point GetViewPointFromDocumentPoint(Point point)
Parameters
System.Windows.Point point

The document point.

Returns
System.Windows.Point

The view point.

Implements
IRadWorksheetEditorPresenter.GetViewPointFromDocumentPoint(Point)

HideDropMarker()

Hides the drop marker.

Declaration
public abstract void HideDropMarker()
Implements
IRadWorksheetEditorPresenter.HideDropMarker()

HideSelectionMarkers()

Hides the selection markers.

Declaration
public void HideSelectionMarkers()
Implements
IRadWorksheetEditorPresenter.HideSelectionMarkers()

InitializeUILayers()

Initializes the UI layers.

Declaration
protected abstract void InitializeUILayers()

InvalidateAndUpdateLayout()

Invalidates the and update layout.

Declaration
protected void InvalidateAndUpdateLayout()

MoveDropMarker(CellIndex)

Moves the drop marker.

Declaration
public abstract void MoveDropMarker(CellIndex position)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.CellIndex position

The position.

Implements
IRadWorksheetEditorPresenter.MoveDropMarker(CellIndex)

OnGotFocus(RoutedEventArgs)

Raises the System.Windows.UIElement.GotFocus routed event by using the event data provided.

Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
System.Windows.RoutedEventArgs e

A System.Windows.RoutedEventArgs that contains event data. This event data must contain the identifier for the System.Windows.UIElement.GotFocus event.

OnKeyUp(KeyEventArgs)

Invoked when an unhandled System.Windows.Input.Keyboard.KeyUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
System.Windows.Input.KeyEventArgs e

The System.Windows.Input.KeyEventArgs that contains the event data.

OnLostMouseCapture(MouseEventArgs)

Invoked when an unhandled System.Windows.Input.Mouse.LostMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

Declaration
protected override void OnLostMouseCapture(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs e

The System.Windows.Input.MouseEventArgs that contains event data.

OnMouseLeftButtonDown(MouseButtonEventArgs)

Invoked when an unhandled System.Windows.UIElement.MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.

Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs e

The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed.

OnMouseLeftButtonUp(MouseButtonEventArgs)

Invoked when an unhandled System.Windows.UIElement.MouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs e

The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was released.

OnMouseMove(MouseEventArgs)

Invoked when an unhandled System.Windows.Input.Mouse.MouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs e

The System.Windows.Input.MouseEventArgs that contains the event data.

OnMouseRightButtonUp(MouseButtonEventArgs)

Invoked when an unhandled System.Windows.UIElement.MouseRightButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

Declaration
protected override void OnMouseRightButtonUp(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs e

The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the right mouse button was released.

OnMouseWheel(MouseWheelEventArgs)

Invoked when an unhandled System.Windows.Input.Mouse.MouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters
System.Windows.Input.MouseWheelEventArgs e

The System.Windows.Input.MouseWheelEventArgs that contains the event data.

OnOwnerChanged()

Called when the owner is changed.

Declaration
protected virtual void OnOwnerChanged()

OnOwnerChanging()

Called when the owner is changing.

Declaration
protected virtual void OnOwnerChanging()

OnSheetViewportChanged()

Called when the SheetViewport is changed.

Declaration
protected override void OnSheetViewportChanged()
Overrides
WorksheetPresenterBase.OnSheetViewportChanged()

OnUIUpdated(WorksheetUIUpdatedEventArgs)

Raises the UIUpdated event.

Declaration
protected virtual void OnUIUpdated(WorksheetUIUpdatedEventArgs args)
Parameters
WorksheetUIUpdatedEventArgs args

The WorksheetUIUpdatedEventArgs instance containing the event data.

SetHorizontalOffset(Double)

Sets the horizontal offset.

Declaration
public void SetHorizontalOffset(double offset)
Parameters
System.Double offset

The offset.

Implements
IRadWorksheetEditorPresenter.SetHorizontalOffset(Double)

SetupUILayers()

Setups the UI layers.

Declaration
protected abstract void SetupUILayers()

SetVerticalOffset(Double)

Sets the vertical offset.

Declaration
public void SetVerticalOffset(double offset)
Parameters
System.Double offset

The offset.

Implements
IRadWorksheetEditorPresenter.SetVerticalOffset(Double)

ShowDropMarker(CellIndex)

Shows the drop marker.

Declaration
public abstract void ShowDropMarker(CellIndex position)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.CellIndex position

The position.

Implements
IRadWorksheetEditorPresenter.ShowDropMarker(CellIndex)

ShowSelectionMarkers()

Shows the selection markers.

Declaration
public void ShowSelectionMarkers()
Implements
IRadWorksheetEditorPresenter.ShowSelectionMarkers()

UpdateHorizontalScrollBar(SheetViewport, Double)

Updates the horizontal scroll bar.

Declaration
protected void UpdateHorizontalScrollBar(SheetViewport sheetViewport, double smallChange)
Parameters
Telerik.Windows.Documents.Spreadsheet.Layout.SheetViewport sheetViewport

The sheetViewport.

System.Double smallChange

The small change.

UpdateScrollBarsMaximum(CellLayoutBox)

Updates the scroll bars maximum.

Declaration
protected void UpdateScrollBarsMaximum(CellLayoutBox topLeftCellLayoutBox = null)
Parameters
Telerik.Windows.Documents.Spreadsheet.Layout.CellLayoutBox topLeftCellLayoutBox

UpdateScrollBarsMinMax(CellLayoutBox)

Updates the scroll bars min and max value.

Declaration
protected void UpdateScrollBarsMinMax(CellLayoutBox topLeftCellLayoutBox = null)
Parameters
Telerik.Windows.Documents.Spreadsheet.Layout.CellLayoutBox topLeftCellLayoutBox

UpdateToViewWithTopLeftCellIndex(CellIndex)

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

Declaration
public abstract void UpdateToViewWithTopLeftCellIndex(CellIndex topLeftCellIndex)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.CellIndex topLeftCellIndex

The desired index of the top left visible cell.

Implements
IRadWorksheetEditorPresenter.UpdateToViewWithTopLeftCellIndex(CellIndex)

UpdateVerticalScrollBar(SheetViewport, Double)

Updates the vertical scroll bar.

Declaration
protected void UpdateVerticalScrollBar(SheetViewport sheetViewport, double smallChange)
Parameters
Telerik.Windows.Documents.Spreadsheet.Layout.SheetViewport sheetViewport

The sheetViewport.

System.Double smallChange

The small change.

Events

FreezePanesChanged

Occurs when the freeze panes has changed.

Declaration
public event EventHandler FreezePanesChanged
Event Type
System.EventHandler

UIUpdated

Occurs when the UI is updated.

Declaration
public event EventHandler<WorksheetUIUpdatedEventArgs> UIUpdated
Event Type
System.EventHandler<WorksheetUIUpdatedEventArgs>

Implements
IRadWorksheetEditorPresenter.UIUpdated

Explicit Interface Implementations

IRadWorksheetEditorPresenter.Focus()

Focuses this instance.

Declaration
void IRadWorksheetEditorPresenter.Focus()
Implements
IRadWorksheetEditorPresenter.Focus()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.