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 GridViewCellInfo

Represents a data cell in RadGridView that contains information about a specific cell's data, formatting, and state within the grid structure.

Inheritance
System.Object
GridViewCellInfo
GridViewHyperlinkCellInfo
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll

Syntax

public class GridViewCellInfo : IEquatable<GridViewCellInfo>

Constructors

GridViewCellInfo(GridViewRowInfo, GridViewColumn, GridViewCellInfoCollection)

Initializes a new instance of the GridViewCellInfo class.

Declaration
public GridViewCellInfo(GridViewRowInfo row, GridViewColumn column, GridViewCellInfoCollection owner)
Parameters
GridViewRowInfo row

The row that this cell belongs to.

GridViewColumn column

The column that this cell belongs to.

GridViewCellInfoCollection owner

The collection that owns this cell information.

Properties

ColumnInfo

Gets the column information associated with this cell.

Declaration
public GridViewColumn ColumnInfo { get; }
Property Value
GridViewColumn

The GridViewColumn that this cell belongs to.

ErrorText

Gets or sets the error text that should be displayed when the cell data is not correct.

Declaration
public string ErrorText { get; set; }
Property Value
System.String

The error text associated with this cell, or an empty string if there are no errors.

HasStyle

Gets a value indicating whether this cell has custom style information applied.

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

true if this cell has custom style information; otherwise, false.

IsCurrent

Gets a value indicating whether this cell is the current cell in the grid.

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

true if this cell is the current cell; otherwise, false.

IsSelected

Gets or sets a value indicating whether this cell is selected.

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

true if this cell is selected; otherwise, false.

ReadOnly

Gets or sets a value indicating whether this cell is read-only.

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

true if this cell is read-only and cannot be edited; otherwise, false.

RowInfo

Gets the row information associated with this cell.

Declaration
public GridViewRowInfo RowInfo { get; }
Property Value
GridViewRowInfo

The GridViewRowInfo that this cell belongs to.

Style

Gets the style information for this cell.

Declaration
public GridViewCellStyle Style { get; }
Property Value
GridViewCellStyle

The GridViewCellStyle that defines the visual appearance of this cell.

Tag

Gets or sets a tag object that can be used to store user data corresponding to this cell.

Declaration
public object Tag { get; set; }
Property Value
System.Object

An object that contains user-defined data associated with this cell.

Value

Gets or sets the value contained in this cell.

Declaration
public object Value { get; set; }
Property Value
System.Object

The value stored in this cell.

ViewInfo

Gets the view information where this cell appears.

Declaration
public GridViewInfo ViewInfo { get; }
Property Value
GridViewInfo

The GridViewInfo that contains this cell.

ViewTemplate

Gets the view template that this cell belongs to.

Declaration
public GridViewTemplate ViewTemplate { get; }
Property Value
GridViewTemplate

The GridViewTemplate that contains this cell.

Methods

BeginEdit()

Puts this cell into edit mode, allowing the user to modify its value.

Declaration
public void BeginEdit()

EndEdit()

Commits any changes made to this cell and exits edit mode.

Declaration
public void EndEdit()

EnsureVisible()

Ensures that this cell is visible in the grid view by scrolling to it if necessary.

Declaration
public void EnsureVisible()

Equals(Object)

Determines whether the specified System.Object is equal to the current GridViewCellInfo.

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

The object to compare with the current cell information.

Returns
System.Boolean

true if the specified object is equal to the current cell information; otherwise, false.

Overrides
System.Object.Equals(System.Object)

Equals(GridViewCellInfo)

Determines whether the specified GridViewCellInfo is equal to the current cell.

Declaration
public bool Equals(GridViewCellInfo cellInfo)
Parameters
GridViewCellInfo cellInfo

The cell information to compare with the current cell.

Returns
System.Boolean

true if the specified cell is equal to the current cell; otherwise, false.

Implements
System.IEquatable<T>.Equals(T)

GetHashCode()

Serves as the default hash function for this GridViewCellInfo.

Declaration
public override int GetHashCode()
Returns
System.Int32

A hash code for the current GridViewCellInfo.

Overrides
System.Object.GetHashCode()

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.