VisualElement.IsFocusAllowed 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
IsFocusAllowed(BindableObject) |
Returns |
IsFocusAllowed(IPlatformElementConfiguration<Tizen,VisualElement>) |
Returns |
IsFocusAllowed(BindableObject)
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
Returns true
if the element may be focused. Otherwise, returns false
.
public:
static Nullable<bool> IsFocusAllowed(Microsoft::Maui::Controls::BindableObject ^ element);
public static bool? IsFocusAllowed (Microsoft.Maui.Controls.BindableObject element);
static member IsFocusAllowed : Microsoft.Maui.Controls.BindableObject -> Nullable<bool>
Public Function IsFocusAllowed (element As BindableObject) As Nullable(Of Boolean)
Parameters
- element
- BindableObject
The visual element whose focusability to check.
Returns
true
if the element may be focused. Otherwise, false
.
Applies to
IsFocusAllowed(IPlatformElementConfiguration<Tizen,VisualElement>)
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
Returns true
if the element may be focused. Otherwise, returns false
.
public:
[System::Runtime::CompilerServices::Extension]
static Nullable<bool> IsFocusAllowed(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Tizen ^, Microsoft::Maui::Controls::VisualElement ^> ^ config);
public static bool? IsFocusAllowed (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen,Microsoft.Maui.Controls.VisualElement> config);
static member IsFocusAllowed : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen, Microsoft.Maui.Controls.VisualElement> -> Nullable<bool>
<Extension()>
Public Function IsFocusAllowed (config As IPlatformElementConfiguration(Of Tizen, VisualElement)) As Nullable(Of Boolean)
Parameters
The platform configuration for the visual element whose focusability to check.
Returns
true
if the element may be focused. Otherwise, false
.