• Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    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 .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    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
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class GridViewNewRowInfo

Represents a row that enables adding of new rows in RadGridView.

Inheritance
System.Object
GridViewRowInfo
GridViewSystemRowInfo
GridViewNewRowInfo
Inherited Members
GridViewSystemRowInfo.IComparable<GridViewSystemRowInfo>.CompareTo(GridViewSystemRowInfo)
GridViewSystemRowInfo.IsSystem
GridViewSystemRowInfo.Index
GridViewSystemRowInfo.RowPosition
GridViewSystemRowInfo.Parent
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.HasChildRows()
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.OnPropertyChanging(PropertyChangingEventArgsEx)
GridViewRowInfo.ClearCache()
GridViewRowInfo.SetRowStateProperty<T>(String, T, T)
GridViewRowInfo.SetBooleanProperty(String, Int32, Boolean)
GridViewRowInfo.SearchCache
GridViewRowInfo.IsModified
GridViewRowInfo.ErrorText
GridViewRowInfo.Group
GridViewRowInfo.ViewInfo
GridViewRowInfo.ViewTemplate
GridViewRowInfo.Cells
GridViewRowInfo.Tag
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.IDataItem.DataBoundItem
GridViewRowInfo.IDataItem.FieldCount
GridViewRowInfo.IDataItem.Item[Int32]
GridViewRowInfo.IDataItem.Item[String]
GridViewRowInfo.HierarchyLevel
GridViewRowInfo.ChildRows
GridViewRowInfo.HasChildViews
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 GridViewNewRowInfo : GridViewSystemRowInfo, IDataItem, IHierarchicalRow, INotifyPropertyChanged, INotifyPropertyChangingEx, IDisposable, IComparable<GridViewSystemRowInfo>

Constructors

GridViewNewRowInfo(GridViewInfo)

Initializes a new instance of the GridViewNewRowInfo.

Declaration
public GridViewNewRowInfo(GridViewInfo gridViewInfo)
Parameters
GridViewInfo gridViewInfo

An instance of GridViewInfo which the current row belongs to.

Properties

AllowedStates

Gets the allowed states.

Declaration
public override AllowedGridViewRowInfoStates AllowedStates { get; }
Property Value
AllowedGridViewRowInfoStates

The allowed states.

Overrides
GridViewRowInfo.AllowedStates

DataBoundItem

Gets the data-bound object that populated the row.

Declaration
public override object DataBoundItem { get; }
Property Value
System.Object

Overrides
GridViewRowInfo.DataBoundItem

RowElementType

Gets the type of the GridRowElement for current GridViewRowInfo.

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

Overrides
GridViewRowInfo.RowElementType

Methods

CancelAddNewRow()

Cancels the adding of the new row.

Declaration
public void CancelAddNewRow()

CompareToSystemRowInfo(GridViewSystemRowInfo)

Compares to system row info.

Declaration
protected override int CompareToSystemRowInfo(GridViewSystemRowInfo row)
Parameters
GridViewSystemRowInfo row

The row.

Returns
System.Int32

Overrides
GridViewSystemRowInfo.CompareToSystemRowInfo(GridViewSystemRowInfo)

EndAddNewRow()

Finishes the adding of the new row.

Declaration
public GridViewRowInfo EndAddNewRow()
Returns
GridViewRowInfo

Returns true if successfull.

InitializeNewRow()

Starts the row adding process.

Declaration
public void InitializeNewRow()

OnBeginEdit()

Called when the edit operation begins.

Declaration
protected override bool OnBeginEdit()
Returns
System.Boolean

Overrides
GridViewRowInfo.OnBeginEdit()

OnEndEdit()

Called when the edit operation ends.

Declaration
protected override bool OnEndEdit()
Returns
System.Boolean

Overrides
GridViewRowInfo.OnEndEdit()

OnPropertyChanged(PropertyChangedEventArgs)

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

Overrides
GridViewRowInfo.OnPropertyChanged(PropertyChangedEventArgs)

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.