Completed
Last Updated: 21 Aug 2026 13:40 by ADMIN
Daniel
Created on: 04 Aug 2026 08:52
Category: DataGrid
Type: Bug Report
2
DataGrid: NullReferenceException with Maui version 10.0.90

Null reference exception occurs with maui 10.0.90

Just add the datagrid definition in xaml or code behind and exception occurs.

Stack-trace:

at Microsoft.Maui.Controls.BindableObject.ApplyBindings(Boolean fromBindingContextChanged)
   at Microsoft.Maui.Controls.BindableObject.SetInheritedBindingContext(BindableObject bindable, Object value)
   at Microsoft.Maui.Controls.Element.SetChildInheritedBindingContext(Element child, Object context)
   at Microsoft.Maui.Controls.TemplatedPage.SetChildInheritedBindingContext(Element child, Object context)
   at Microsoft.Maui.Controls.Element.SetLogicalChildBindingContext(BindableObject child, Object bc)
   at Microsoft.Maui.Controls.BindableObjectExtensions.PropagateBindingContext[T](BindableObject self, IEnumerable`1 children, Action`2 setChildBindingContext)
   at Microsoft.Maui.Controls.Element.OnBindingContextChanged()
   at Microsoft.Maui.Controls.VisualElement.OnBindingContextChanged()
   at Microsoft.Maui.Controls.Page.OnBindingContextChanged()
   at Microsoft.Maui.Controls.ContentPage.OnBindingContextChanged()
   at Microsoft.Maui.Controls.BindableObject.BindingContextPropertyChanged(BindableObject bindable, Object oldvalue, Object newvalue)
   at Microsoft.Maui.Controls.BindableObject.OnBindablePropertySet(BindableProperty property, Object original, Object value, Boolean didChange, Boolean willFirePropertyChanged)
   at Microsoft.Maui.Controls.Element.OnBindablePropertySet(BindableProperty property, Object original, Object value, Boolean changed, Boolean willFirePropertyChanged)
   at Microsoft.Maui.Controls.BindableObject.SetValueActual(BindableProperty property, BindablePropertyContext context, Object value, Boolean currentlyApplying, SetValueFlags attributes, SetterSpecificity specificity, Boolean silent)
   at Microsoft.Maui.Controls.BindableObject.SetValueCore(BindableProperty property, Object value, SetValueFlags attributes, SetValuePrivateFlags privateAttributes, SetterSpecificity specificity)
   at Microsoft.Maui.Controls.BindableObject.SetValue(BindableProperty property, Object value)
   at Microsoft.Maui.Controls.BindableObject.set_BindingContext(Object value)

2 comments
ADMIN
Didi
Posted on: 21 Aug 2026 13:40

Hi Daniel,

The issue seems fixed in .NET MAUI 10.0.100 official release. Update the MAUI version to 10.0.100 and test on your side. On my side the exception cannot be reproduced. I set the item status to Completed.

Regards,
Didi
Progress Telerik

ADMIN
Didi
Posted on: 13 Aug 2026 12:10

Hello Daniel,

This issue seems related to the following issue logged to the Maui GitHub repo: https://github.com/dotnet/maui/pull/37148 

Regards,
Didi
Progress Telerik