Relative Content

Tag Archive for c#xamlmaui

Why my binding in .NET Maui does not work?

I am working on a .NET MAUI application that manages members and memberships. I am able to perform CRUD operations on members (add, delete, view, and update), and similarly, I can manage memberships as well (create, delete, view). However, I am facing an issue when trying to add a membership to a member. The problem occurs when I enter a member’s details and expect to see a list of their associated memberships, but no memberships are displayed.

Why my binding in .NET Maui does not work?

I am working on a .NET MAUI application that manages members and memberships. I am able to perform CRUD operations on members (add, delete, view, and update), and similarly, I can manage memberships as well (create, delete, view). However, I am facing an issue when trying to add a membership to a member. The problem occurs when I enter a member’s details and expect to see a list of their associated memberships, but no memberships are displayed.

Why my binding in .NET Maui does not work?

I am working on a .NET MAUI application that manages members and memberships. I am able to perform CRUD operations on members (add, delete, view, and update), and similarly, I can manage memberships as well (create, delete, view). However, I am facing an issue when trying to add a membership to a member. The problem occurs when I enter a member’s details and expect to see a list of their associated memberships, but no memberships are displayed.

OnPropertyChanged in all object’s properties

Im working with MVVM, i have a ClientClass object with many properties (~50). So, in my view i have a Picker that is binded to the Client.ClientType property, and the same property binded to an Image icon like, that change depending on the Client.ClientType value. The problem is if i change that value, the OnPropertyChanged is not triggering, it only does if Client is assigned a whole new value like Client = new ClientClass().
I know i can wrap the property and force it like this: