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 NormalWorksheetEditorPresenter

Represents the normal worksheet editor presenter.

Inheritance
System.Object
ControlBase
WorksheetPresenterBase
RadWorksheetEditorPresenterBase
NormalWorksheetEditorPresenter
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.IRadWorksheetEditorPresenter.Focus()
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.IsFrozen
RadWorksheetEditorPresenterBase.PointerHandlersController
RadWorksheetEditorPresenterBase.ShouldShowSelectionMarkers
RadWorksheetEditorPresenterBase.ScrollableSize
RadWorksheetEditorPresenterBase.Owner
RadWorksheetEditorPresenterBase.ScrollBarsProvider
RadWorksheetEditorPresenterBase.FreezePanesChanged
RadWorksheetEditorPresenterBase.UIUpdated
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 class NormalWorksheetEditorPresenter : RadWorksheetEditorPresenterBase, IRadWorksheetEditorPresenter, IWorksheetPresenterBase

Constructors

NormalWorksheetEditorPresenter()

Initializes a new instance of the NormalWorksheetEditorPresenter class.

Declaration
public NormalWorksheetEditorPresenter()

Methods

BringIntoView(CellIndex)

Brings the into view.

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

Index of the cell.

Overrides
RadWorksheetEditorPresenterBase.BringIntoView(CellIndex)

GetCellIndexFromViewPoint(Point)

Gets the cell index from view point.

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

The view point.

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

The cell index.

Overrides
RadWorksheetEditorPresenterBase.GetCellIndexFromViewPoint(Point)

GetDocumentPointFromViewPoint(Point)

Gets the document point from view point.

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

The view point.

Returns
System.Windows.Point

The document point.

Overrides
RadWorksheetEditorPresenterBase.GetDocumentPointFromViewPoint(Point)

GetNearestCellIndexFromViewPoint(Point)

Gets the nearest cell index from view point.

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

The view point.

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

The nearest cell index.

Overrides
RadWorksheetEditorPresenterBase.GetNearestCellIndexFromViewPoint(Point)

GetViewPointFromDocumentPoint(Point)

Gets the view point from document point.

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

The document point.

Returns
System.Windows.Point

The view point.

Overrides
RadWorksheetEditorPresenterBase.GetViewPointFromDocumentPoint(Point)

HideDropMarker()

Hides the drop marker.

Declaration
public override void HideDropMarker()
Overrides
RadWorksheetEditorPresenterBase.HideDropMarker()

InitializeUILayers()

Initializes the UI layers.

Declaration
protected override void InitializeUILayers()
Overrides
RadWorksheetEditorPresenterBase.InitializeUILayers()

InvalidateLayout()

Invalidates the layout.

Declaration
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 System.Windows.FrameworkElement-derived class.

Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size availableSize

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
System.Windows.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
public override void MoveDropMarker(CellIndex position)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.CellIndex position

The position.

Overrides
RadWorksheetEditorPresenterBase.MoveDropMarker(CellIndex)

OnApplyTemplate()

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

Declaration
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

The System.Windows.RoutedEventArgs that contains the event data.

OnOwnerChanged()

Called when the owner is changed.

Declaration
protected override void OnOwnerChanged()
Overrides
RadWorksheetEditorPresenterBase.OnOwnerChanged()

OnOwnerChanging()

Called when the owner is changing.

Declaration
protected override void OnOwnerChanging()
Overrides
RadWorksheetEditorPresenterBase.OnOwnerChanging()

SetupUILayers()

Setups the UI layers.

Declaration
protected override void SetupUILayers()
Overrides
RadWorksheetEditorPresenterBase.SetupUILayers()

ShowDropMarker(CellIndex)

Shows the drop marker.

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

The position.

Overrides
RadWorksheetEditorPresenterBase.ShowDropMarker(CellIndex)

UpdateToViewWithTopLeftCellIndex(CellIndex)

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

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

The desired index of the top left visible cell.

Overrides
RadWorksheetEditorPresenterBase.UpdateToViewWithTopLeftCellIndex(CellIndex)

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.