menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ScheduleResourceList - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ScheduleResourceList

    A Collection of IScheduleResources to be displayed in Schedule's resource row.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    ScheduleResourceList
    Implements
    IScheduleResourceList
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.CollectionBase.Capacity
    System.Collections.CollectionBase.Clear()
    System.Collections.CollectionBase.Count
    System.Collections.CollectionBase.GetEnumerator()
    System.Collections.CollectionBase.InnerList
    System.Collections.CollectionBase.List
    System.Collections.CollectionBase.OnClear()
    System.Collections.CollectionBase.OnClearComplete()
    System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
    System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
    System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnValidate(System.Object)
    System.Collections.CollectionBase.RemoveAt(System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
    System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
    System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
    System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
    System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
    System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Schedule
    Assembly: Syncfusion.Schedule.Base.dll
    Syntax
    public class ScheduleResourceList : CollectionBase, IScheduleResourceList, IList, ICollection, IEnumerable
    Remarks

    Collection contains objects displayed in a Schedule as additional columns/rows of a Schedule. Resource objects allow for displaying schedules for different resources or schedules along each other. This allows for easy analysis and comparing two or more schedules linked to Resource objects. If there is no objects in a collection then the Schedule displays one schedule

    Constructors

    ScheduleResourceList()

    Initializes a new instance of the ScheduleResourceList class.

    Declaration
    public ScheduleResourceList()

    Properties

    Item[Int32]

    Gets or sets the schedule resource.

    Declaration
    public IScheduleResource this[int nIdx] { get; set; }
    Parameters
    Type Name Description
    System.Int32 nIdx

    The zero-based index at which value should be returned.

    Property Value
    Type Description
    IScheduleResource

    A IScheduleResource

    Methods

    Add(IScheduleResource)

    Appends the IScheduleResource to the end of the ScheduleResourceCollection.

    Declaration
    public virtual int Add(IScheduleResource resource)
    Parameters
    Type Name Description
    IScheduleResource resource

    The IScheduleResource to add to the ScheduleResourceCollection.

    Returns
    Type Description
    System.Int32

    The position into which the new element was inserted.

    Contains(IScheduleResource)

    Determines whether the collection contains the specified resource.

    Declaration
    public virtual bool Contains(IScheduleResource resource)
    Parameters
    Type Name Description
    IScheduleResource resource

    A IScheduleResource to search for in the collection.

    Returns
    Type Description
    System.Boolean

    true if the collection contains the specified item; otherwise, false.

    Find(Int32)

    Finds resource by UniqueID.

    Declaration
    public IScheduleResource Find(int nOwnerID)
    Parameters
    Type Name Description
    System.Int32 nOwnerID

    resource UniqueID

    Returns
    Type Description
    IScheduleResource

    A IScheduleResource

    IndexOf(IScheduleResource)

    Determines the index value that represents the position of the IScheduleResource in the ScheduleResourceCollection.

    Declaration
    public virtual int IndexOf(IScheduleResource resource)
    Parameters
    Type Name Description
    IScheduleResource resource

    The IScheduleResource to locate in the ScheduleResourceCollection.

    Returns
    Type Description
    System.Int32

    The index position of the specified IScheduleResource in the collection.

    Insert(Int32, IScheduleResource)

    Inserts a IScheduleResource in the ScheduleResourceCollection at the specified index location.

    Declaration
    public virtual void Insert(int nIdx, IScheduleResource resource)
    Parameters
    Type Name Description
    System.Int32 nIdx

    The location in the collection to insert the IScheduleResource.

    IScheduleResource resource

    A IScheduleResource to add to the collection.

    NewScheduleResource()

    Returns a default ScheduleResource.

    Declaration
    public virtual IScheduleResource NewScheduleResource()
    Returns
    Type Description
    IScheduleResource

    New ScheduleResource.

    Remove(IScheduleResource)

    Removes the specified IScheduleResource from the ScheduleResourceCollection.

    Declaration
    public virtual void Remove(IScheduleResource resource)
    Parameters
    Type Name Description
    IScheduleResource resource

    The IScheduleResource to remove from the collection.

    Implements

    IScheduleResourceList
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved