• Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • 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)

Was this article helpful?

Tell us how we can improve this article

Skip
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.