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 RadToastNotificationCollection

A collection of RadToastNotification. Supports unique names. Can access a RadToastNotification through its name. Names must be unique.

Inheritance
System.Object
System.Collections.Generic.List<RadToastNotification>
RadToastNotificationCollection
Inherited Members
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.IList.get_Item(System.Int32)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.IList.Add(System.Object)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.AsReadOnly()
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.BinarySearch(System.Int32, System.Int32, Telerik.RadToastNotificationManager.RadToastNotification, System.Collections.Generic.IComparer<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.BinarySearch(Telerik.RadToastNotificationManager.RadToastNotification)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.BinarySearch(Telerik.RadToastNotificationManager.RadToastNotification, System.Collections.Generic.IComparer<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.Contains(Telerik.RadToastNotificationManager.RadToastNotification)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.IList.Contains(System.Object)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.ConvertAll<TOutput>(System.Converter<Telerik.RadToastNotificationManager.RadToastNotification, TOutput>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.CopyTo(Telerik.RadToastNotificationManager.RadToastNotification[])
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.CopyTo(System.Int32, Telerik.RadToastNotificationManager.RadToastNotification[], System.Int32, System.Int32)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.CopyTo(Telerik.RadToastNotificationManager.RadToastNotification[], System.Int32)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.Exists(System.Predicate<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.Find(System.Predicate<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.FindAll(System.Predicate<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.FindIndex(System.Predicate<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.FindIndex(System.Int32, System.Predicate<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.FindIndex(System.Int32, System.Int32, System.Predicate<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.FindLast(System.Predicate<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.FindLastIndex(System.Predicate<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.FindLastIndex(System.Int32, System.Predicate<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.FindLastIndex(System.Int32, System.Int32, System.Predicate<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.ForEach(System.Action<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.GetEnumerator()
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.Generic.IEnumerable<Telerik.RadToastNotificationManager.RadToastNotification>.GetEnumerator()
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.GetRange(System.Int32, System.Int32)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.IndexOf(Telerik.RadToastNotificationManager.RadToastNotification)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.IList.IndexOf(System.Object)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.IndexOf(Telerik.RadToastNotificationManager.RadToastNotification, System.Int32)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.IndexOf(Telerik.RadToastNotificationManager.RadToastNotification, System.Int32, System.Int32)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.LastIndexOf(Telerik.RadToastNotificationManager.RadToastNotification)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.LastIndexOf(Telerik.RadToastNotificationManager.RadToastNotification, System.Int32)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.LastIndexOf(Telerik.RadToastNotificationManager.RadToastNotification, System.Int32, System.Int32)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.IList.Remove(System.Object)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.Reverse()
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.Reverse(System.Int32, System.Int32)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.Sort()
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.Sort(System.Collections.Generic.IComparer<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.Sort(System.Int32, System.Int32, System.Collections.Generic.IComparer<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.Sort(System.Comparison<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.ToArray()
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.TrimExcess()
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.TrueForAll(System.Predicate<Telerik.RadToastNotificationManager.RadToastNotification>)
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.Capacity
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.Count
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.IList.IsFixedSize
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.Generic.ICollection<Telerik.RadToastNotificationManager.RadToastNotification>.IsReadOnly
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.IList.IsReadOnly
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.List<Telerik.RadToastNotificationManager.RadToastNotification>.System.Collections.IList.Item[System.Int32]
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.RadToastNotificationManager
Assembly: Telerik.WinControls.RadToastNotification.dll

Syntax

public class RadToastNotificationCollection : List<RadToastNotification>, IList<RadToastNotification>, ICollection<RadToastNotification>, IList, ICollection, IReadOnlyList<RadToastNotification>, IReadOnlyCollection<RadToastNotification>, IEnumerable<RadToastNotification>, IEnumerable

Constructors

RadToastNotificationCollection()

Default constructor.

Declaration
public RadToastNotificationCollection()

RadToastNotificationCollection(IList<RadToastNotification>, Boolean)

Copy copntructor that supports shallow and deep copy.

Declaration
public RadToastNotificationCollection(IList<RadToastNotification> toastNotifications, bool deepCopy = true)
Parameters
System.Collections.Generic.IList<RadToastNotification> toastNotifications

A list of toast notifications to copy.

System.Boolean deepCopy

True to use deep copy, false to use shallow copy. Deep copy is default.

Properties

Item[Int32]

Gets or sets the toast notification at the specified index. Throws Telerik.RadToastNotificationManager.RadToastNotificationInvalidNameException if the name is not unique.

Declaration
public RadToastNotification this[int index] { get; set; }
Parameters
System.Int32 index

The zero-based index of the toast notification to get or set.

Property Value
RadToastNotification

RadToastNotification

Item[String]

Gets a toast based on its name. Return null if the name does not exist in the collection.

Declaration
public RadToastNotification this[string name] { get; }
Parameters
System.String name

Name

Property Value
RadToastNotification

RadToastNotification

Methods

Add(RadToastNotification)

Adds a RadToastNotification to the end of the collection, if the name is unique. Throws Telerik.RadToastNotificationManager.RadToastNotificationInvalidNameException if the name is not unique.

Declaration
public void Add(RadToastNotification item)
Parameters
RadToastNotification item

AddRange(IEnumerable<RadToastNotification>)

Adds the RadToastNotifications of the given collection to the end of the RadToastNotificationCollection. Throws Telerik.RadToastNotificationManager.RadToastNotificationInvalidNameException if one of the names is not unique.

Declaration
public void AddRange(IEnumerable<RadToastNotification> collection)
Parameters
System.Collections.Generic.IEnumerable<RadToastNotification> collection

The given collection

Clear()

Clears all RadToastNotifications from the collection.

Declaration
public void Clear()

Insert(Int32, RadToastNotification)

Inserts a RadToastNotification into the collection at the specified index. Throws Telerik.RadToastNotificationManager.RadToastNotificationInvalidNameException if the name is not unique.

Declaration
public void Insert(int index, RadToastNotification item)
Parameters
System.Int32 index

The given index

RadToastNotification item

RadToastNotification

InsertRange(Int32, IEnumerable<RadToastNotification>)

Adds the RadToastNotifications of the given collection at the specified index. Throws Telerik.RadToastNotificationManager.RadToastNotificationInvalidNameException if one of the names is not unique.

Declaration
public void InsertRange(int index, IEnumerable<RadToastNotification> collection)
Parameters
System.Int32 index

The given index

System.Collections.Generic.IEnumerable<RadToastNotification> collection

The given collection

Remove(RadToastNotification)

Removes a given RadToastNotification from the collection.

Declaration
public bool Remove(RadToastNotification item)
Parameters
RadToastNotification item

RadToastNotification

Returns
System.Boolean

True if RadToastNotification is successfully removed; otherwise, false. This method also returns false if RadToastNotification was not found in the collection.

RemoveAll(Predicate<RadToastNotification>)

Removes all the RadToastNotifications that match the conditions defined by the specified predicate.

Declaration
public int RemoveAll(Predicate<RadToastNotification> match)
Parameters
System.Predicate<RadToastNotification> match

The delegate that defines the conditions of the elements to remove

Returns
System.Int32

The number of elements removed

RemoveAt(Int32)

Removes a RadToastNotification at the given index.

Declaration
public void RemoveAt(int index)
Parameters
System.Int32 index

The given index

RemoveRange(Int32, Int32)

Removes a range of RadToastNotifications from the collection.

Declaration
public void RemoveRange(int index, int count)
Parameters
System.Int32 index

The zero-based starting index of the range of RadToastNotifications to remove.

System.Int32 count

The number of RadToastNotifications to remove.

Extension Methods

CommonExtensions.AddRange<T>(ICollection<T>, IEnumerable<T>)
CommonExtensions.ContainsAny<T>(IEnumerable<T>, IEnumerable<T>)
CommonExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
CommonExtensions.RemoveLast<T>(IList<T>)
CommonExtensions.EnsureListCountAtLeast<T>(IList<T>, Int32, Func<T>)
CommonExtensions.EnsureListCount<T>(IList<T>, Int32, Func<T>)
CommonExtensions.Clone<T>(IEnumerable<T>)
ExtensionMethodsEditor.CastCovariant<TFrom, TTo>(IEnumerable<TFrom>)
SvgExtentions.Traverse<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(IEnumerable<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.