Class DialogOptions
Class DialogOptions.
Inherited Members
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public class DialogOptions : DialogOptionsBase
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 |
|
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 |
---|---|
System.Boolean |
|
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 |
|
Resize
Gets or sets the change.
Declaration
public Action<Size> Resize { get; set; }
Property Value
Type | Description |
---|---|
Action<Size> | The change. |
TitleContent
Gets or sets the title content.
Declaration
public RenderFragment<DialogService> TitleContent { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment<DialogService> | The title content. |
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. |