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 Cell
Declaration
public static readonly RoutedEvent CellDoubleClickEvent
Field Value
System.
|
VerticalGridLinesBrushProperty
Represents the VerticalGridLinesBrush dependency property.
Declaration
public static readonly DependencyProperty VerticalGridLinesBrushProperty
Field Value
System.
|
VerticalGridLinesWidthProperty
Represents the VerticalGridLinesWidth dependency property.
Declaration
public static readonly DependencyProperty VerticalGridLinesWidthProperty
Field Value
System.
|
Properties
Column
The column that defines how this cell should appear.
Declaration
public GridViewColumn Column { get; }
Property Value
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
Grid The row to which the cell belongs. |
VerticalGridLinesBrush
Gets or sets vertical grid lines brush.
Declaration
public Brush VerticalGridLinesBrush { get; }
Property Value
System. The vertical grid lines brush. |
VerticalGridLinesWidth
Gets or sets vertical grid lines width.
Declaration
public double VerticalGridLinesWidth { get; }
Property Value
System. 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
Grid The old column definition. |
Grid The new column definition. |
Remarks
Coerces ContentTemplate and ContentTemplateSelector.
OnMouseDoubleClick(MouseButtonEventArgs)
Declaration
protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
Parameters
System.
|
OnMouseEnter(MouseEventArgs)
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System.
|
OnMouseLeave(MouseEventArgs)
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System.
|
OnPropertyChanged(PropertyChangedEventArgs)
Raises the Property
Declaration
protected virtual void OnPropertyChanged(PropertyChangedEventArgs args)
Parameters
System. The System. |
Events
CellDoubleClick
Occurs when user perform double click with the mouse over the Grid
Declaration
public event EventHandler<RadRoutedEventArgs> CellDoubleClick
Event Type
System.
|
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.
|