DialogOptions Class

Class DialogOptions.

Inheritance

Object

DialogOptionsBase

DialogOptions

AlertOptions

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class DialogOptions : DialogOptionsBase

Constructors

DialogOptionsLink to this section

Class DialogOptions.

Declaration
public DialogOptions()

Properties

AutoFocusFirstElementLink to this section

Gets or sets a value indicating whether to focus the first focusable HTML element.

Declaration
public bool AutoFocusFirstElement { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether to focus the first focusable HTML element.

BottomLink to this section

Specifies the bottom CSS attribute.

Declaration
public string Bottom { get; set; }
Property Value
Type Description
stringSpecifies the bottom CSS attribute.

ChildContentLink to this section

Gets or sets the child content.

Declaration
public RenderFragment<DialogService> ChildContent { get; set; }
Property Value
Type Description
RenderFragment<DialogService>Gets or sets the child content.

CloseDialogOnEscLink to this section

Gets or sets a value indicating whether the dialog should be closed on ESC key press.

Declaration
public bool CloseDialogOnEsc { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether the dialog should be closed on ESC key press.

DragLink to this section

Gets or sets the change.

Declaration
public Action<Drawing.Point> Drag { get; set; }
Property Value
Type Description
Action<Drawing.Point>Gets or sets the change.

DraggableLink to this section

Gets or sets a value indicating whether the dialog is draggable. Set to false by default.

Declaration
public bool Draggable { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether the dialog is draggable. Set to false by default.

IconLink to this section

Gets or sets the icon in Title.

Declaration
public string Icon { get; set; }
Property Value
Type Description
stringGets or sets the icon in Title.

IconColorLink to this section

Gets or sets the icon color in Title.

Declaration
public string IconColor { get; set; }
Property Value
Type Description
stringGets or sets the icon color in Title.

IconStyleLink to this section

Gets or sets the CSS style of the Icon in Title.

Declaration
public string IconStyle { get; set; }
Property Value
Type Description
stringGets or sets the CSS style of the Icon in Title.

LeftLink to this section

Gets or sets the X coordinate of the dialog. Maps to the left CSS attribute.

Declaration
public string Left { get; set; }
Property Value
Type Description
stringGets or sets the X coordinate of the dialog. Maps to the left CSS attribute.

ResizeLink to this section

Gets or sets the change.

Declaration
public Action<Drawing.Size> Resize { get; set; }
Property Value
Type Description
Action<Drawing.Size>Gets or sets the change.

TopLink to this section

Gets or sets the Y coordinate of the dialog. Maps to the top CSS attribute.

Declaration
public string Top { get; set; }
Property Value
Type Description
stringGets or sets the Y coordinate of the dialog. Maps to the top CSS attribute.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙