Share via

Optimize Grid with multiple Item

Deepseek 1 Reputation point
2022-05-20T16:06:45.403+00:00

204149-image.png

Hello, im currently making a simple calculator application to begin with WPF.

Here is my ask, how can i optimize my grid of buttons ?

I think that having 25 StackPanel (these will be changed by custom image) is a bit overkill... am i right ?

Afterwards, I'd create another app which will need a grid of hundreds of items so it will help me a lot.

Developer technologies | Windows Presentation Foundation
Developer technologies | XAML
Developer technologies | XAML

A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.


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.