Under Review
Last Updated: 27 Jun 2022 16:43 by ADMIN
Created by: Daniel
Comments: 4
Category: DataGrid
Type: Bug Report

Hi Team,

I have attached a reproducible. Open DashboardView.xaml, there you'll find the DataGrid.

Run the project on Windows and take the following steps:

  • Step 1. Run the app and click Button 1 to load an instance of this ContentView
    • Observe => The DataGrid renders as expected
  • Step 2. Click Button 1 again to reset and load a new instance of this ContentView
    • Observe => The DataGrid will NOT render (you can repeat this step multiple times)
  • Step 3. Resize the app window
    • Observe the DataGrid will be rendered again

The only way I could get it to render again was by resizing the app window, even calling InvalidateMeasure(SizeChanged) didn't work.


The logic is simple, the button click just clears MainPage.xaml's container children and adds a new instance of DashboardView:

private void OnButton1Clicked(object sender, EventArgs e)
    currentContentViewHolder.Children.Add(new DashboardView());
Under Review
Last Updated: 04 Feb 2022 18:54 by ADMIN
Created by: Vishal
Comments: 1
Category: UI for .NET MAUI
Type: Feature Request
Take picture via camera and quickly upload pic.