Class DialogOptions.
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public class DialogOptions : DialogOptionsBaseGets or sets a value indicating whether to focus the first focusable HTML element.
public bool AutoFocusFirstElement { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether to focus the first focusable HTML element. |
Specifies the bottom CSS attribute.
public string Bottom { get; set; }
| Type | Description |
|---|---|
| string | Specifies the bottom CSS attribute. |
Gets or sets the child content.
public RenderFragment<DialogService> ChildContent { get; set; }
| Type | Description |
|---|---|
| RenderFragment<DialogService> | Gets or sets the child content. |
Gets or sets a value indicating whether the dialog should be closed on ESC key press.
public bool CloseDialogOnEsc { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether the dialog should be closed on ESC key press. |
Gets or sets the change.
public Action<Drawing.Point> Drag { get; set; }
| Type | Description |
|---|---|
| Action<Drawing.Point> | Gets or sets the change. |
Gets or sets a value indicating whether the dialog is draggable. Set to false by default.
public bool Draggable { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether the dialog is draggable. Set to false by default. |
Gets or sets the icon in Title.
public string Icon { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the icon in Title. |
Gets or sets the icon color in Title.
public string IconColor { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the icon color in Title. |
Gets or sets the CSS style of the Icon in Title.
public string IconStyle { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the CSS style of the Icon in Title. |
Gets or sets the X coordinate of the dialog. Maps to the left CSS attribute.
public string Left { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the X coordinate of the dialog. Maps to the left CSS attribute. |
Gets or sets the change.
public Action<Drawing.Size> Resize { get; set; }
| Type | Description |
|---|---|
| Action<Drawing.Size> | Gets or sets the change. |
Gets or sets the Y coordinate of the dialog. Maps to the top CSS attribute.
public string Top { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the Y coordinate of the dialog. Maps to the top CSS attribute. |