skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    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 CellBordersUILayerBase

Provides the base class from which the classes that represent cell borders UI layers are derived.

Inheritance
System.Object
UILayer
PooledUILayer
WorksheetUILayerBase
CellBordersUILayerBase
CellBordersUILayer
GridlinesUILayer
Inherited Members
WorksheetUILayerBase.UpdateUIOverride(UIUpdateContext)
WorksheetUILayerBase.OnOwnerChanged(IUILayerOwner, IUILayerOwner)
WorksheetUILayerBase.Initialize(IRadWorksheetEditorPresenter)
WorksheetUILayerBase.OnSelectionChanged()
WorksheetUILayerBase.OnOwnerChanged(RadWorksheetEditor, RadWorksheetEditor)
WorksheetUILayerBase.DetachFromEditorDependentEvents(RadSheetEditorBase)
WorksheetUILayerBase.AttachToEditorDependentEvents(RadSheetEditorBase)
WorksheetUILayerBase.TranslateAndScale(Point, ViewportPaneType, WorksheetUIUpdateContextBase)
WorksheetUILayerBase.Scale(Size, WorksheetUIUpdateContextBase)
WorksheetUILayerBase.Scale(Point, WorksheetUIUpdateContextBase)
WorksheetUILayerBase.Scale(Double, WorksheetUIUpdateContextBase)
WorksheetUILayerBase.UpdateOnSelectionChanged
WorksheetUILayerBase.Owner
WorksheetUILayerBase.Worksheet
PooledUILayer.OnUIUpdated()
PooledUILayer.ResetPooledElementProperties(Object)
PooledUILayer.CanRecycle(Object)
PooledUILayer.AddElementToPool(Object)
PooledUILayer.GetElementFromPool<T>(ViewportPaneType)
PooledUILayer.GetElementFromPool<T>()
PooledUILayer.Clear()
UILayer.UpdateUI()
UILayer.UpdateUI(UIUpdateContext)
UILayer.Translate(Point, ViewportPaneType, UIUpdateContext)
UILayer.Translate(Rect, ViewportPaneType, UIUpdateContext)
UILayer.IsElementVisible(UIElement)
UILayer.GetAddedUIElements(ViewportPaneType)
UILayer.UIUpdateContextCache
UILayer.ContainerManager
UILayer.Name
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinForms.Controls.Spreadsheet.Worksheets.Layers
Assembly: Telerik.WinControls.RadSpreadsheet.dll

Syntax

public abstract class CellBordersUILayerBase : WorksheetUILayerBase, INamedObject

Constructors

CellBordersUILayerBase(Boolean)

Initializes a new instance of the CellBordersUILayerBase class.

Declaration
protected CellBordersUILayerBase(bool shouldShowTopLeftMostBorders)
Parameters
System.Boolean shouldShowTopLeftMostBorders

Properties

ReuseUIElementsWithoutRemovingFromVisualTree

Gets the value indicating if the UI element will be reused without removing from visual tree.

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

The value indicating if the UI element will be reused without removing from visual tree.

Overrides
PooledUILayer.ReuseUIElementsWithoutRemovingFromVisualTree

SupportDiagonalBorders

Gets the value indicating if the layer supports diagonal borders.

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

The value indicating if the layer supports diagonal borders.

Methods

GetElementVisibility(UIElement)

Gets the element visibility.

Declaration
protected override ElementVisibility GetElementVisibility(UIElement element)
Parameters
UIElement element

The element.

Returns
ElementVisibility

The visibility.

Overrides
UILayer.GetElementVisibility(UIElement)

SetElementVisibility(UIElement, ElementVisibility)

Sets the element visibility.

Declaration
protected override void SetElementVisibility(UIElement element, ElementVisibility visibility)
Parameters
UIElement element

The element.

ElementVisibility visibility

The visibility.

Overrides
UILayer.SetElementVisibility(UIElement, ElementVisibility)

ShouldShowBorder(CellBorder)

Computes if the given border have to be shown.

Declaration
protected abstract bool ShouldShowBorder(CellBorder border)
Parameters
CellBorder border

The border.

Returns
System.Boolean

True if the border have to be shown.

TranslateAndScale(UIUpdateContext)

Translates and scales the UI elements of the layer.

Declaration
protected override void TranslateAndScale(UIUpdateContext updateContext)
Parameters
UIUpdateContext updateContext

The update context.

Overrides
UILayer.TranslateAndScale(UIUpdateContext)

UpdateUIOverride(WorksheetUIUpdateContextBase)

Updates the UI.

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

The update context.

Overrides
WorksheetUILayerBase.UpdateUIOverride(WorksheetUIUpdateContextBase)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • 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.