create border is slow in maui?

mc 3,441 Reputation points
2024-01-29T15:36:46.9933333+00:00

var border = new Border { BackgroundColor = _borderColor, StrokeShape = r, StrokeThickness = 0 }; it is very slow why? I want to create grid and add 10 elements manually not using listview. becuase I do not know how may columns in the list.

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