DialogOptionsBase Class

Base Class for dialog options

Inheritance

Object

DialogOptionsBase

SideDialogOptions

DialogOptions

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public abstract class DialogOptionsBase

Constructors

DialogOptionsBaselink

Base Class for dialog options

Declaration
protected DialogOptionsBase()

Properties

AriaLabellink

Gets or sets the dialog aria-label text when no title is rendered.

Declaration
public string AriaLabel { get; set; }
Property Value
Type Description
stringGets or sets the dialog aria-label text when no title is rendered.

CloseAriaLabellink

Gets or sets the close button aria-label text.

Declaration
public string CloseAriaLabel { get; set; }
Property Value
Type Description
stringGets or sets the close button aria-label text.

CloseDialogOnOverlayClicklink

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
boolGets or sets a value indicating whether the dialog should be closed by clicking the overlay.

CloseTabIndexlink

Gets or sets a value the dialog escape tabindex. Set to 0 by default.

Declaration
public int CloseTabIndex { get; set; }
Property Value
Type Description
intGets or sets a value the dialog escape tabindex. Set to 0 by default.

ContentCssClasslink

Gets or sets the CSS classes added to the dialog's content element.

Declaration
public string ContentCssClass { get; set; }
Property Value
Type Description
stringGets or sets the CSS classes added to the dialog's content element.

CssClasslink

Gets or sets dialog box custom class

Declaration
public string CssClass { get; set; }
Property Value
Type Description
stringGets or sets dialog box custom class

Heightlink

Gets or sets the height of the dialog.

Declaration
public string Height { get; set; }
Property Value
Type Description
stringGets or sets the height of the dialog.

Resizablelink

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
boolGets or sets a value indicating whether the dialog is resizable. Set to false by default.

ShowCloselink

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
boolGets or sets a value indicating whether to show the close button. Set to true by default.

ShowTitlelink

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
boolGets or sets a value indicating whether to show the title bar. Set to true by default.

Stylelink

Gets or sets the CSS style of the dialog

Declaration
public string Style { get; set; }
Property Value
Type Description
stringGets or sets the CSS style of the dialog

TitleContentlink

Gets or sets the title content.

Declaration
public RenderFragment<DialogService> TitleContent { get; set; }
Property Value
Type Description
RenderFragment<DialogService>Gets or sets the title content.

Widthlink

Gets or sets the width of the dialog.

Declaration
public string Width { get; set; }
Property Value
Type Description
stringGets or sets the width of the dialog.

WrapperCssClasslink

Gets or sets the CSS classes added to the dialog's wrapper element.

Declaration
public string WrapperCssClass { get; set; }
Property Value
Type Description
stringGets or sets the CSS classes added to the dialog's wrapper element.

Methods

OnPropertyChangedlink

Raises the PropertyChanged event.

Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
Type Name Description
string propertyName The name of the property that changed.

Events

PropertyChangedlink

Occurs when a property value changes.

Declaration
public event ComponentModel.PropertyChangedEventHandler PropertyChanged
An error has occurred. This app may no longer respond until reloaded. Reload 🗙