BlazorApplication Class
Manages an XAF Blazor UI application.
Namespace: DevExpress.ExpressApp.Blazor
Assembly: DevExpress.ExpressApp.Blazor.v25.1.dll
NuGet Package: DevExpress.ExpressApp.Blazor
#Declaration
public class BlazorApplication :
AspNetCoreApplication
#Related API Members
The following members return BlazorApplication objects:
#Remarks
The BlazorApplication
class is the platform-specific descendant of the XafApplication class. In a Blazor UI application project, this class is inherited (see the MySolution.Blazor.Server/BlazorApplication.cs file).
The descendant is instantiated in the AddXaf
fabric (see MySoution.Blazor.Server/Startup.cs file).
Since the BlazorApplication
object is often needed in code, it must be accessible. The following properties (cast to BlazorApplication) give you access to the current app:
- ActionBase.Application,
- Controller.Application,
- Frame.Application,
- CustomizePopupWindowParamsEventArgs.Application,
- CreateCustomTemplateEventArgs.Application,
- ModuleBase.Application
- Application, etc.