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 WorksheetUILayerBase

Provides the base class from which the classes that represent worksheet UI layers are delivered.

Inheritance
System.Object
UILayer
PooledUILayer
WorksheetUILayerBase
AdornerUILayer
BoxBasedUILayer<T>
CellBordersUILayerBase
CellFillUILayer
CellInputUILayer
DataValidationCirclesUILayer
DataValidationInputMessageUILayer
DataValidationListUILayer
FilteringUILayer
GridlinesOutlineUILayer
PageBreaksUILayer
PaneSeparatorsUILayer
PrintAreaUILayer
ResizeDecorationUILayer
SelectionUILayer
ShapesUILayerBase<T>
Inherited Members
PooledUILayer.OnUIUpdated()
PooledUILayer.ResetPooledElementProperties(Object)
PooledUILayer.CanRecycle(Object)
PooledUILayer.AddElementToPool(Object)
PooledUILayer.GetElementFromPool<T>(ViewportPaneType)
PooledUILayer.GetElementFromPool<T>()
PooledUILayer.Clear()
PooledUILayer.ReuseUIElementsWithoutRemovingFromVisualTree
UILayer.UpdateUI()
UILayer.UpdateUI(UIUpdateContext)
UILayer.Translate(Point, ViewportPaneType, UIUpdateContext)
UILayer.Translate(Rect, ViewportPaneType, UIUpdateContext)
UILayer.TranslateAndScale(UIUpdateContext)
UILayer.IsElementVisible(UIElement)
UILayer.GetElementVisibility(UIElement)
UILayer.SetElementVisibility(UIElement, Visibility)
UILayer.GetAddedUIElements(ViewportPaneType)
UILayer.UIUpdateContextCache
UILayer.ContainerManager
UILayer.Name
Namespace: Telerik.Windows.Controls.Spreadsheet.Worksheets.Layers
Assembly: Telerik.Windows.Controls.Spreadsheet.dll

Syntax

public abstract class WorksheetUILayerBase : PooledUILayer, INamedObject

Constructors

WorksheetUILayerBase()

Declaration
protected WorksheetUILayerBase()

Properties

Owner

Gets the owner.

Declaration
protected RadWorksheetEditor Owner { get; }
Property Value
RadWorksheetEditor

The owner.

UpdateOnSelectionChanged

Gets the value indicating if the layer should be updated on selection changing.

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

The value indicating if the layer should be updated on selection changing.

Worksheet

Gets the worksheet.

Declaration
protected Worksheet Worksheet { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Model.Worksheet

The worksheet.

Methods

AttachToEditorDependentEvents(RadSheetEditorBase)

Attaches to editor dependent events.

Declaration
protected virtual void AttachToEditorDependentEvents(RadSheetEditorBase editor)
Parameters
RadSheetEditorBase editor

The editor.

DetachFromEditorDependentEvents(RadSheetEditorBase)

Detaches from editor dependent events.

Declaration
protected virtual void DetachFromEditorDependentEvents(RadSheetEditorBase editor)
Parameters
RadSheetEditorBase editor

The editor.

Initialize(IRadWorksheetEditorPresenter)

Initializes the layer.

Declaration
public virtual void Initialize(IRadWorksheetEditorPresenter presenter)
Parameters
IRadWorksheetEditorPresenter presenter

The presenter.

OnOwnerChanged(IUILayerOwner, IUILayerOwner)

Called when the owner is changed.

Declaration
protected override sealed void OnOwnerChanged(IUILayerOwner oldOwner, IUILayerOwner newOwner)
Parameters
IUILayerOwner oldOwner

The old owner.

IUILayerOwner newOwner

The new owner.

Overrides
UILayer.OnOwnerChanged(IUILayerOwner, IUILayerOwner)

OnOwnerChanged(RadWorksheetEditor, RadWorksheetEditor)

Called when the owner is changed.

Declaration
protected virtual void OnOwnerChanged(RadWorksheetEditor oldEditor, RadWorksheetEditor newEditor)
Parameters
RadWorksheetEditor oldEditor

The old editor.

RadWorksheetEditor newEditor

The new editor.

OnSelectionChanged()

Called when the selection is changed.

Declaration
protected virtual void OnSelectionChanged()

Scale(Double, WorksheetUIUpdateContextBase)

Scales the specified value.

Declaration
protected double Scale(double value, WorksheetUIUpdateContextBase updateContext)
Parameters
System.Double value

The value.

WorksheetUIUpdateContextBase updateContext

The update context.

Returns
System.Double

Scaled value.

Scale(Point, WorksheetUIUpdateContextBase)

Scales the specified point.

Declaration
protected Point Scale(Point point, WorksheetUIUpdateContextBase updateContext)
Parameters
System.Windows.Point point

The point.

WorksheetUIUpdateContextBase updateContext

The update context.

Returns
System.Windows.Point

The scaled point.

Scale(Size, WorksheetUIUpdateContextBase)

Scales the specified size.

Declaration
protected Size Scale(Size size, WorksheetUIUpdateContextBase updateContext)
Parameters
System.Windows.Size size

The size to scale.

WorksheetUIUpdateContextBase updateContext

The update context.

Returns
System.Windows.Size

The scaled size.

TranslateAndScale(Point, ViewportPaneType, WorksheetUIUpdateContextBase)

Translates and scales a point.

Declaration
protected Point TranslateAndScale(Point point, ViewportPaneType viewportPaneType, WorksheetUIUpdateContextBase updateContext)
Parameters
System.Windows.Point point

The point.

Telerik.Windows.Documents.Spreadsheet.Layout.ViewportPaneType viewportPaneType

Type of the viewport pane.

WorksheetUIUpdateContextBase updateContext

The update context.

Returns
System.Windows.Point

The translated and scaled point.

UpdateUIOverride(UIUpdateContext)

Updates the UI.

Declaration
protected override sealed void UpdateUIOverride(UIUpdateContext updateContext)
Parameters
UIUpdateContext updateContext

The update context.

Overrides
UILayer.UpdateUIOverride(UIUpdateContext)

UpdateUIOverride(WorksheetUIUpdateContextBase)

Updates the UI.

Declaration
public virtual void UpdateUIOverride(WorksheetUIUpdateContextBase updateContext)
Parameters
WorksheetUIUpdateContextBase updateContext

The update context.

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.