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, IInputElement
Constructors
GridViewCellBase()
Fields
CellDoubleClickEvent
Identifies the CellDoubleClick routed event.
Declaration
public static readonly RoutedEvent CellDoubleClickEvent
Field Value
RoutedEvent
|
IsKeyboardFocusedProperty
Identifies the IsKeyboardFocused readonly dependency property.
Declaration
public static readonly DependencyProperty IsKeyboardFocusedProperty
Field Value
System.Windows.DependencyProperty
|
IsKeyboardFocusWithinProperty
Identifies the IsKeyboardFocusWithin readonly dependency property.
Declaration
public static readonly DependencyProperty IsKeyboardFocusWithinProperty
Field Value
System.Windows.DependencyProperty
|
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
|
IsKeyboardFocused
Gets a value indicating whether this element has keyboard focus. This is a dependency property.
Declaration
public bool IsKeyboardFocused { get; }
Property Value
System.Boolean
|
IsKeyboardFocusWithin
Gets a value indicating whether keyboard focus is anywhere within the element or its visual tree child elements. This is a dependency property.
Declaration
public bool IsKeyboardFocusWithin { get; }
Property Value
System.Boolean
|
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.
OnGotFocus(RoutedEventArgs)
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
System.Windows.RoutedEventArgs
e
|
OnLostFocus(RoutedEventArgs)
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
System.Windows.RoutedEventArgs
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
|
OnMouseLeftButtonDown(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
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
|