ClassGridViewCellBase
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
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
RoutedEvent
VerticalGridLinesBrushProperty
Represents the VerticalGridLinesBrush dependency property.
Declaration
public static readonly DependencyProperty VerticalGridLinesBrushProperty
Field Value
DependencyProperty
VerticalGridLinesWidthProperty
Represents the VerticalGridLinesWidth dependency property.
Declaration
public static readonly DependencyProperty VerticalGridLinesWidthProperty
Field Value
DependencyProperty
Properties
Column
The column that defines how this cell should appear.
DataColumn
Gets the data column to which the data content of the cell belongs to.
Declaration
public GridViewBoundColumnBase DataColumn { get; }
Property Value
ParentDataControl
Gets the parent data control that is associated with this cell instance.
Declaration
public virtual GridViewDataControl ParentDataControl { get; }
Property Value
ParentRow
Gets the row to which the cell belongs.
Declaration
public GridViewRowItem ParentRow { get; }
Property Value
The row to which the cell belongs.
VerticalGridLinesBrush
Gets or sets vertical grid lines brush.
Declaration
public Brush VerticalGridLinesBrush { get; }
Property Value
Brush
The vertical grid lines brush.
VerticalGridLinesWidth
Gets or sets vertical grid lines width.
Declaration
public double VerticalGridLinesWidth { get; }
Property Value
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
oldColumn
The old column definition.
newColumn
The new column definition.
Remarks
Coerces ContentTemplate and ContentTemplateSelector.
OnMouseDoubleClick(MouseButtonEventArgs)
Declaration
protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
OnMouseEnter(MouseEventArgs)
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
e
MouseEventArgs
OnMouseLeave(MouseEventArgs)
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
e
MouseEventArgs
OnPropertyChanged(PropertyChangedEventArgs)
Raises the PropertyChanged event.
Declaration
protected virtual void OnPropertyChanged(PropertyChangedEventArgs args)
Parameters
args
The 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 Value
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements