Skip to content

ISnackbarService interface

Defined in

Namespace: CrissCross.WPF.UI Assembly: CrissCross.WPF.UI.dll Full name: CrissCross.WPF.UI.ISnackbarService Modifiers: public abstract

Summary

Represents a contract with the service that provides global Snackbar.

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

Properties

NameSummary
DefaultTimeOutGets or sets a time for which the [Snackbar](# should be visible. (By default 2 seconds).

Methods

NameSummary
SetSnackbarPresenterSets the [SnackbarPresenter](#
GetSnackbarPresenterProvides direct access to the ContentPresenter.
ShowShows the snackbar. If it is already visible, firstly hides it for a moment, changes its content, and then shows it again.

Extension members