skip navigation
  • 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 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 Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    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 GridViewRelationCollection

Represents the collection that stores the relations

Inheritance
System.Object
System.Collections.ObjectModel.Collection<GridViewRelation>
NotifyCollection<GridViewRelation>
GridViewRelationCollection
Inherited Members
NotifyCollection<GridViewRelation>.Empty
NotifyCollection<GridViewRelation>.Move(Int32, Int32)
NotifyCollection<GridViewRelation>.AddRange(GridViewRelation[])
NotifyCollection<GridViewRelation>.AddRange(IEnumerable<GridViewRelation>)
NotifyCollection<GridViewRelation>.BeginUpdate()
NotifyCollection<GridViewRelation>.EndUpdate()
NotifyCollection<GridViewRelation>.EndUpdate(Boolean)
NotifyCollection<GridViewRelation>.DeferRefresh()
NotifyCollection<GridViewRelation>.MoveItem(Int32, Int32)
NotifyCollection<GridViewRelation>.CreateEventArguments(NotifyCollectionChangedAction)
NotifyCollection<GridViewRelation>.CreateEventArguments(NotifyCollectionChangedAction, Object, Int32)
NotifyCollection<GridViewRelation>.CreateEventArguments(NotifyCollectionChangedAction, Object, Object, Int32)
NotifyCollection<GridViewRelation>.OnCollectionChanged(NotifyCollectionChangedEventArgs)
NotifyCollection<GridViewRelation>.OnPropertyChanged(PropertyChangedEventArgs)
NotifyCollection<GridViewRelation>.OnPropertyChanged(String)
NotifyCollection<GridViewRelation>.Version
NotifyCollection<GridViewRelation>.Suspended
NotifyCollection<GridViewRelation>.CollectionChanged
NotifyCollection<GridViewRelation>.PropertyChanged
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.Add(Telerik.WinControls.UI.GridViewRelation)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.Clear()
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.CopyTo(Telerik.WinControls.UI.GridViewRelation[], System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.Contains(Telerik.WinControls.UI.GridViewRelation)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.GetEnumerator()
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.IndexOf(Telerik.WinControls.UI.GridViewRelation)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.Insert(System.Int32, Telerik.WinControls.UI.GridViewRelation)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.Remove(Telerik.WinControls.UI.GridViewRelation)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.Count
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.Items
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.System.Collections.Generic.ICollection<Telerik.WinControls.UI.GridViewRelation>.IsReadOnly
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.System.Collections.IList.Item[System.Int32]
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Telerik.WinControls.UI.GridViewRelation>.System.Collections.IList.IsFixedSize
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 GridViewRelationCollection : NotifyCollection<GridViewRelation>, IList<GridViewRelation>, ICollection<GridViewRelation>, IList, ICollection, IReadOnlyList<GridViewRelation>, IReadOnlyCollection<GridViewRelation>, IEnumerable<GridViewRelation>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Constructors

GridViewRelationCollection()

Declaration
public GridViewRelationCollection()

Methods

AddSelfReference(GridViewTemplate, String, String)

Adds the self reference.

Declaration
public void AddSelfReference(GridViewTemplate template, string primaryKeyColumnName, string foreignKeyColumnName)
Parameters
GridViewTemplate template

The template.

System.String primaryKeyColumnName

Name of the primary key column.

System.String foreignKeyColumnName

Name of the foreign key column.

AddSelfReference(GridViewTemplate, String[], String[])

Adds the self reference to GridViewTemplate.

Declaration
public void AddSelfReference(GridViewTemplate template, string[] primaryKeyColumnNames, string[] foreignKeyColumnNames)
Parameters
GridViewTemplate template

The template.

System.String[] primaryKeyColumnNames

The parent column names.

System.String[] foreignKeyColumnNames

The child column names.

AddSelfReferenceLoadOnDemand(GridViewTemplate, String, String)

Adds the self reference in load on demand mode.

Declaration
public void AddSelfReferenceLoadOnDemand(GridViewTemplate template, string primaryKeyColumnName, string foreignKeyColumnName)
Parameters
GridViewTemplate template

The template.

System.String primaryKeyColumnName

Name of the primary key column.

System.String foreignKeyColumnName

Name of the foreign key column.

AddSelfReferenceLoadOnDemand(GridViewTemplate, String[], String[])

Adds the self reference to GridViewTemplate in load on demand mode.

Declaration
public void AddSelfReferenceLoadOnDemand(GridViewTemplate template, string[] primaryKeyColumnNames, string[] foreignKeyColumnNames)
Parameters
GridViewTemplate template

The template.

System.String[] primaryKeyColumnNames

The parent column names.

System.String[] foreignKeyColumnNames

The child column names.

ClearItems()

Clears the items.

Declaration
protected override void ClearItems()
Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.UI.GridViewRelation>.ClearItems()

Contains(String)

Determines whether [contains] [the specified relation name].

Declaration
public bool Contains(string relationName)
Parameters
System.String relationName

Name of the relation.

Returns
System.Boolean

true if [contains] [the specified relation name]; otherwise, false.

Find(GridViewTemplate, GridViewTemplate)

Finds the specified relation.

Declaration
public GridViewRelation Find(GridViewTemplate parent, GridViewTemplate child)
Parameters
GridViewTemplate parent

The parent.

GridViewTemplate child

The child.

Returns
GridViewRelation

IndexOf(String)

Indexes the of.

Declaration
public int IndexOf(string relationName)
Parameters
System.String relationName

Name of the relation.

Returns
System.Int32

InsertItem(Int32, GridViewRelation)

Inserts the item.

Declaration
protected override void InsertItem(int index, GridViewRelation item)
Parameters
System.Int32 index

The index.

GridViewRelation item

The item.

Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.UI.GridViewRelation>.InsertItem(System.Int32, Telerik.WinControls.UI.GridViewRelation)

RemoveItem(Int32)

Removes the element at the specified index of the System.Collections.ObjectModel.Collection<T>.

Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32 index

The zero-based index of the element to remove.

Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.UI.GridViewRelation>.RemoveItem(System.Int32)
Exceptions
System.ArgumentOutOfRangeException

index is less than zero.-or-index is equal to or greater than System.Collections.ObjectModel.Collection<T>.Count.

SetItem(Int32, GridViewRelation)

Sets the item.

Declaration
protected override void SetItem(int index, GridViewRelation item)
Parameters
System.Int32 index

The index.

GridViewRelation item

The item.

Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.UI.GridViewRelation>.SetItem(System.Int32, Telerik.WinControls.UI.GridViewRelation)

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.