Skip to content

Snackbar class

Defined in

Namespace: CrissCross.Avalonia.UI.Controls Assembly: CrissCross.Avalonia.UI.dll Full name: CrissCross.Avalonia.UI.Controls.Snackbar Modifiers: public

Summary

        Snackbar inform user of a process that an app has performed or will perform.
        

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471

Class hierarchy
classDiagram
class Snackbar
class ContentControl
ContentControl <|-- Snackbar

Inherits from: ContentControl

Constructors

NameSummary
.ctorInitializes a new instance of the [Snackbar](# class.

Properties

NameSummary
IsCloseButtonEnabledGets or sets a value indicating whether the close button is enabled.
IsShownGets or sets a value indicating whether the snackbar is shown.
TimeoutGets or sets the timeout.
TitleGets or sets the title.
IconGets or sets the icon.
AppearanceGets or sets the appearance.
ContentForegroundGets or sets the content foreground.
PresenterGets or sets the snackbar presenter.

Fields

NameSummary
static IsCloseButtonEnabledPropertyProperty for [IsCloseButtonEnabled](#
static IsShownPropertyProperty for [IsShown](#
static TimeoutPropertyProperty for [Timeout](#
static TitlePropertyProperty for [Title](#
static IconPropertyProperty for [Icon](#
static AppearancePropertyProperty for [Appearance](#
static ContentForegroundPropertyProperty for [ContentForeground](#

Methods

NameSummary
ShowShows the snackbar.
HideAsyncHides the snackbar asynchronously.
Inherited members