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 GridlinesUILayer

Represents the gridlines UI layer.

Inheritance
System.Object
UILayer
PooledUILayer
WorksheetUILayerBase
CellBordersUILayerBase
GridlinesUILayer
Inherited Members
CellBordersUILayerBase.GetElementVisibility(UIElement)
CellBordersUILayerBase.SetElementVisibility(UIElement, ElementVisibility)
CellBordersUILayerBase.TranslateAndScale(UIUpdateContext)
CellBordersUILayerBase.ReuseUIElementsWithoutRemovingFromVisualTree
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
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 class GridlinesUILayer : CellBordersUILayerBase, INamedObject

Constructors

GridlinesUILayer()

Initializes a new instance of the GridlinesUILayer class.

Declaration
public GridlinesUILayer()

Properties

Name

Gets the name of the layer.

Declaration
public override string Name { get; }
Property Value
System.String

The name of the layer.

Overrides
UILayer.Name

SupportDiagonalBorders

Gets the value indicating if the layer supports diagonal borders.

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

The value indicating if the layer supports diagonal borders.

Overrides
CellBordersUILayerBase.SupportDiagonalBorders

Methods

ShouldShowBorder(CellBorder)

Computes if the given border have to be shown.

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

The border.

Returns
System.Boolean

True if the border have to be shown.

Overrides
CellBordersUILayerBase.ShouldShowBorder(CellBorder)

UpdateUIOverride(WorksheetUIUpdateContextBase)

Updates the UI.

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

The update context.

Overrides
CellBordersUILayerBase.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.