Switch.SetColor 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.
Overloads
SetColor(BindableObject, Color) | |
SetColor(IPlatformElementConfiguration<Tizen,Switch>, Color) |
SetColor(BindableObject, Color)
- Source:
- Switch.cs
- Source:
- Switch.cs
public:
static void SetColor(Microsoft::Maui::Controls::BindableObject ^ element, Microsoft::Maui::Graphics::Color ^ color);
public static void SetColor (Microsoft.Maui.Controls.BindableObject element, Microsoft.Maui.Graphics.Color color);
static member SetColor : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Graphics.Color -> unit
Public Sub SetColor (element As BindableObject, color As Color)
Parameters
- element
- BindableObject
- color
- Color
Applies to
SetColor(IPlatformElementConfiguration<Tizen,Switch>, Color)
- Source:
- Switch.cs
- Source:
- Switch.cs
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Tizen ^, Microsoft::Maui::Controls::Switch ^> ^ SetColor(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Tizen ^, Microsoft::Maui::Controls::Switch ^> ^ config, Microsoft::Maui::Graphics::Color ^ color);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen,Microsoft.Maui.Controls.Switch> SetColor (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen,Microsoft.Maui.Controls.Switch> config, Microsoft.Maui.Graphics.Color color);
static member SetColor : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen, Microsoft.Maui.Controls.Switch> * Microsoft.Maui.Graphics.Color -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen, Microsoft.Maui.Controls.Switch>
<Extension()>
Public Function SetColor (config As IPlatformElementConfiguration(Of Tizen, Switch), color As Color) As IPlatformElementConfiguration(Of Tizen, Switch)
Parameters
- config
- IPlatformElementConfiguration<Tizen,Switch>
- color
- Color
Returns
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.