Share via


PreferenceActivity.PreferenceScreen Property

Definition

Caution

deprecated

Gets the root of the preference hierarchy that this activity is showing. -or- Sets the root of the preference hierarchy that this activity is showing.

[System.Obsolete("deprecated")]
public virtual Android.Preferences.PreferenceScreen? PreferenceScreen { [Android.Runtime.Register("getPreferenceScreen", "()Landroid/preference/PreferenceScreen;", "GetGetPreferenceScreenHandler")] get; [Android.Runtime.Register("setPreferenceScreen", "(Landroid/preference/PreferenceScreen;)V", "GetSetPreferenceScreen_Landroid_preference_PreferenceScreen_Handler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getPreferenceScreen", "()Landroid/preference/PreferenceScreen;", "GetGetPreferenceScreenHandler")>]
[<set: Android.Runtime.Register("setPreferenceScreen", "(Landroid/preference/PreferenceScreen;)V", "GetSetPreferenceScreen_Landroid_preference_PreferenceScreen_Handler")>]
member this.PreferenceScreen : Android.Preferences.PreferenceScreen with get, set

Property Value

The PreferenceScreen that is the root of the preference hierarchy.

Attributes

Remarks

Property getter documentation:

Gets the root of the preference hierarchy that this activity is showing.

This member is deprecated. This function is not relevant for a modern fragment-based PreferenceActivity.

Java documentation for android.preference.PreferenceActivity.getPreferenceScreen().

Property setter documentation:

Sets the root of the preference hierarchy that this activity is showing.

This member is deprecated. This function is not relevant for a modern fragment-based PreferenceActivity.

Java documentation for android.preference.PreferenceActivity.setPreferenceScreen(android.preference.PreferenceScreen).

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.

Applies to