共用方式為


VisualElement.IsFocusAllowed Method

Definition

Overloads

IsFocusAllowed(BindableObject)

Returns true if the element may be focused. Otherwise, returns false.

IsFocusAllowed(IPlatformElementConfiguration<Tizen,VisualElement>)

Returns true if the element may be focused. Otherwise, returns false.

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

config
IPlatformElementConfiguration<Tizen,VisualElement>

The platform configuration for the visual element whose focusability to check.

Returns

true if the element may be focused. Otherwise, false.

Applies to