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 jQuery UI for Angular UI for React UI for Vue 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 Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    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 RadSheetEditorBase

Provides the base class from which the classes that represent RadSheetEditors are derived.

Inheritance
System.Object
ControlBase
RadSheetEditorBase
RadSheetEditorBase<T>
Inherited Members
ControlBase.GetTemplateChild<T>(String)
ControlBase.GetRequiredTemplateChild<T>(String, Boolean)
Namespace: Telerik.Windows.Controls.Spreadsheet
Assembly: Telerik.Windows.Controls.Spreadsheet.dll

Syntax

public abstract class RadSheetEditorBase : ControlBase, IRadSheetEditor, ICommandDescriptorsProvider, ISheetEditor, IUILayerOwner

Constructors

RadSheetEditorBase()

Initializes a new instance of the RadSheetEditorBase class.

Declaration
protected RadSheetEditorBase()

Fields

AllowScalingProperty

Allow scaling dependency property.

Declaration
public static readonly DependencyProperty AllowScalingProperty
Field Value
System.Windows.DependencyProperty

ScaleFactorProperty

Scale factor dependency property.

Declaration
public static readonly DependencyProperty ScaleFactorProperty
Field Value
System.Windows.DependencyProperty

Properties

AllowScaling

Gets or sets a value indicating whether scaling is allowed.

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

The value indicating whether scaling is allowed.

Implements
IRadSheetEditor.AllowScaling

CommandDescriptors

Gets or sets the command descriptors.

Declaration
public CommandDescriptors CommandDescriptors { get; protected set; }
Property Value
CommandDescriptors

The command descriptors.

Implements
ICommandDescriptorsProvider.CommandDescriptors

KeyBindings

Gets the key bindings.

Declaration
public KeyBindings KeyBindings { get; }
Property Value
KeyBindings

The key bindings.

Owner

Gets or sets the owner.

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

The owner.

Implements
IRadSheetEditor.Owner

ScaleFactor

Gets or sets the scale factor.

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

The scale factor.

Implements
IRadSheetEditor.ScaleFactor

ScrollBarsProvider

Gets or sets the scroll bars provider.

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

The scroll bars provider.

Implements
IRadSheetEditor.ScrollBarsProvider

SheetViewport

Gets the sheet viewport.

Declaration
public abstract SheetViewport SheetViewport { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Layout.SheetViewport

The sheet viewport.

Implements
IRadSheetEditor.SheetViewport

Methods

DoOnSheetChanged()

Called when the sheet is changed.

Declaration
protected void DoOnSheetChanged()

DoOnSheetChanging()

Called when the sheet is changing.

Declaration
protected void DoOnSheetChanging()

GetSheetValue()

Gets the sheet value.

Declaration
protected Sheet GetSheetValue()
Returns
Telerik.Windows.Documents.Spreadsheet.Model.Sheet

The sheet.

IsSheetValid(Sheet)

Determines whether the sheet is valid.

Declaration
protected abstract bool IsSheetValid(Sheet sheet)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.Sheet sheet

The sheet.

Returns
System.Boolean

True if is valid.

OnCommandDescriptorsChanged()

Raises the CommandDescriptorsChanged event.

Declaration
protected virtual void OnCommandDescriptorsChanged()

OnKeyDown(KeyEventArgs)

Invoked when an unhandled System.Windows.Input.Keyboard.KeyDown 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 OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Input.KeyEventArgs e

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

OnOwnerChanged()

Called when the owner is changed.

Declaration
protected virtual void OnOwnerChanged()

OnOwnerChanging()

Raises the OwnerChanging event.

Declaration
protected virtual void OnOwnerChanging()

OnOwnerTemplateApplying()

Raises the OwnerTemplateApplying event.

Declaration
protected virtual void OnOwnerTemplateApplying()

OnPreviewSheetChanged()

Raises the PreviewSheetChanged event.

Declaration
protected virtual void OnPreviewSheetChanged()

OnPreviewSheetChanging()

Raises the PreviewSheetChanging event.

Declaration
protected virtual void OnPreviewSheetChanging()

OnScaleFactorChanged()

Raises the ScaleFactorChanged event.

Declaration
protected virtual void OnScaleFactorChanged()

OnScrollBarProviderChanged()

Called when the scroll bar provider is changed.

Declaration
protected virtual void OnScrollBarProviderChanged()

OnScrollBarProviderChanging()

Called when the scroll bar provider is changing.

Declaration
protected virtual void OnScrollBarProviderChanging()

OnSheetChanged()

Raises the SheetChanged event.

Declaration
protected virtual void OnSheetChanged()

OnSheetChanging()

Raises the SheetChanging event.

Declaration
protected virtual void OnSheetChanging()

OnUICommandError(UICommandErrorEventArgs)

Raises the UICommandError event.

Declaration
protected virtual void OnUICommandError(UICommandErrorEventArgs args)
Parameters
UICommandErrorEventArgs args

The UICommandErrorEventArgs instance containing the event data.

OnUICommandExecuted(UICommandExecutedEventArgs)

Raises the UICommandExecuted event.

Declaration
protected virtual void OnUICommandExecuted(UICommandExecutedEventArgs args)
Parameters
UICommandExecutedEventArgs args

The UICommandExecutedEventArgs instance containing the event data.

OnUICommandExecuting(UICommandExecutingEventArgs)

Raises the UICommandExecuting event.

Declaration
protected virtual void OnUICommandExecuting(UICommandExecutingEventArgs args)
Parameters
UICommandExecutingEventArgs args

The UICommandExecutingEventArgs instance containing the event data.

PreserveSheetViewState(ISheetViewState)

Preserves the view state of the sheet.

Declaration
protected abstract void PreserveSheetViewState(ISheetViewState viewState)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.ISheetViewState viewState

View state of the sheet.

RestoreSheetViewState(ISheetViewState)

Restores the view state of the sheet.

Declaration
protected abstract void RestoreSheetViewState(ISheetViewState viewState)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.ISheetViewState viewState

View state of the sheet.

SetHorizontalOffset(Double)

Sets the horizontal offset.

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

The offset.

Implements
IRadSheetEditor.SetHorizontalOffset(Double)

SetSheetValue(Sheet)

Sets the sheet value.

Declaration
protected void SetSheetValue(Sheet sheet)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.Sheet sheet

The sheet.

SetVerticalOffset(Double)

Sets the vertical offset.

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

The offset.

Implements
IRadSheetEditor.SetVerticalOffset(Double)

Events

CommandDescriptorsChanged

Occurs when the command descriptors are changed.

Declaration
public event EventHandler CommandDescriptorsChanged
Event Type
System.EventHandler

Implements
IRadSheetEditor.CommandDescriptorsChanged

PreviewSheetChanged

Occurs just before the sheet changing ends.

Declaration
public event EventHandler PreviewSheetChanged
Event Type
System.EventHandler

PreviewSheetChanging

Occurs just before the sheet changing begins.

Declaration
public event EventHandler PreviewSheetChanging
Event Type
System.EventHandler

ScaleFactorChanged

Occurs when the scale factor is changed.

Declaration
public event EventHandler ScaleFactorChanged
Event Type
System.EventHandler

Implements
IRadSheetEditor.ScaleFactorChanged

SheetChanged

Occurs when the sheet is changed.

Declaration
public event EventHandler SheetChanged
Event Type
System.EventHandler

SheetChanging

Occurs when the sheet is changing.

Declaration
public event EventHandler SheetChanging
Event Type
System.EventHandler

UICommandError

Occurs on UI command error.

Declaration
public event EventHandler<UICommandErrorEventArgs> UICommandError
Event Type
System.EventHandler<UICommandErrorEventArgs>

Implements
IRadSheetEditor.UICommandError

UICommandExecuted

Occurs when the UI command is executed.

Declaration
public event EventHandler<UICommandExecutedEventArgs> UICommandExecuted
Event Type
System.EventHandler<UICommandExecutedEventArgs>

Implements
IRadSheetEditor.UICommandExecuted

UICommandExecuting

Occurs when the UI command is executing.

Declaration
public event EventHandler<UICommandExecutingEventArgs> UICommandExecuting
Event Type
System.EventHandler<UICommandExecutingEventArgs>

Implements
IRadSheetEditor.UICommandExecuting

Explicit Interface Implementations

IRadSheetEditor.Focus()

Focuses this instance.

Declaration
void IRadSheetEditor.Focus()
Implements
IRadSheetEditor.Focus()

IRadSheetEditor.UpdateLayout()

Declaration
void IRadSheetEditor.UpdateLayout()
Implements
IRadSheetEditor.UpdateLayout()

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.