VisualElement.CanBecomeFirstResponder 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.
Gets whether this element can become the first responder to touch events, rather than the page containing the element.
public:
[System::Runtime::CompilerServices::Extension]
static bool CanBecomeFirstResponder(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::VisualElement ^> ^ config);
public static bool CanBecomeFirstResponder (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.VisualElement> config);
static member CanBecomeFirstResponder : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.VisualElement> -> bool
<Extension()>
Public Function CanBecomeFirstResponder (config As IPlatformElementConfiguration(Of iOS, VisualElement)) As Boolean
Parameters
The platform specific configuration that contains the element on which to perform the operation.
Returns
true
when this element can become first responder. Otherwise, false
.
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.