question

Deepseek-0412 avatar image
0 Votes"
Deepseek-0412 asked HuiLiu-MSFT commented

Optimize Grid with multiple Item

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.

windows-wpfdotnet-wpf-xaml
image.png (171.3 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,@Deepseek-0412 . Are you experiencing any issues with your current code? (like UI rendering) Or do you want to simplify your code?

0 Votes 0 ·

0 Answers