Share via


VisualElement.SetFocusAllowed Method

Definition

Overloads

SetFocusAllowed(BindableObject, Boolean)

Sets the focus participation value for a visual element.

SetFocusAllowed(IPlatformElementConfiguration<Tizen,VisualElement>, Boolean)

Sets the focus participation value for a visual element.

SetFocusAllowed(BindableObject, Boolean)

Source:
VisualElement.cs
Source:
VisualElement.cs

Sets the focus participation value for a visual element.

public:
 static void SetFocusAllowed(Microsoft::Maui::Controls::BindableObject ^ element, bool value);
public static void SetFocusAllowed (Microsoft.Maui.Controls.BindableObject element, bool value);
static member SetFocusAllowed : Microsoft.Maui.Controls.BindableObject * bool -> unit
Public Sub SetFocusAllowed (element As BindableObject, value As Boolean)

Parameters

element
BindableObject

The element whose focus participation value to set.

value
Boolean

The new focus participation value.

Applies to

SetFocusAllowed(IPlatformElementConfiguration<Tizen,VisualElement>, Boolean)

Source:
VisualElement.cs
Source:
VisualElement.cs

Sets the focus participation value for a visual element.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Tizen ^, Microsoft::Maui::Controls::VisualElement ^> ^ SetFocusAllowed(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Tizen ^, Microsoft::Maui::Controls::VisualElement ^> ^ config, bool value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen,Microsoft.Maui.Controls.VisualElement> SetFocusAllowed (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen,Microsoft.Maui.Controls.VisualElement> config, bool value);
static member SetFocusAllowed : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen, Microsoft.Maui.Controls.VisualElement> * bool -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen, Microsoft.Maui.Controls.VisualElement>
<Extension()>
Public Function SetFocusAllowed (config As IPlatformElementConfiguration(Of Tizen, VisualElement), value As Boolean) As IPlatformElementConfiguration(Of Tizen, VisualElement)

Parameters

config
IPlatformElementConfiguration<Tizen,VisualElement>

The platform configuration for the element whose focus participation value to set.

value
Boolean

The new focus participation value.

Returns

A fluent object on which the developer may make further method calls.

Applies to