Language

TabbedPage.SetBadgeText(BindableObject, String) Method

Definition

Sets the badge text displayed for a page in a TabbedPage.

public:
 static void SetBadgeText(Microsoft::Maui::Controls::BindableObject ^ page, System::String ^ value);
public static void SetBadgeText(Microsoft.Maui.Controls.BindableObject page, string value);
static member SetBadgeText : Microsoft.Maui.Controls.BindableObject * string -> unit
Public Shared Sub SetBadgeText (page As BindableObject, value As String)

Parameters

page
BindableObject

The page whose tab badge is updated.

value
String

The badge text, an empty string for a dot, or null to hide the badge.

Applies to