Shell.SetDisabledColor(BindableObject, Color) Method

Definition

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

public:
 static void SetDisabledColor(Microsoft::Maui::Controls::BindableObject ^ obj, Microsoft::Maui::Graphics::Color ^ value);
public static void SetDisabledColor (Microsoft.Maui.Controls.BindableObject obj, Microsoft.Maui.Graphics.Color value);
static member SetDisabledColor : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Graphics.Color -> unit
Public Shared Sub SetDisabledColor (obj As BindableObject, value As Color)

Parameters

obj
BindableObject

The object to which the disabled color is set.

value
Color

The disabled color for the tab bar.

Applies to