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 GridViewCellBase

A base class for grid cells.

Inheritance
System.Object
GridViewCellBase
CommonColumnHeader
GridViewAggregateResultCell
GridViewCell
GridViewFooterCellBase
GridViewGroupHeaderCell
GridViewHeaderCell
GridViewMergedCell
Namespace: Telerik.Windows.Controls.GridView
Assembly: Telerik.Windows.Controls.GridView.dll

Syntax

public abstract class GridViewCellBase : ContentControl, INotifyPropertyChanged, IProvideGridViewColumn

Constructors

GridViewCellBase()

Initializes a new instance of the GridViewCellBase class.

Declaration
protected GridViewCellBase()

Fields

CellDoubleClickEvent

Identifies the CellDoubleClick routed event.

Declaration
public static readonly RoutedEvent CellDoubleClickEvent
Field Value
System.Windows.RoutedEvent

VerticalGridLinesBrushProperty

Represents the VerticalGridLinesBrush dependency property.

Declaration
public static readonly DependencyProperty VerticalGridLinesBrushProperty
Field Value
System.Windows.DependencyProperty

VerticalGridLinesWidthProperty

Represents the VerticalGridLinesWidth dependency property.

Declaration
public static readonly DependencyProperty VerticalGridLinesWidthProperty
Field Value
System.Windows.DependencyProperty

Properties

Column

The column that defines how this cell should appear.

Declaration
public GridViewColumn Column { get; }
Property Value
GridViewColumn

DataColumn

Gets the data column to which the data content of the cell belongs to.

Declaration
public GridViewBoundColumnBase DataColumn { get; }
Property Value
GridViewBoundColumnBase

ParentDataControl

Gets the parent data control that is associated with this cell instance.

Declaration
public virtual GridViewDataControl ParentDataControl { get; }
Property Value
GridViewDataControl

ParentRow

Gets the row to which the cell belongs.

Declaration
public GridViewRowItem ParentRow { get; }
Property Value
GridViewRowItem

The row to which the cell belongs.

VerticalGridLinesBrush

Gets or sets vertical grid lines brush.

Declaration
public Brush VerticalGridLinesBrush { get; }
Property Value
System.Windows.Media.Brush

The vertical grid lines brush.

VerticalGridLinesWidth

Gets or sets vertical grid lines width.

Declaration
public double VerticalGridLinesWidth { get; }
Property Value
System.Double

The vertical grid lines width.

Methods

OnColumnChanged(GridViewColumn, GridViewColumn)

Called due to the cell's column definition changing. Not called due to changes within the current column definition.

Declaration
protected virtual void OnColumnChanged(GridViewColumn oldColumn, GridViewColumn newColumn)
Parameters
GridViewColumn oldColumn

The old column definition.

GridViewColumn newColumn

The new column definition.

Remarks

Coerces ContentTemplate and ContentTemplateSelector.

OnMouseDoubleClick(MouseButtonEventArgs)

Declaration
protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs e

OnMouseEnter(MouseEventArgs)

Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs e

OnMouseLeave(MouseEventArgs)

Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs e

OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event.

Declaration
protected virtual void OnPropertyChanged(PropertyChangedEventArgs args)
Parameters
System.ComponentModel.PropertyChangedEventArgs args

The System.ComponentModel.PropertyChangedEventArgs instance containing the event data.

Events

CellDoubleClick

Occurs when user perform double click with the mouse over the GridViewCellBase.

Declaration
public event EventHandler<RadRoutedEventArgs> CellDoubleClick
Event Type
System.EventHandler<RadRoutedEventArgs>

PropertyChanged

Occurs when a property value changes.

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler

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.