Formatting a button in a MAUI Listview

salilsingh-9961 351 Reputation points
2023-12-02T13:05:01.1366667+00:00

Hi Team,

I am working on a .Net MAUI app (in Visual Studio 2022), Android emulator used is Pixel 5 API 33.

I have a requirement where I need to show 2 buttons on each row of a list view.

Background, BorderColor and Textcolor of buttons has to be set as per value of object properties (of the list, it would be "OK" and "Cancel").

Please let me know how to achieve this.

Thanks,

Salil

Developer technologies | .NET | .NET MAUI
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.