Class ModalOptionsBase
- Namespace
- BlazOrbit.Components.Layout
- Assembly
- BlazOrbit.dll
Base class for modal options.
public abstract class ModalOptionsBase
- Inheritance
-
objectModalOptionsBase
- Derived
Constructors
ModalOptionsBase()
protected ModalOptionsBase()
Properties
Closable
When true, the modal can be closed by the user.
public bool Closable { get; set; }
Property Value
- bool
CloseOnEscape
When true, the modal closes when the Escape key is pressed.
public bool CloseOnEscape { get; set; }
Property Value
- bool
CloseOnOverlayClick
When true, the modal closes when the overlay is clicked.
public bool CloseOnOverlayClick { get; set; }
Property Value
- bool
CssClass
Additional CSS classes to apply to the modal.
public string? CssClass { get; set; }
Property Value
- string
Elevation
Material Design elevation level (0–24) applied to the modal surface. Sets a derived shadow and lifts the surface in dark mode via a tint overlay. null (default) keeps the component-default shadow defined in CSS.
public int? Elevation { get; set; }
Property Value
- int?