Shell.SetForegroundColor(BindableObject, Color) 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.
Defines the foreground color for the tab bar. If the property is unset, the ForegroundColorProperty value is used.
public:
static void SetForegroundColor(Microsoft::Maui::Controls::BindableObject ^ obj, Microsoft::Maui::Graphics::Color ^ value);
public static void SetForegroundColor (Microsoft.Maui.Controls.BindableObject obj, Microsoft.Maui.Graphics.Color value);
static member SetForegroundColor : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Graphics.Color -> unit
Public Shared Sub SetForegroundColor (obj As BindableObject, value As Color)
Parameters
- obj
- BindableObject
The object to which the foreground color is set.
- value
- Color
The foreground color for the tab bar.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.