Android.Preferences.PreferenceActivity.StartPreferencePanel Method
Start a new fragment containing a preference panel.

Syntax

[Android.Runtime.Register("startPreferencePanel", "(Ljava/lang/String;Landroid/os/Bundle;ILjava/lang/CharSequence;Landroid/app/Fragment;I)V", "GetStartPreferencePanel_Ljava_lang_String_Landroid_os_Bundle_ILjava_lang_CharSequence_Landroid_app_Fragment_IHandler")]
public virtual void StartPreferencePanel (string fragmentClass, Android.OS.Bundle args, int titleRes, Java.Lang.ICharSequence titleText, Android.App.Fragment resultTo, int resultRequestCode)

Parameters

fragmentClass
Full name of the class implementing the fragment.
args
Any desired arguments to supply to the fragment.
titleRes
Optional resource identifier of the title of this fragment.
titleText
Optional text of the title of this fragment.
resultTo
Optional fragment that result data should be sent to. If non-null, resultTo.onActivityResult() will be called when this preference panel is done. The launched panel must use PreferenceActivity.FinishPreferencePanel(Android.App.Fragment, Android.App.Result, Android.App.Result) when done.
resultRequestCode
If resultTo is non-null, this is the caller's request code to be received with the resut.

Remarks

Start a new fragment containing a preference panel. If the preferences are being displayed in multi-pane mode, the given fragment class will be instantiated and placed in the appropriate pane. If running in single-pane mode, a new activity will be launched in which to show the fragment.

[Android Documentation]

Requirements

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