GridViewCellBase
A base class for grid cells.
Definition
Namespace:Telerik.Windows.Controls.GridView
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public abstract class GridViewCellBase : ContentControl, INotifyPropertyChanged
Inheritance: objectGridViewCellBase
Derived Classes:
Implements:
Constructors
Initializes a new instance of the GridViewCellBase class.
protected GridViewCellBase()
Fields
CellDoubleClickEvent
RoutedEvent
Identifies the CellDoubleClick routed event.
public static readonly RoutedEvent CellDoubleClickEvent
VerticalGridLinesBrushProperty
DependencyProperty
Represents the VerticalGridLinesBrush dependency property.
public static readonly DependencyProperty VerticalGridLinesBrushProperty
VerticalGridLinesWidthProperty
DependencyProperty
Represents the VerticalGridLinesWidth dependency property.
public static readonly DependencyProperty VerticalGridLinesWidthProperty
Properties
The column that defines how this cell should appear.
public GridViewColumn Column { get; }
Gets the data column to which the data content of the cell belongs to.
public GridViewBoundColumnBase DataColumn { get; }
Gets the parent data control that is associated with this cell instance.
public virtual GridViewDataControl ParentDataControl { get; }
Gets the row to which the cell belongs.
public GridViewRowItem ParentRow { get; }
The row to which the cell belongs.
Gets or sets vertical grid lines brush.
public Brush VerticalGridLinesBrush { get; }
The vertical grid lines brush.
Gets or sets vertical grid lines width.
public double VerticalGridLinesWidth { get; }
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.
protected virtual void OnColumnChanged(GridViewColumn oldColumn, GridViewColumn newColumn)
The old column definition.
newColumnGridViewColumnThe new column definition.
Coerces ContentTemplate and ContentTemplateSelector.
protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
protected override void OnMouseEnter(MouseEventArgs e)
protected override void OnMouseLeave(MouseEventArgs e)
Raises the PropertyChanged event.
protected virtual void OnPropertyChanged(PropertyChangedEventArgs args)
The PropertyChangedEventArgs instance containing the event data.
Events
Occurs when user perform double click with the mouse over the GridViewCellBase.
public event EventHandler<RadRoutedEventArgs> CellDoubleClick
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged
Implements: