Preference.SetTitle(Int32) Method

Definition

Sets the title for this Preference with a resource ID.

C#
[Android.Runtime.Register("setTitle", "(I)V", "GetSetTitle_IHandler")]
public virtual void SetTitle (int titleResId);

Parameters

titleResId
Int32

the title as a resource ID

Attributes

Remarks

Sets the title for this Preference with a resource ID.

Java documentation for android.preference.Preference.setTitle(int).

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

Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

See also