Share via


Preference.TitleRes Property

Definition

Returns the title resource ID of this Preference.

public virtual int TitleRes { [Android.Runtime.Register("getTitleRes", "()I", "GetGetTitleResHandler")] get; }
[<get: Android.Runtime.Register("getTitleRes", "()I", "GetGetTitleResHandler")>]
member this.TitleRes : int

Property Value

the title resource

Attributes

Remarks

Returns the title resource ID of this Preference. If the title did not come from a resource, 0 is returned.

Java documentation for android.preference.Preference.getTitleRes().

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

See also