Class DialogOptions
Class DialogOptions.
Implements
Inherited Members
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public class DialogOptions : DialogOptionsBase, INotifyPropertyChanged
Constructors
DialogOptions()
Class DialogOptions.
Declaration
public DialogOptions()
Properties
AutoFocusFirstElement
Gets or sets a value indicating whether to focus the first focusable HTML element.
Declaration
public bool AutoFocusFirstElement { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Bottom
Specifies the bottom CSS attribute.
Declaration
public string Bottom { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The bottom. |
ChildContent
Gets or sets the child content.
Declaration
public RenderFragment<DialogService> ChildContent { get; set; }
Property Value
| Type | Description |
|---|---|
| RenderFragment<DialogService> | The child content. |
CloseDialogOnEsc
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 |
|---|---|
| bool |
|
Drag
Gets or sets the change.
Declaration
public Action<Point> Drag { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<Point> | The change. |
Draggable
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 |
|---|---|
| bool |
|
Icon
Gets or sets the icon in Title.
Declaration
public string Icon { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The icon. |
IconColor
Gets or sets the icon color in Title.
Declaration
public string IconColor { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The icon color. |
IconStyle
Gets or sets the CSS style of the Icon in Title.
Declaration
public string IconStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Left
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 |
|---|---|
| string | The left. |
Resizable
Gets or sets a value indicating whether the dialog is resizable. Set to false by default.
Declaration
public bool Resizable { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Resize
Gets or sets the change.
Declaration
public Action<Size> Resize { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<Size> | The change. |
Top
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 |
|---|---|
| string | The top. |