Base Class for dialog options
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public abstract class DialogOptionsBaseGets or sets the dialog aria-label text when no title is rendered.
public string AriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the dialog aria-label text when no title is rendered. |
Gets or sets the close button aria-label text.
public string CloseAriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the close button aria-label text. |
Gets or sets a value indicating whether the dialog should be closed by clicking the overlay.
public bool CloseDialogOnOverlayClick { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether the dialog should be closed by clicking the overlay. |
Gets or sets a value the dialog escape tabindex. Set to 0 by default.
public int CloseTabIndex { get; set; }
| Type | Description |
|---|---|
| int | Gets or sets a value the dialog escape tabindex. Set to 0 by default. |
Gets or sets the CSS classes added to the dialog's content element.
public string ContentCssClass { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the CSS classes added to the dialog's content element. |
Gets or sets dialog box custom class
public string CssClass { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets dialog box custom class |
Gets or sets the height of the dialog.
public string Height { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the height of the dialog. |
Gets or sets a value indicating whether the dialog is resizable. Set to false by default.
public bool Resizable { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether the dialog is resizable. Set to false by default. |
Gets or sets a value indicating whether to show the close button. Set to true by default.
public bool ShowClose { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether to show the close button. Set to true by default. |
Gets or sets a value indicating whether to show the title bar. Set to true by default.
public bool ShowTitle { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether to show the title bar. Set to true by default. |
Gets or sets the CSS style of the dialog
public string Style { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the CSS style of the dialog |
Gets or sets the title content.
public RenderFragment<DialogService> TitleContent { get; set; }
| Type | Description |
|---|---|
| RenderFragment<DialogService> | Gets or sets the title content. |
Gets or sets the width of the dialog.
public string Width { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the width of the dialog. |
Gets or sets the CSS classes added to the dialog's wrapper element.
public string WrapperCssClass { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the CSS classes added to the dialog's wrapper element. |
Raises the PropertyChanged event.
protected virtual void OnPropertyChanged(string propertyName)
| Type | Name | Description |
|---|---|---|
| string | propertyName | The name of the property that changed. |
Occurs when a property value changes.
public event ComponentModel.PropertyChangedEventHandler PropertyChanged