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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET MAUI