Class DialogOptions
Class DialogOptions.
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public class DialogOptions : object
Properties
AutoFocusFirstElement
Gets or sets a value indicating whether to focus the first focusable HTML element. Set to true
by default.
Declaration
public bool AutoFocusFirstElement { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Bottom
Specifies the bottom
CSS attribute.
Declaration
public string Bottom { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Boolean |
|
CloseDialogOnOverlayClick
Gets or sets a value indicating whether the dialog should be closed by clicking the overlay.
Declaration
public bool CloseDialogOnOverlayClick { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
CssClass
Gets or sets dialog box custom class
Declaration
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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 |
---|---|
System.Boolean |
|
Height
Gets or sets the height of the dialog.
Declaration
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String | The height. |
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 |
---|---|
System.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 |
---|---|
System.Boolean |
|
ShowClose
Gets or sets a value indicating whether to show the close button. Set to true
by default.
Declaration
public bool ShowClose { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ShowTitle
Gets or sets a value indicating whether to show the title bar. Set to true
by default.
Declaration
public bool ShowTitle { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Style
Gets or sets the CSS style of the dialog
Declaration
public string Style { get; set; }
Property Value
Type | Description |
---|---|
System.String | The style. |
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 |
---|---|
System.String | The top. |
Width
Gets or sets the width of the dialog.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The width. |