Table of Contents

Class InfoBar

Namespace
Wpf.Ui.Controls
Assembly
Wpf.Ui.dll

An InfoBar is an inline notification for essential app- wide messages. The InfoBar will take up space in a layout and will not cover up other content or float on top of it. It supports rich content (including titles, messages, and icons) and can be configured to be user-dismissable or persistent.

public class InfoBar : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
Inheritance
InfoBar
Implements
Inherited Members

Constructors

InfoBar()

Initializes a new instance of the InfoBar class.

public InfoBar()

Fields

IsClosableProperty

Identifies the IsClosable dependency property.

public static readonly DependencyProperty IsClosableProperty

Field Value

DependencyProperty

IsOpenProperty

Identifies the IsOpen dependency property.

public static readonly DependencyProperty IsOpenProperty

Field Value

DependencyProperty

MessageProperty

Identifies the Message dependency property.

public static readonly DependencyProperty MessageProperty

Field Value

DependencyProperty

SeverityProperty

Identifies the Severity dependency property.

public static readonly DependencyProperty SeverityProperty

Field Value

DependencyProperty

TemplateButtonCommandProperty

Identifies the TemplateButtonCommand dependency property.

public static readonly DependencyProperty TemplateButtonCommandProperty

Field Value

DependencyProperty

TitleProperty

Identifies the Title dependency property.

public static readonly DependencyProperty TitleProperty

Field Value

DependencyProperty

Properties

IsClosable

Gets or sets a value indicating whether the user can close the InfoBar. Defaults to true.

public bool IsClosable { get; set; }

Property Value

bool

IsOpen

Gets or sets a value indicating whether the InfoBar is open.

public bool IsOpen { get; set; }

Property Value

bool

Message

Gets or sets the message of the InfoBar.

public string Message { get; set; }

Property Value

string

Severity

Gets or sets the type of the InfoBar to apply consistent status color, icon, and assistive technology settings dependent on the criticality of the notification.

public InfoBarSeverity Severity { get; set; }

Property Value

InfoBarSeverity

TemplateButtonCommand

Gets the RelayCommand<T> triggered after clicking the close button.

public IRelayCommand TemplateButtonCommand { get; }

Property Value

IRelayCommand

Title

Gets or sets the title of the InfoBar.

public string Title { get; set; }

Property Value

string