Bagikan melalui


Shell.GetDisabledColor(BindableObject) Method

Definition

Gets the color to shade text and icons that are disabled.

public:
 static Microsoft::Maui::Graphics::Color ^ GetDisabledColor(Microsoft::Maui::Controls::BindableObject ^ obj);
public static Microsoft.Maui.Graphics.Color GetDisabledColor (Microsoft.Maui.Controls.BindableObject obj);
static member GetDisabledColor : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Graphics.Color
Public Shared Function GetDisabledColor (obj As BindableObject) As Color

Parameters

obj
BindableObject

The object to which the disabled color is set.

Returns

The disabled color for the tab bar.

Applies to