Entry.GetCursorColor 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
GetCursorColor(BindableObject) |
Gets the color of the cursor. |
GetCursorColor(IPlatformElementConfiguration<iOS,Entry>) |
Gets the color of the cursor. |
GetCursorColor(BindableObject)
Gets the color of the cursor.
public:
static Microsoft::Maui::Graphics::Color ^ GetCursorColor(Microsoft::Maui::Controls::BindableObject ^ element);
public static Microsoft.Maui.Graphics.Color GetCursorColor (Microsoft.Maui.Controls.BindableObject element);
static member GetCursorColor : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Graphics.Color
Public Function GetCursorColor (element As BindableObject) As Color
Parameters
- element
- BindableObject
The element whose cursor color to get.
Returns
The color of the cursor.
Applies to
GetCursorColor(IPlatformElementConfiguration<iOS,Entry>)
Gets the color of the cursor.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Graphics::Color ^ GetCursorColor(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Entry ^> ^ config);
public static Microsoft.Maui.Graphics.Color GetCursorColor (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Entry> config);
static member GetCursorColor : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Entry> -> Microsoft.Maui.Graphics.Color
<Extension()>
Public Function GetCursorColor (config As IPlatformElementConfiguration(Of iOS, Entry)) As Color
Parameters
- config
- IPlatformElementConfiguration<iOS,Entry>
The platform configuration for the element whose cursor color to get.
Returns
The color of the cursor.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈