alexa
menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class ToastGroupContainer

    Hosts a collection of ToastGroup instances and presents them as a single expandable/collapsible notification surface.

    Inheritance
    System.Object
    ToastGroupContainer
    Namespace: Syncfusion.UI.Xaml.SfToastNotification
    Assembly: Syncfusion.SfToastNotification.WPF.dll
    Syntax
    public class ToastGroupContainer : Control

    Constructors

    ToastGroupContainer(Action)

    Initializes a new instance of the ToastGroupContainer class with the supplied hide callback.

    Declaration
    public ToastGroupContainer(Action hideAction)
    Parameters
    Type Name Description
    System.Action hideAction

    The callback invoked when the container close button is clicked.

    Fields

    GroupsProperty

    Identifies the Groups dependency property.

    Declaration
    public static readonly DependencyProperty GroupsProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    CloseContainerCommand

    Gets the command that hides the container when the close button is clicked. The groups and their items are preserved; the container is shown again when a new grouped notification arrives.

    Declaration
    public ICommand CloseContainerCommand { get; }
    Property Value
    Type
    System.Windows.Input.ICommand

    Groups

    Gets the collection of ToastGroup instances displayed by this container.

    Declaration
    public ObservableCollection<ToastGroup> Groups { get; }
    Property Value
    Type
    System.Collections.ObjectModel.ObservableCollection<ToastGroup>
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved