Share via


VisualElement.CanBecomeFirstResponder Method

Definition

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

config
IPlatformElementConfiguration<iOS,VisualElement>

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