Language

TabbedPage.GetBadgeText(BindableObject) Method

Definition

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

public:
 static System::String ^ GetBadgeText(Microsoft::Maui::Controls::BindableObject ^ page);
public static string GetBadgeText(Microsoft.Maui.Controls.BindableObject page);
static member GetBadgeText : Microsoft.Maui.Controls.BindableObject -> string
Public Shared Function GetBadgeText (page As BindableObject) As String

Parameters

Returns

Remarks

A non-null, non-empty value displays a badge containing the value. An empty string displays a dot indicator, and null hides the badge. On Windows, non-numeric text displays as a dot indicator.

Applies to