New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public abstract class GridViewRowItem : RadRowItem, IRowItem

Inheritance: objectRadRowItemGridViewRowItem

Derived Classes: GridViewColumnGroupRowGridViewFooterRowGridViewGroupFooterRowGridViewHeaderRowGridViewRowGroupHeaderRow...

Implements: IRowItem

Inherited Members RadRowItem.ItemPropertyRadRowItem.IsAlternatingPropertyRadRowItem.IsCurrentPropertyRadRowItem.IsSelectedPropertyRadRowItem.SelectedEventRadRowItem.UnselectedEventRadRowItem.IsCurrentChangedEventRadRowItem.RowIndicatorVisibilityPropertyRadRowItem.Dispose()RadRowItem.CreateIndentItem()RadRowItem.IsSelectable()RadRowItem.SelectionPropertyChanged(object, DependencyPropertyChangedEventArgs)RadRowItem.OnSelected(RadRoutedEventArgs)RadRowItem.OnUnselected(RadRoutedEventArgs)RadRowItem.OnIsCurrentChanged(bool)RadRowItem.OnIsAlternatingChanged(bool, bool)RadRowItem.OnMouseEnter(MouseEventArgs)RadRowItem.OnMouseMove(MouseEventArgs)RadRowItem.ItemRadRowItem.IsAlternatingRadRowItem.RowIndicatorVisibilityRadRowItem.ActionOnLostFocusRadRowItem.IsSelectedRadRowItem.IsCurrentRadRowItem.SelectedRadRowItem.UnselectedRadRowItem.IsCurrentChanged...

Constructors

Initializes a new instance of the GridViewRowItem class.

C#
protected GridViewRowItem()

Fields

CellLoadedEvent

RoutedEvent

Identifies the CellLoaded routed event.

C#
public static readonly RoutedEvent CellLoadedEvent

Identifies the CellUnloaded routed event.

C#
public static readonly RoutedEvent CellUnloadedEvent

HasHierarchyProperty

DependencyProperty

Identifies the HasHierarchy readonly dependency property.

C#
public static readonly DependencyProperty HasHierarchyProperty

Represents the HorizontalGridLinesBrush dependency property.

C#
public static readonly DependencyProperty HorizontalGridLinesBrushProperty

Represents the HorizontalGridLinesWidth dependency property.

C#
public static readonly DependencyProperty HorizontalGridLinesWidthProperty

IndentLevelProperty

DependencyProperty

Identifies the IndentLevel dependency property.

C#
public static readonly DependencyProperty IndentLevelProperty

Represents the VerticalGridLinesBrush dependency property.

C#
public static readonly DependencyProperty VerticalGridLinesBrushProperty

Represents the VerticalGridLinesWidth dependency property.

C#
public static readonly DependencyProperty VerticalGridLinesWidthProperty

Properties

Gets the cells.

C#
public IList<GridViewCellBase> Cells { get; }
Property Value:

The cells.

Gets the parent RadGridView of the row item.

C#
public GridViewDataControl GridViewDataControl { get; protected set; }
Property Value:

The parent RadGridView that contains the current row.

Gets a value indicating whether this row data control has hierarchy or not. This is a dependency property.

C#
public bool HasHierarchy { get; }

Gets or sets horizontal grid lines brush.

C#
public Brush HorizontalGridLinesBrush { get; }
Property Value:

The horizontal grid lines brush.

Gets or sets horizontal grid lines width.

C#
public double HorizontalGridLinesWidth { get; }
Property Value:

The horizontal grid lines width.

Gets the horizontal offset.

C#
public double HorizontalOffset { get; }
Property Value:

The horizontal offset.

Gets or sets the indent level.

C#
public int IndentLevel { get; set; }
Property Value:

The indent level.

Gets the name of the DataCellsPresenter.

C#
protected virtual string PartDataCellsPresenterName { get; }
Property Value:

The name of the DataCellsPresenter.

Gets or sets vertical grid lines brush.

C#
public Brush VerticalGridLinesBrush { get; }
Property Value:

The vertical grid lines brush.

Gets or sets vertical grid lines width.

C#
public double VerticalGridLinesWidth { get; }
Property Value:

The vertical grid lines width.

Methods

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSizeReturns:

Size

Generates cell containers for GridViewRowItem.

C#
protected virtual GridViewCellBase CreateItem()
Returns:

GridViewCellBase

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSizeReturns:

Size

C#
public override void OnApplyTemplate()

Overrides: RadRowItem.OnApplyTemplate()

Called when a cell is loaded.

C#
protected virtual void OnCellLoaded(GridViewCellBase cell)
Parameters:cellGridViewCellBase

The loaded cell.

Called when a cell is unloaded.

C#
protected virtual void OnCellUnloaded(GridViewCellBase cell)
Parameters:cellGridViewCellBase

The unloaded cell.

Notification from the GridViewDataControl that the columns collection has changed.

C#
protected virtual void OnColumnsChanged(ObservableCollection<GridViewColumn> columns, NotifyCollectionChangedEventArgs e)
Parameters:columnsObservableCollection<GridViewColumn>

The columns collection.

eNotifyCollectionChangedEventArgs

The event arguments from the collection's change event.

Called when HasHierarchy property has changed.

C#
protected virtual void OnHasHierarchyChanged()

Called when the value of the Item property changes.

C#
protected override void OnItemChanged(object oldItem, object newItem)
Parameters:oldItemobject

The old value of Item.

newItemobject

The new value of Item.

Overrides: RadRowItem.OnItemChanged(object, object)

Sets the horizontal scroll offset.

C#
public void SetHorizontalScrollOffset(double newHorizontalOffset)
Parameters:newHorizontalOffsetdouble

Events

Occurs when a cell is loaded.

C#
public event EventHandler<CellEventArgs> CellLoaded

Occurs when a cell is unloaded.

C#
public event EventHandler<CellEventArgs> CellUnloaded