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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈