skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class GridViewRowItem

Represents a control that contains logically connected children (cells) and arranges them in a row-like manner.

Inheritance
System.Object
RadRowItem
GridViewRowItem
GridViewColumnGroupRow
GridViewFooterRow
GridViewGroupFooterRow
GridViewHeaderRow
GridViewRow
GroupHeaderRow
Inherited Members
RadRowItem.ItemProperty
RadRowItem.IsAlternatingProperty
RadRowItem.IsCurrentProperty
RadRowItem.IsSelectedProperty
RadRowItem.SelectedEvent
RadRowItem.UnselectedEvent
RadRowItem.IsCurrentChangedEvent
RadRowItem.RowIndicatorVisibilityProperty
RadRowItem.Dispose()
RadRowItem.CreateIndentItem()
RadRowItem.IsSelectable()
RadRowItem.SelectionPropertyChanged(Object, DependencyPropertyChangedEventArgs)
RadRowItem.OnSelected(RadRoutedEventArgs)
RadRowItem.OnUnselected(RadRoutedEventArgs)
RadRowItem.OnIsCurrentChanged(Boolean)
RadRowItem.OnIsAlternatingChanged(Boolean, Boolean)
RadRowItem.OnMouseEnter(MouseEventArgs)
RadRowItem.OnMouseMove(MouseEventArgs)
RadRowItem.IRowItem.get_DataContext()
RadRowItem.IRowItem.set_DataContext(Object)
RadRowItem.Item
RadRowItem.IsAlternating
RadRowItem.RowIndicatorVisibility
RadRowItem.ActionOnLostFocus
RadRowItem.IsSelected
RadRowItem.IsCurrent
RadRowItem.Selected
RadRowItem.Unselected
RadRowItem.IsCurrentChanged
Namespace: Telerik.Windows.Controls.GridView
Assembly: Telerik.Windows.Controls.GridView.dll

Syntax

public abstract class GridViewRowItem : RadRowItem, IRowItem, IHorizontallyScrollable, ILayoutObserver

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
System.Windows.RoutedEvent

CellUnloadedEvent

Identifies the CellUnloaded routed event.

Declaration
public static readonly RoutedEvent CellUnloadedEvent
Field Value
System.Windows.RoutedEvent

HasHierarchyProperty

Identifies the HasHierarchy readonly dependency property.

Declaration
public static readonly DependencyProperty HasHierarchyProperty
Field Value
System.Windows.DependencyProperty

HorizontalGridLinesBrushProperty

Represents the HorizontalGridLinesBrush dependency property.

Declaration
public static readonly DependencyProperty HorizontalGridLinesBrushProperty
Field Value
System.Windows.DependencyProperty

HorizontalGridLinesWidthProperty

Represents the HorizontalGridLinesWidth dependency property.

Declaration
public static readonly DependencyProperty HorizontalGridLinesWidthProperty
Field Value
System.Windows.DependencyProperty

IndentLevelProperty

Identifies the IndentLevel dependency property.

Declaration
public static readonly DependencyProperty IndentLevelProperty
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

Cells

Gets the cells.

Declaration
public IList<GridViewCellBase> Cells { get; }
Property Value
System.Collections.Generic.IList<GridViewCellBase>

The cells.

GridViewDataControl

Gets the parent RadGridView of the row item.

Declaration
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
public bool HasHierarchy { get; }
Property Value
System.Boolean

HorizontalGridLinesBrush

Gets or sets horizontal grid lines brush.

Declaration
public Brush HorizontalGridLinesBrush { get; }
Property Value
System.Windows.Media.Brush

The horizontal grid lines brush.

HorizontalGridLinesWidth

Gets or sets horizontal grid lines width.

Declaration
public double HorizontalGridLinesWidth { get; }
Property Value
System.Double

The horizontal grid lines width.

HorizontalOffset

Gets the horizontal offset.

Declaration
public double HorizontalOffset { get; }
Property Value
System.Double

The horizontal offset.

IndentLevel

Gets or sets the indent level.

Declaration
public int IndentLevel { get; set; }
Property Value
System.Int32

The indent level.

PartDataCellsPresenterName

Gets the name of the DataCellsPresenter.

Declaration
protected virtual string PartDataCellsPresenterName { get; }
Property Value
System.String

The name of the DataCellsPresenter.

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

ArrangeOverride(Size)

Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size finalSize

Returns
System.Windows.Size

CreateItem()

Generates cell containers for GridViewRowItem.

Declaration
protected virtual GridViewCellBase CreateItem()
Returns
GridViewCellBase

MeasureOverride(Size)

Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size availableSize

Returns
System.Windows.Size

OnApplyTemplate()

Declaration
public override void OnApplyTemplate()
Overrides
RadRowItem.OnApplyTemplate()

OnCellLoaded(GridViewCellBase)

Called when a cell is loaded.

Declaration
protected virtual void OnCellLoaded(GridViewCellBase cell)
Parameters
GridViewCellBase cell

The loaded cell.

OnCellUnloaded(GridViewCellBase)

Called when a cell is unloaded.

Declaration
protected virtual void OnCellUnloaded(GridViewCellBase cell)
Parameters
GridViewCellBase 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
System.Collections.ObjectModel.ObservableCollection<GridViewColumn> columns

The columns collection.

System.Collections.Specialized.NotifyCollectionChangedEventArgs e

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.

Declaration
protected override void OnItemChanged(object oldItem, object newItem)
Parameters
System.Object oldItem

The old value of Item.

System.Object newItem

The new value of Item.

Overrides
RadRowItem.OnItemChanged(Object, Object)

SetHorizontalScrollOffset(Double)

Sets the horizontal scroll offset.

Declaration
public void SetHorizontalScrollOffset(double newHorizontalOffset)
Parameters
System.Double newHorizontalOffset

Events

CellLoaded

Occurs when a cell is loaded.

Declaration
public event EventHandler<CellEventArgs> CellLoaded
Event Type
System.EventHandler<CellEventArgs>

CellUnloaded

Occurs when a cell is unloaded.

Declaration
public event EventHandler<CellEventArgs> CellUnloaded
Event Type
System.EventHandler<CellEventArgs>

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.