Class GridViewCellBase
A base class for grid cells.
Inheritance
Namespace: Telerik.Windows.Controls.GridView
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public abstract class GridViewCellBase : ContentControl, INotifyPropertyChanged, IProvideGridViewColumn
Constructors
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
|