Class DialogOptions
- Namespace
- Radzen
- Assembly
- Radzen.Blazor.dll
Class DialogOptions.
public class DialogOptions : DialogOptionsBase
- Inheritance
-
DialogOptions
- Derived
- Inherited Members
Constructors
DialogOptions()
public DialogOptions()
Properties
AutoFocusFirstElement
Gets or sets a value indicating whether to focus the first focusable HTML element. Set to true
by default.
public bool AutoFocusFirstElement { get; set; }
Property Value
Bottom
Specifies the bottom
CSS attribute.
public string Bottom { get; set; }
Property Value
- string
The bottom.
ChildContent
Gets or sets the child content.
public RenderFragment<DialogService> ChildContent { get; set; }
Property Value
- RenderFragment<DialogService>
The child content.
CloseDialogOnEsc
Gets or sets a value indicating whether the dialog should be closed on ESC key press.
public bool CloseDialogOnEsc { get; set; }
Property Value
- bool
true
if closeable; otherwise,false
.
Drag
Gets or sets the change.
public Action<Point> Drag { get; set; }
Property Value
Draggable
Gets or sets a value indicating whether the dialog is draggable. Set to false
by default.
public bool Draggable { get; set; }
Property Value
- bool
true
if draggable; otherwise,false
.
Left
Gets or sets the X coordinate of the dialog. Maps to the left
CSS attribute.
public string Left { get; set; }
Property Value
- string
The left.
Resizable
Gets or sets a value indicating whether the dialog is resizable. Set to false
by default.
public bool Resizable { get; set; }
Property Value
- bool
true
if resizable; otherwise,false
.
Resize
Gets or sets the change.
public Action<Size> Resize { get; set; }
Property Value
TitleContent
Gets or sets the title content.
public RenderFragment<DialogService> TitleContent { get; set; }
Property Value
- RenderFragment<DialogService>
The title content.
Top
Gets or sets the Y coordinate of the dialog. Maps to the top
CSS attribute.
public string Top { get; set; }
Property Value
- string
The top.