Condividi tramite


DialogPreference.DialogLayoutResource Property

Definition

Returns the layout resource that is used as the content View for subsequent dialogs. -or- Sets the layout resource that is inflated as the View to be shown as the content View of subsequent dialogs.

public virtual int DialogLayoutResource { [Android.Runtime.Register("getDialogLayoutResource", "()I", "GetGetDialogLayoutResourceHandler")] get; [Android.Runtime.Register("setDialogLayoutResource", "(I)V", "GetSetDialogLayoutResource_IHandler")] set; }
[<get: Android.Runtime.Register("getDialogLayoutResource", "()I", "GetGetDialogLayoutResourceHandler")>]
[<set: Android.Runtime.Register("setDialogLayoutResource", "(I)V", "GetSetDialogLayoutResource_IHandler")>]
member this.DialogLayoutResource : int with get, set

Property Value

The layout resource.

Attributes

Remarks

Property getter documentation:

Returns the layout resource that is used as the content View for subsequent dialogs.

Java documentation for android.preference.DialogPreference.getDialogLayoutResource().

Property setter documentation:

Sets the layout resource that is inflated as the View to be shown as the content View of subsequent dialogs.

Java documentation for android.preference.DialogPreference.setDialogLayoutResource(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

See also