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
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class CellLayoutBox

Defines the positioned rectangular bounds of a cell for rendering and hit-testing operations.

Inheritance
System.Object
LayoutBox
CellLayoutBox
Inherited Members
LayoutBox.Left
LayoutBox.Top
LayoutBox.Width
LayoutBox.Height
LayoutBox.Size
LayoutBox.BoundingRectangle
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Spreadsheet.Layout
Assembly: Telerik.Windows.Documents.Spreadsheet.dll

Syntax

public class CellLayoutBox : LayoutBox

Constructors

CellLayoutBox(Int32, Int32, Rect, CellMergeState)

Initializes a new instance of the CellLayoutBox class.

Declaration
public CellLayoutBox(int rowIndex, int columnIndex, Rect rect, CellMergeState mergeState)
Parameters
System.Int32 rowIndex

Index of the row.

System.Int32 columnIndex

Index of the column.

System.Windows.Rect rect

The rectangle.

CellMergeState mergeState

The merge.

Properties

ColumnIndex

Zero-based column position of this cell in the worksheet grid.

Declaration
public int ColumnIndex { get; }
Property Value
System.Int32

The index of the column.

Index

Combined row and column coordinates identifying this cell's position in the worksheet.

Declaration
public CellIndex Index { get; }
Property Value
CellIndex

The index.

MergeState

Indicates whether this cell is merged and its role within the merged region (top-left, other, or not merged).

Declaration
public CellMergeState MergeState { get; }
Property Value
CellMergeState

The merge state of the cell.

RowIndex

Zero-based row position of this cell in the worksheet grid.

Declaration
public int RowIndex { get; }
Property Value
System.Int32

The index of the row.

Methods

Equals(Object)

Compares this cell layout box with another based on cell position (row and column index).

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

The System.Object to compare with the current System.Object.

Returns
System.Boolean

True if the specified System.Object is equal to the current System.Object; otherwise, false.

Overrides
System.Object.Equals(System.Object)

GetHashCode()

Generates a hash code based on the cell's combined row and column index.

Declaration
public override int GetHashCode()
Returns
System.Int32

A hash code for the current System.Object.

Overrides
System.Object.GetHashCode()

ToString()

Converts the cell position to a string representation in the format "(row, column)".

Declaration
public override string ToString()
Returns
System.String

A System.String that represents the current System.Object.

Overrides
LayoutBox.ToString()
Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • 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.