Android.App.DialogFragment.SetStyle Method
Call to customize the basic appearance and behavior of the fragment's dialog.

Syntax

[Android.Runtime.Register("setStyle", "(II)V", "GetSetStyle_IIHandler")]
public virtual void SetStyle ([Android.Runtime.GeneratedEnum] DialogFragmentStyle style, int theme)

Parameters

style
Selects a standard style: may be DialogFragment.STYLE_NORMAL, DialogFragment.STYLE_NO_TITLE, DialogFragment.STYLE_NO_FRAME, or DialogFragment.STYLE_NO_INPUT.
theme
Optional custom theme. If 0, an appropriate theme (based on the style) will be selected for you.

Remarks

Call to customize the basic appearance and behavior of the fragment's dialog. This can be used for some common dialog behaviors, taking care of selecting flags, theme, and other options for you. The same effect can be achieve by manually setting Dialog and Window attributes yourself. Calling this after the fragment's Dialog is created will have no effect.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11