View.SetAllowClickWhenDisabled(Boolean) Method
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.
Enables or disables click events for this view when disabled.
[Android.Runtime.Register("setAllowClickWhenDisabled", "(Z)V", "GetSetAllowClickWhenDisabled_ZHandler", ApiSince=31)]
public virtual void SetAllowClickWhenDisabled(bool clickableWhenDisabled);
[<Android.Runtime.Register("setAllowClickWhenDisabled", "(Z)V", "GetSetAllowClickWhenDisabled_ZHandler", ApiSince=31)>]
abstract member SetAllowClickWhenDisabled : bool -> unit
override this.SetAllowClickWhenDisabled : bool -> unit
- clickableWhenDisabled
- Boolean
true to make the view clickable, false otherwise
- Attributes
Enables or disables click events for this view when disabled.
Java documentation for android.view.View.setAllowClickWhenDisabled(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 | Versioner |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |