View.ScreenReaderFocusable Property
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.
Returns whether the view should be treated as a focusable unit by screen reader accessibility tools. -or- Sets whether this View should be a focusable element for screen readers and include non-focusable Views from its subtree when providing feedback.
public virtual bool ScreenReaderFocusable { [Android.Runtime.Register("isScreenReaderFocusable", "()Z", "GetIsScreenReaderFocusableHandler", ApiSince=28)] get; [Android.Runtime.Register("setScreenReaderFocusable", "(Z)V", "GetSetScreenReaderFocusable_ZHandler", ApiSince=28)] set; }
[<get: Android.Runtime.Register("isScreenReaderFocusable", "()Z", "GetIsScreenReaderFocusableHandler", ApiSince=28)>]
[<set: Android.Runtime.Register("setScreenReaderFocusable", "(Z)V", "GetSetScreenReaderFocusable_ZHandler", ApiSince=28)>]
member this.ScreenReaderFocusable : bool with get, set
Whether the view should be treated as a focusable unit by screen reader.
- Attributes
Property getter documentation:
Returns whether the view should be treated as a focusable unit by screen reader accessibility tools.
<b>Note:</b> Use androidx.core.view.ViewCompat#setScreenReaderFocusable(View, boolean)
for backwards-compatibility. </aside>
Java documentation for android.view.View.isScreenReaderFocusable()
.
Property setter documentation:
Sets whether this View should be a focusable element for screen readers and include non-focusable Views from its subtree when providing feedback.
Note: this is similar to using <c>android:focusable</c>, but does not impact input focus behavior.
Java documentation for android.view.View.setScreenReaderFocusable(boolean)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Produkt | Wersje |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |