create border is slow in maui?

mc 3,441 Reputation points

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.

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