VisualElement.SetFocusAllowed 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
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
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
.NET MAUI
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기