New to Telerik UI for WPFStart a free 30-day trial

A base class for grid cells.

Definition

Namespace:Telerik.Windows.Controls.GridView

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

C#
public abstract class GridViewCellBase : ContentControl, INotifyPropertyChanged

Inheritance: objectGridViewCellBase

Derived Classes: CommonColumnHeaderGridViewAggregateResultCellGridViewCellGridViewFooterCellBaseGridViewGroupHeaderCellGridViewHeaderCellGridViewMergedCell...

Implements: INotifyPropertyChanged

Constructors

Initializes a new instance of the GridViewCellBase class.

C#
protected GridViewCellBase()

Fields

Identifies the CellDoubleClick routed event.

C#
public static readonly RoutedEvent CellDoubleClickEvent

Represents the VerticalGridLinesBrush dependency property.

C#
public static readonly DependencyProperty VerticalGridLinesBrushProperty

Represents the VerticalGridLinesWidth dependency property.

C#
public static readonly DependencyProperty VerticalGridLinesWidthProperty

Properties

The column that defines how this cell should appear.

C#
public GridViewColumn Column { get; }

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

C#
public GridViewBoundColumnBase DataColumn { get; }

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

C#
public virtual GridViewDataControl ParentDataControl { get; }

Gets the row to which the cell belongs.

C#
public GridViewRowItem ParentRow { get; }
Property Value:

The row to which the cell belongs.

Gets or sets vertical grid lines brush.

C#
public Brush VerticalGridLinesBrush { get; }
Property Value:

The vertical grid lines brush.

Gets or sets vertical grid lines width.

C#
public double VerticalGridLinesWidth { get; }
Property Value:

The vertical grid lines width.

Methods

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

C#
protected virtual void OnColumnChanged(GridViewColumn oldColumn, GridViewColumn newColumn)
Parameters:oldColumnGridViewColumn

The old column definition.

newColumnGridViewColumn

The new column definition.

Remarks:

Coerces ContentTemplate and ContentTemplateSelector.

C#
protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs
C#
protected override void OnMouseEnter(MouseEventArgs e)
Parameters:eMouseEventArgs
C#
protected override void OnMouseLeave(MouseEventArgs e)
Parameters:eMouseEventArgs

Raises the PropertyChanged event.

C#
protected virtual void OnPropertyChanged(PropertyChangedEventArgs args)
Parameters:argsPropertyChangedEventArgs

The PropertyChangedEventArgs instance containing the event data.

Events

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

C#
public event EventHandler<RadRoutedEventArgs> CellDoubleClick

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged