Skip to main content Link Search Menu Expand Document (external link)

InfoBadge

Namespace: FluentAvalonia.UI.Controls

Represents a control for indicating notifications, alerts, new content, or to attract focus to an area within an app.

C#

public class InfoBadge : TemplatedControl


Xaml

<ui:InfoBadge />


Required Template Parts

None :)


Pseudoclasses

:value, :fonticon, :icon, :dot, :disabled, :focus, :focus-visible, :focus-within, :pointerover



Examples and Usage Notes

None yet.


API

Note: Inherited members are not shown


Properties

IconSource Gets or sets the icon to be used in an InfoBadge.
IconSourceProperty Defines the `FluentAvalonia.UI.Controls.InfoBadge.IconSource` property
TemplateSettings Provides calculated values that can be referenced as TemplatedParent sources when defining templates for an InfoBadge. Not intended for general use.
TemplateSettingsProperty Defines the `FluentAvalonia.UI.Controls.InfoBadge.TemplateSettings` property
Value Gets or sets the integer to be displayed in a numeric InfoBadge.
ValueProperty Defines the `FluentAvalonia.UI.Controls.InfoBadge.Value` property


Events


Methods