Entry.SetCursorColor 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
SetCursorColor(BindableObject, Color) |
Sets the color of the cursor. |
SetCursorColor(IPlatformElementConfiguration<iOS,Entry>, Color) |
Sets the color of the cursor and returns a fluent object. |
SetCursorColor(BindableObject, Color)
- Source:
- Entry.cs
- Source:
- Entry.cs
Sets the color of the cursor.
public:
static void SetCursorColor(Microsoft::Maui::Controls::BindableObject ^ element, Microsoft::Maui::Graphics::Color ^ value);
public static void SetCursorColor (Microsoft.Maui.Controls.BindableObject element, Microsoft.Maui.Graphics.Color value);
static member SetCursorColor : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Graphics.Color -> unit
Public Sub SetCursorColor (element As BindableObject, value As Color)
Parameters
- element
- BindableObject
The element whose cursor color to Set.
- value
- Color
The new cursor color.
Applies to
SetCursorColor(IPlatformElementConfiguration<iOS,Entry>, Color)
- Source:
- Entry.cs
- Source:
- Entry.cs
Sets the color of the cursor and returns a fluent object.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Entry ^> ^ SetCursorColor(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Entry ^> ^ config, Microsoft::Maui::Graphics::Color ^ value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Entry> SetCursorColor (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Entry> config, Microsoft.Maui.Graphics.Color value);
static member SetCursorColor : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Entry> * Microsoft.Maui.Graphics.Color -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Entry>
<Extension()>
Public Function SetCursorColor (config As IPlatformElementConfiguration(Of iOS, Entry), value As Color) As IPlatformElementConfiguration(Of iOS, Entry)
Parameters
- config
- IPlatformElementConfiguration<iOS,Entry>
The platform configuration for the element whose cursor color to Set.
- value
- Color
The new cursor color.
Returns
A fluent object on which the developer can make further method calls.
Applies to
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de