Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class DialogOptions

    Class DialogOptions.

    Inheritance
    System.Object
    DialogOptionsBase
    DialogOptions
    AlertOptions
    Inherited Members
    DialogOptionsBase.PropertyChanged
    DialogOptionsBase.OnPropertyChanged(String)
    DialogOptionsBase.ShowTitle
    DialogOptionsBase.ShowClose
    DialogOptionsBase.Width
    DialogOptionsBase.Height
    DialogOptionsBase.Style
    DialogOptionsBase.CloseDialogOnOverlayClick
    DialogOptionsBase.CssClass
    DialogOptionsBase.WrapperCssClass
    DialogOptionsBase.ContentCssClass
    DialogOptionsBase.CloseTabIndex
    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.

    Declaration
    public bool AutoFocusFirstElement { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the first focusable element is focused; otherwise, false. Default is true.

    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

    true if closeable; otherwise, false. Default is true.

    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

    true if draggable; otherwise, false.

    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

    true if resizable; otherwise, false.

    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.

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT