TaskBoard State
The TaskBoard state holds up-to-date information about the component Columns and Cards, and their properties. The component exposes methods to get or set the TaskBoard state at runtime. The TaskBoard state management allows different users to work with a different Column and Card layout if that is necessary.
Methods
Use the TaskBoard GetState() method to get the TaskBoard state programmatically at runtime. This allows the app to obtain complete information about the Card and Column layout outside an event handler.
Use the TaskBoard SetStateAsync(TaskBoardState<TColumn> state) asynchronous method and provide a TaskBoardState<TColumn> argument to modify the component state.
The TaskBoard methods require a component reference, which is populated by Blazor. The earliest time when the component reference is available is in OnAfterRender and OnAfterRenderAsync. The methods cannot be used earlier.
Example
Using the TaskBoard state