View.DefaultFocusHighlightEnabled Property
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.
Returns whether this View should use a default focus highlight when it gets focused but
doesn't have android.R.attr#state_focused
defined in its background. -or- Sets whether this View should use a default focus highlight when it gets focused but doesn't
have android.R.attr#state_focused
defined in its background.
public bool DefaultFocusHighlightEnabled { [Android.Runtime.Register("getDefaultFocusHighlightEnabled", "()Z", "", ApiSince=26)] get; [Android.Runtime.Register("setDefaultFocusHighlightEnabled", "(Z)V", "GetSetDefaultFocusHighlightEnabled_ZHandler", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getDefaultFocusHighlightEnabled", "()Z", "", ApiSince=26)>]
[<set: Android.Runtime.Register("setDefaultFocusHighlightEnabled", "(Z)V", "GetSetDefaultFocusHighlightEnabled_ZHandler", ApiSince=26)>]
member this.DefaultFocusHighlightEnabled : bool with get, set
Property Value
True if this View should use a default focus highlight.
- Attributes
Remarks
Property getter documentation:
Returns whether this View should use a default focus highlight when it gets focused but doesn't have android.R.attr#state_focused
defined in its background.
Java documentation for android.view.View.getDefaultFocusHighlightEnabled()
.
Property setter documentation:
Sets whether this View should use a default focus highlight when it gets focused but doesn't have android.R.attr#state_focused
defined in its background.
Java documentation for android.view.View.setDefaultFocusHighlightEnabled(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.