DialogOptions Class

Class DialogOptions.

Inheritance

Object

DialogOptionsBase

DialogOptions

AlertOptions

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class DialogOptions : DialogOptionsBase

Constructors

DialogOptionslink

Class DialogOptions.

Declaration
public DialogOptions()

Properties

AutoFocusFirstElementlink

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

Specifies the bottom CSS attribute.

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

ChildContentlink

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

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

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

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

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

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

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

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

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

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 🗙