Android.Preferences.SwitchPreference Class
A Android.Preferences.Preference that provides a two-state toggleable option.

See Also: SwitchPreference Members

Syntax

[Android.Runtime.Register("android/preference/SwitchPreference", DoNotGenerateAcw=true)]
public class SwitchPreference : TwoStatePreference

Remarks

A Android.Preferences.Preference that provides a two-state toggleable option.

This preference will store a boolean into the SharedPreferences.

[Android Documentation]

Requirements

Namespace: Android.Preferences
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14