Class
GridViewRowItem

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:

cs-api-definition
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

GridViewRowItem()

Initializes a new instance of the GridViewRowItem class.

Declaration

cs-api-definition
protected GridViewRowItem()

Fields

CellLoadedEvent

Identifies the CellLoaded routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent CellLoadedEvent

Field Value

RoutedEvent

CellUnloadedEvent

Identifies the CellUnloaded routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent CellUnloadedEvent

Field Value

RoutedEvent

HasHierarchyProperty

Identifies the HasHierarchy readonly dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HasHierarchyProperty

Field Value

DependencyProperty

HorizontalGridLinesBrushProperty

Represents the HorizontalGridLinesBrush dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalGridLinesBrushProperty

Field Value

DependencyProperty

HorizontalGridLinesWidthProperty

Represents the HorizontalGridLinesWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalGridLinesWidthProperty

Field Value

DependencyProperty

IndentLevelProperty

Identifies the IndentLevel dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IndentLevelProperty

Field Value

DependencyProperty

VerticalGridLinesBrushProperty

Represents the VerticalGridLinesBrush dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalGridLinesBrushProperty

Field Value

DependencyProperty

VerticalGridLinesWidthProperty

Represents the VerticalGridLinesWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalGridLinesWidthProperty

Field Value

DependencyProperty

Properties

Cells

Gets the cells.

Declaration

cs-api-definition
public IList<GridViewCellBase> Cells { get; }

Property Value

IList<GridViewCellBase>

The cells.

GridViewDataControl

Gets the parent RadGridView of the row item.

Declaration

cs-api-definition
public GridViewDataControl GridViewDataControl { get; protected set; }

Property Value

GridViewDataControl

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.

Declaration

cs-api-definition
public bool HasHierarchy { get; }

Property Value

bool

HorizontalGridLinesBrush

Gets or sets horizontal grid lines brush.

Declaration

cs-api-definition
public Brush HorizontalGridLinesBrush { get; }

Property Value

Brush

The horizontal grid lines brush.

HorizontalGridLinesWidth

Gets or sets horizontal grid lines width.

Declaration

cs-api-definition
public double HorizontalGridLinesWidth { get; }

Property Value

double

The horizontal grid lines width.

HorizontalOffset

Gets the horizontal offset.

Declaration

cs-api-definition
public double HorizontalOffset { get; }

Property Value

double

The horizontal offset.

IndentLevel

Gets or sets the indent level.

Declaration

cs-api-definition
public int IndentLevel { get; set; }

Property Value

int

The indent level.

PartDataCellsPresenterName

Gets the name of the DataCellsPresenter.

Declaration

cs-api-definition
protected virtual string PartDataCellsPresenterName { get; }

Property Value

string

The name of the DataCellsPresenter.

VerticalGridLinesBrush

Gets or sets vertical grid lines brush.

Declaration

cs-api-definition
public Brush VerticalGridLinesBrush { get; }

Property Value

Brush

The vertical grid lines brush.

VerticalGridLinesWidth

Gets or sets vertical grid lines width.

Declaration

cs-api-definition
public double VerticalGridLinesWidth { get; }

Property Value

double

The vertical grid lines width.

Methods

ArrangeOverride(Size)

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

Returns

Size

CreateItem()

Generates cell containers for GridViewRowItem.

Declaration

cs-api-definition
protected virtual GridViewCellBase CreateItem()

Returns

GridViewCellBase

MeasureOverride(Size)

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

Returns

Size

OnApplyTemplate()

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides RadRowItem.OnApplyTemplate()

OnCellLoaded(GridViewCellBase)

Called when a cell is loaded.

Declaration

cs-api-definition
protected virtual void OnCellLoaded(GridViewCellBase cell)

Parameters

cell

GridViewCellBase

The loaded cell.

OnCellUnloaded(GridViewCellBase)

Called when a cell is unloaded.

Declaration

cs-api-definition
protected virtual void OnCellUnloaded(GridViewCellBase cell)

Parameters

cell

GridViewCellBase

The unloaded cell.

OnColumnsChanged(ObservableCollection<GridViewColumn>, NotifyCollectionChangedEventArgs)

Notification from the GridViewDataControl that the columns collection has changed.

Declaration

cs-api-definition
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

cs-api-definition
protected virtual void OnHasHierarchyChanged()

OnItemChanged(object, object)

Called when the value of the Item property changes.

Declaration

cs-api-definition
protected override void OnItemChanged(object oldItem, object newItem)

Parameters

oldItem

object

The old value of Item.

newItem

object

The new value of Item.

Overrides RadRowItem.OnItemChanged(object, object)

SetHorizontalScrollOffset(double)

Sets the horizontal scroll offset.

Declaration

cs-api-definition
public void SetHorizontalScrollOffset(double newHorizontalOffset)

Parameters

newHorizontalOffset

double

Events

CellLoaded

Occurs when a cell is loaded.

Declaration

cs-api-definition
public event EventHandler<CellEventArgs> CellLoaded

Event Value

EventHandler<CellEventArgs>

CellUnloaded

Occurs when a cell is unloaded.

Declaration

cs-api-definition
public event EventHandler<CellEventArgs> CellUnloaded

Event Value

EventHandler<CellEventArgs>