다음을 통해 공유


PreferenceFragment.PreferenceScreen Property

Definition

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

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; }
[<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 fragment is showing.

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

Property setter documentation:

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

Java documentation for android.preference.PreferenceFragment.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