TabbedPage.SetBadgeText(BindableObject, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.