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 GridViewHierarchyRowInfo

Represents a hierarchical data row in the grid.

Inheritance
System.Object
GridViewRowInfo
GridViewDataRowInfo
GridViewHierarchyRowInfo
Inherited Members
GridViewDataRowInfo.OnBeginEdit()
GridViewRowInfo.IsAttachedState
GridViewRowInfo.IsModifiedState
GridViewRowInfo.IsCurrentState
GridViewRowInfo.IsSelectedState
GridViewRowInfo.IsExpandedState
GridViewRowInfo.IsVisibleState
GridViewRowInfo.AllowResizeState
GridViewRowInfo.SuspendNotificationsState
GridViewRowInfo.IsInitializedState
GridViewRowInfo.LastRowInfoState
GridViewRowInfo.state
GridViewRowInfo.SetParent(GridViewRowInfo)
GridViewRowInfo.GetActualHeight(IGridView)
GridViewRowInfo.InvalidateRow()
GridViewRowInfo.EnsureVisible()
GridViewRowInfo.EnsureVisible(Boolean)
GridViewRowInfo.Delete()
GridViewRowInfo.GetErrorText(String)
GridViewRowInfo.SuspendPropertyNotifications()
GridViewRowInfo.ResumePropertyNotifications()
GridViewRowInfo.FindParent<T>()
GridViewRowInfo.IDataItem.get_Item(Int32)
GridViewRowInfo.IDataItem.set_Item(Int32, Object)
GridViewRowInfo.IDataItem.get_Item(String)
GridViewRowInfo.IDataItem.set_Item(String, Object)
GridViewRowInfo.IDataItem.IndexOf(String)
GridViewRowInfo.Dispose()
GridViewRowInfo.DispatchEvent(KnownEvents, GridEventType, GridEventDispatchMode, Object, Object[])
GridViewRowInfo.GetEventInfo(GridPropertyChangedEventArgs, GridEventDispatchMode)
GridViewRowInfo.OnEndEdit()
GridViewRowInfo.ClearCache()
GridViewRowInfo.SetRowStateProperty<T>(String, T, T)
GridViewRowInfo.SetBooleanProperty(String, Int32, Boolean)
GridViewRowInfo.SearchCache
GridViewRowInfo.IsSystem
GridViewRowInfo.IsModified
GridViewRowInfo.ErrorText
GridViewRowInfo.Group
GridViewRowInfo.ViewInfo
GridViewRowInfo.ViewTemplate
GridViewRowInfo.Cells
GridViewRowInfo.Tag
GridViewRowInfo.DataBoundItem
GridViewRowInfo.MinHeight
GridViewRowInfo.MaxHeight
GridViewRowInfo.Height
GridViewRowInfo.IsCurrent
GridViewRowInfo.IsSelected
GridViewRowInfo.IsExpanded
GridViewRowInfo.IsVisible
GridViewRowInfo.IsPinned
GridViewRowInfo.PinPosition
GridViewRowInfo.IsEditable
GridViewRowInfo.IsOdd
GridViewRowInfo.AllowResize
GridViewRowInfo.AllowedStates
GridViewRowInfo.IDataItem.DataBoundItem
GridViewRowInfo.IDataItem.FieldCount
GridViewRowInfo.IDataItem.Item[Int32]
GridViewRowInfo.IDataItem.Item[String]
GridViewRowInfo.HierarchyLevel
GridViewRowInfo.PropertyChanged
GridViewRowInfo.PropertyChanging
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll

Syntax

public class GridViewHierarchyRowInfo : GridViewDataRowInfo, IDataItem, IHierarchicalRow, INotifyPropertyChanged, INotifyPropertyChangingEx, IDisposable

Constructors

GridViewHierarchyRowInfo(GridViewDataRowInfo)

Initializes a new instance of the GridViewHierarchyRowInfo class.

Declaration
public GridViewHierarchyRowInfo(GridViewDataRowInfo row)
Parameters
GridViewDataRowInfo row

The data row information to copy from.

GridViewHierarchyRowInfo(GridViewInfo)

Initializes a new instance of the GridViewHierarchyRowInfo class.

Declaration
public GridViewHierarchyRowInfo(GridViewInfo owner)
Parameters
GridViewInfo owner

The owner grid view information.

Properties

ActiveView

Gets or sets the active view for this hierarchy row.

Declaration
public GridViewInfo ActiveView { get; set; }
Property Value
GridViewInfo

The active GridViewInfo.

ChildRow

Gets the child row that is related with this row in a hierarchy.

Declaration
public GridViewDetailsRowInfo ChildRow { get; }
Property Value
GridViewDetailsRowInfo

The GridViewDetailsRowInfo child row.

ChildRows

Gets the child rows collection for this hierarchy row.

Declaration
public override GridViewChildRowCollection ChildRows { get; }
Property Value
GridViewChildRowCollection

The collection of child rows.

Overrides
GridViewRowInfo.ChildRows

HasChildViews

Gets a value indicating whether the hierarchy row has child views.

Declaration
public override bool HasChildViews { get; }
Property Value
System.Boolean

True if the row has child views, false otherwise.

Overrides
GridViewRowInfo.HasChildViews

Index

Gets the index of this row.

Declaration
public override int Index { get; }
Property Value
System.Int32

The zero-based index of the row.

Overrides
GridViewRowInfo.Index

IsExpandable

Gets or sets a value indicating whether the row has child rows and can be expanded.

Declaration
public virtual bool? IsExpandable { get; set; }
Property Value
System.Nullable<System.Boolean>

True if expandable, false otherwise, or null if not determined.

Level

Gets the level of the hierarchy for this row.

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

The hierarchy level.

Parent

Gets the parent row for this row.

Declaration
public override IHierarchicalRow Parent { get; }
Property Value
IHierarchicalRow

The parent hierarchical row.

Overrides
GridViewRowInfo.Parent

RowElementType

Gets the type of the GridRowElement for current GridViewRowInfo.

Declaration
public override Type RowElementType { get; }
Property Value
System.Type

The type of the row element.

Overrides
GridViewRowInfo.RowElementType

Views

Gets the collection of views for this hierarchy row.

Declaration
public IReadOnlyCollection<GridViewInfo> Views { get; }
Property Value
IReadOnlyCollection<GridViewInfo>

A read-only collection of GridViewInfo objects.

Methods

CreateGridViewDetailsRowInfo(GridViewHierarchyRowInfo)

Creates the GridViewDetailsRowInfo for the specified hierarchy row.

Declaration
protected virtual GridViewDetailsRowInfo CreateGridViewDetailsRowInfo(GridViewHierarchyRowInfo hierarchyRow)
Parameters
GridViewHierarchyRowInfo hierarchyRow

The hierarchy row information.

Returns
GridViewDetailsRowInfo

A new instance of GridViewDetailsRowInfo.

EnsureViews()

Ensures that the views collection is properly initialized and updated.

Declaration
public void EnsureViews()

HasChildRows()

Determines whether the row has child rows.

Declaration
public override bool HasChildRows()
Returns
System.Boolean

true if the row has child rows; otherwise, false.

Overrides
GridViewRowInfo.HasChildRows()

OnPropertyChanged(PropertyChangedEventArgs)

Called when a property has changed. Handles expansion state notifications.

Declaration
protected override void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs e

The property changed event arguments.

Overrides
GridViewDataRowInfo.OnPropertyChanged(PropertyChangedEventArgs)

OnPropertyChanging(PropertyChangingEventArgsEx)

Called when a property is changing. Handles expansion-related cancellation logic.

Declaration
protected override void OnPropertyChanging(PropertyChangingEventArgsEx args)
Parameters
PropertyChangingEventArgsEx args

The property changing event arguments.

Overrides
GridViewRowInfo.OnPropertyChanging(PropertyChangingEventArgsEx)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • 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.