TabbedPage.GetBadgeText(BindableObject) 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.
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
- page
- BindableObject
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.