Formatting a button in a MAUI Listview

salilsingh-9961 346 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

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,221 questions
{count} votes