ClassGridViewRowItem
Represents a control that contains logically connected children (cells) and arranges them in a row-like manner.
Definition
Namespace:Telerik.Windows.Controls.GridView
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public abstract class GridViewRowItem : RadRowItem, IRowItem
Inheritance: objectRadRowItemGridViewRowItem
Derived Classes:
Implements:
Inherited Members
Constructors
GridViewRowItem()
Initializes a new instance of the GridViewRowItem class.
Declaration
protected GridViewRowItem()
Fields
CellLoadedEvent
Identifies the CellLoaded routed event.
Declaration
public static readonly RoutedEvent CellLoadedEvent
Field Value
RoutedEvent
CellUnloadedEvent
Identifies the CellUnloaded routed event.
Declaration
public static readonly RoutedEvent CellUnloadedEvent
Field Value
RoutedEvent
HasHierarchyProperty
Identifies the HasHierarchy readonly dependency property.
Declaration
public static readonly DependencyProperty HasHierarchyProperty
Field Value
DependencyProperty
HorizontalGridLinesBrushProperty
Represents the HorizontalGridLinesBrush dependency property.
Declaration
public static readonly DependencyProperty HorizontalGridLinesBrushProperty
Field Value
DependencyProperty
HorizontalGridLinesWidthProperty
Represents the HorizontalGridLinesWidth dependency property.
Declaration
public static readonly DependencyProperty HorizontalGridLinesWidthProperty
Field Value
DependencyProperty
IndentLevelProperty
Identifies the IndentLevel dependency property.
Declaration
public static readonly DependencyProperty IndentLevelProperty
Field Value
DependencyProperty
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
Cells
Gets the cells.
Declaration
public IList<GridViewCellBase> Cells { get; }
Property Value
The cells.
GridViewDataControl
Gets the parent RadGridView of the row item.
Declaration
public GridViewDataControl GridViewDataControl { get; protected set; }
Property Value
The parent RadGridView that contains the current row.
HasHierarchy
Gets a value indicating whether this row data control has hierarchy or not. This is a dependency property.
HorizontalGridLinesBrush
Gets or sets horizontal grid lines brush.
Declaration
public Brush HorizontalGridLinesBrush { get; }
Property Value
Brush
The horizontal grid lines brush.
HorizontalGridLinesWidth
Gets or sets horizontal grid lines width.
Declaration
public double HorizontalGridLinesWidth { get; }
Property Value
The horizontal grid lines width.
HorizontalOffset
Gets the horizontal offset.
Declaration
public double HorizontalOffset { get; }
Property Value
The horizontal offset.
IndentLevel
Gets or sets the indent level.
Declaration
public int IndentLevel { get; set; }
Property Value
The indent level.
PartDataCellsPresenterName
Gets the name of the DataCellsPresenter.
Declaration
protected virtual string PartDataCellsPresenterName { get; }
Property Value
The name of the DataCellsPresenter.
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
ArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
finalSize
Size
Returns
Size
CreateItem()
Generates cell containers for GridViewRowItem.
Declaration
protected virtual GridViewCellBase CreateItem()
Returns
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
availableSize
Size
Returns
Size
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
Overrides
OnCellLoaded(GridViewCellBase)
Called when a cell is loaded.
Declaration
protected virtual void OnCellLoaded(GridViewCellBase cell)
Parameters
cell
The loaded cell.
OnCellUnloaded(GridViewCellBase)
Called when a cell is unloaded.
Declaration
protected virtual void OnCellUnloaded(GridViewCellBase cell)
Parameters
cell
The unloaded cell.
OnColumnsChanged(ObservableCollection<GridViewColumn>, NotifyCollectionChangedEventArgs)
Notification from the GridViewDataControl that the columns collection has changed.
Declaration
protected virtual void OnColumnsChanged(ObservableCollection<GridViewColumn> columns, NotifyCollectionChangedEventArgs e)
Parameters
columns
ObservableCollection<GridViewColumn>
The columns collection.
e
NotifyCollectionChangedEventArgs
The event arguments from the collection's change event.
OnHasHierarchyChanged()
Called when HasHierarchy property has changed.
Declaration
protected virtual void OnHasHierarchyChanged()
OnItemChanged(object, object)
Called when the value of the Item property changes.
SetHorizontalScrollOffset(double)
Sets the horizontal scroll offset.
Declaration
public void SetHorizontalScrollOffset(double newHorizontalOffset)
Parameters
newHorizontalOffset
Events
CellLoaded
Occurs when a cell is loaded.
Declaration
public event EventHandler<CellEventArgs> CellLoaded
Event Value
CellUnloaded
Occurs when a cell is unloaded.
Declaration
public event EventHandler<CellEventArgs> CellUnloaded
Event Value