About Progress

  • Company
    • Company Overview
    • Leadership
    • Corporate Social Responsibility
    • Investor Relations
    • Press Releases
    • Press Coverage
    • Recognitions
    • Progress Labs
    • Events
    • Customers
    • Careers
    • Offices
  • Technology
    • Cloud Native App Dev Platform
    • Cognitive Services
    • Web Content Management
    • UI/UX Tools
    • Secure Data Connectivity and Integration
    • Secure Managed File Transfer
    • OpenEdge
    • Network Monitoring
  • Services
    • Consulting
    • Education
    • Modernization
    • Outsourcing
  • Product Bundles

    DevCraft

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

    • Conversational UI
    • Online Training
    • Document Processing Library
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for Xamarin NativeScript OSS framework
    Desktop
    UI for WPF UI for UWP UI for WinForms
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    Debugging
    FiddlerCore
    CMS
    Sitefinity
    UX Design
    Unite UX
    Document Management
    Telerik Document Processing
    Innovations Lab
    VR DataViz
    Free Tools
    Fiddler JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Edit Profile
    • Payment Profiles
    • Renewals & Upgrades
    • Support Tickets
    • Log out
  • Login
  • Contact Us
  • Try now

Class GridViewInfo

This class contains logical information about visual presentation of flat tabular data in RadGridView.

Inheritance
System.Object
GridViewInfo
Inherited Members
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 GridViewInfo

Constructors

GridViewInfo(GridViewTemplate)

Initializes a new instance of the GridViewInfo.

Declaration
public GridViewInfo(GridViewTemplate ownerTemplate)
Parameters
GridViewTemplate ownerTemplate

The GridViewTemplate which this view corresponds to.

GridViewInfo(GridViewTemplate, GridViewHierarchyRowInfo)

Initializes a new instance of the GridViewInfo class.

Declaration
public GridViewInfo(GridViewTemplate ownerTemplate, GridViewHierarchyRowInfo parentRow)
Parameters
GridViewTemplate ownerTemplate

The owner template.

GridViewHierarchyRowInfo parentRow

The parent row.

Properties

ChildRows

Gets the rows in this view.

Declaration
public GridViewChildRowCollection ChildRows { get; }
Property Value
GridViewChildRowCollection

The rows.

CurrentIndex

Gets the index of the CurrentRow in the currently selected group.

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

CurrentRow

Gets or sets the current row of the current view.

Declaration
public GridViewRowInfo CurrentRow { get; set; }
Property Value
GridViewRowInfo

NeedsRefresh

Gets a value that indicates whether the ChildRows collection of GridViewInfo needs to be refreshed.

Declaration
public virtual bool NeedsRefresh { get; }
Property Value
System.Boolean

true if [needs refresh]; otherwise, false.

ParentRow

Gets the parent GridViewRowInfo which the current view is linked to.

Declaration
public GridViewHierarchyRowInfo ParentRow { get; }
Property Value
GridViewHierarchyRowInfo

PinnedRows

Gets a readonly list of GridViewRowInfo containing the pinned rows in this view.

Declaration
public GridViewPinnedRowCollection PinnedRows { get; }
Property Value
GridViewPinnedRowCollection

Rows

Gets the rows in this view.

Declaration
public GridViewChildRowCollection Rows { get; }
Property Value
GridViewChildRowCollection

The rows.

SummaryRows

Gets a readonly list of GridViewSummaryRowInfo containing the summary rows in this view.

Declaration
public GridViewSummaryRowCollection SummaryRows { get; }
Property Value
GridViewSummaryRowCollection

SystemRows

Gets a readonly list of GridViewRowInfo containing the system rows in this view.

Declaration
public GridViewSystemRowCollection SystemRows { get; }
Property Value
GridViewSystemRowCollection

TableAddNewRow

Gets the instance of GridViewNewRowInfo for the current view. This row represents the row which is used by users to add new data.

Declaration
public GridViewNewRowInfo TableAddNewRow { get; }
Property Value
GridViewNewRowInfo

TableFilteringRow

Gets the instance of GridViewFilteringRowInfo representing the header row for the current view.

Declaration
public GridViewFilteringRowInfo TableFilteringRow { get; }
Property Value
GridViewFilteringRowInfo

TableHeaderRow

Gets the instance of GridViewTableHeaderRowInfo representing the header row for the current view.

Declaration
public GridViewTableHeaderRowInfo TableHeaderRow { get; }
Property Value
GridViewTableHeaderRowInfo

TableSearchRow

Gets the instance of GridViewSearchRowInfo for the current view. This row represents the row which is used by users to search through the data inside RadGridView.

Declaration
public GridViewSearchRowInfo TableSearchRow { get; }
Property Value
GridViewSearchRowInfo

ViewTemplate

Gets the instance of GridViewTemplate which the current view corresponds to.

Declaration
public GridViewTemplate ViewTemplate { get; }
Property Value
GridViewTemplate

Methods

CreateAddNewRow()

Creates the new row.

Declaration
protected virtual GridViewNewRowInfo CreateAddNewRow()
Returns
GridViewNewRowInfo

CreateFilteringRow()

Creates the filtering row.

Declaration
protected virtual GridViewFilteringRowInfo CreateFilteringRow()
Returns
GridViewFilteringRowInfo

CreateSearchRow()

Creates the search row.

Declaration
protected virtual GridViewSearchRowInfo CreateSearchRow()
Returns
GridViewSearchRowInfo

CreateTableHeaderRow()

Creates the table header row.

Declaration
protected virtual GridViewTableHeaderRowInfo CreateTableHeaderRow()
Returns
GridViewTableHeaderRowInfo

EnsureVisible()

Ensures the visible.

Declaration
public void EnsureVisible()

FindGroupParent(GridViewRowInfo)

Finds the group parent.

Declaration
protected virtual IHierarchicalRow FindGroupParent(GridViewRowInfo rowInfo)
Parameters
GridViewRowInfo rowInfo

The row info.

Returns
IHierarchicalRow

FindParent(GridViewRowInfo)

Finds the parent of GridViewRowInfo instance.

Declaration
public IHierarchicalRow FindParent(GridViewRowInfo rowInfo)
Parameters
GridViewRowInfo rowInfo

The row info.

Returns
IHierarchicalRow

The parent of GridViewRowInfo instance.

HasChildRows()

Determines whether it has child rows.

Declaration
public bool HasChildRows()
Returns
System.Boolean

InitializeTableAddNewRow()

Initializes the table new row.

Declaration
protected virtual void InitializeTableAddNewRow()

InitializeTableFilteringRow()

Initializes the table filtering row.

Declaration
protected virtual void InitializeTableFilteringRow()

InitializeTableHeaderRow()

Initializes the table header row.

Declaration
protected virtual void InitializeTableHeaderRow()

InitializeTableSearchRow()

Initializes the table search row.

Declaration
protected virtual void InitializeTableSearchRow()

LoadHierarchicalData(GridViewHierarchyRowInfo, ICollectionView<GridViewRowInfo>)

Loads the hierarchical data.

Declaration
protected ICollectionView<GridViewRowInfo> LoadHierarchicalData(GridViewHierarchyRowInfo parent, ICollectionView<GridViewRowInfo> sourceView)
Parameters
GridViewHierarchyRowInfo parent

The parent.

ICollectionView<GridViewRowInfo> sourceView

The source view.

Returns
ICollectionView<GridViewRowInfo>

Refresh()

Refreshes the ChildRows of GridViewInfo.

Declaration
public virtual void Refresh()

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)

Was this article helpful?

 / 
Tell us how we can improve this article
Skip
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.