Android.Preferences.SwitchPreference.SetSwitchTextOff Method
Set the text displayed on the switch widget in the off state.

Syntax

[Android.Runtime.Register("setSwitchTextOff", "(I)V", "GetSetSwitchTextOff_IHandler")]
public virtual void SetSwitchTextOff (int resId)

Parameters

resId
The text as a string resource ID

Remarks

Set the text displayed on the switch widget in the off state. This should be a very short string; one word if possible.

[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