Application Data Component
Description
This component handles the rendering of various forms within the application using Blazor. It listens for changes in the application state and updates the UI accordingly.
Usage
Properties
HasChanged: Boolean flag indicating if the application state has changed.
Methods
OnInitialized(): Initializes the component.
OnAfterRender(bool firstRender): Executes after the component has rendered. Subscribes to the
ItemHasChanged
event if it's the first render.CurrentApplication_ItemHasChanged(object sender, EventArgs e): Handles the
ItemHasChanged
event of theCurrentApplication
control.
Events
ItemHasChanged: Event triggered when an item in the application changes.
Dynamic Rendering
The component dynamically renders different types of forms based on their type:
DynamicComponent: Renders the form's view if it exists.
WMMessageBoxComponent: Renders a message box form.
WMInputBoxFormComponent: Renders an input box form.
WMFormComponent: Renders a general form.
Last updated