Class DialogOptionsBase
Base Class for dialog options
Implements
Inherited Members
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public abstract class DialogOptionsBase : INotifyPropertyChanged
Constructors
DialogOptionsBase()
Base Class for dialog options
Declaration
protected DialogOptionsBase()
Properties
CloseDialogOnOverlayClick
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 |
---|---|
bool |
|
CloseTabIndex
Gets or sets a value the dialog escape tabindex. Set to 0
by default.
Declaration
public int CloseTabIndex { get; set; }
Property Value
Type | Description |
---|---|
int |
ContentCssClass
Gets or sets the CSS classes added to the dialog's content element.
Declaration
public string ContentCssClass { get; set; }
Property Value
Type | Description |
---|---|
string |
CssClass
Gets or sets dialog box custom class
Declaration
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
string |
Height
Gets or sets the height of the dialog.
Declaration
public string Height { get; set; }
Property Value
Type | Description |
---|---|
string | The height. |
ShowClose
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 |
---|---|
bool |
|
ShowTitle
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 |
---|---|
bool |
|
Style
Gets or sets the CSS style of the dialog
Declaration
public string Style { get; set; }
Property Value
Type | Description |
---|---|
string | The style. |
Width
Gets or sets the width of the dialog.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
string | The width. |
WrapperCssClass
Gets or sets the CSS classes added to the dialog's wrapper element.
Declaration
public string WrapperCssClass { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
OnPropertyChanged(string)
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
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
PropertyChangedEventHandler |