I m recreating an old desktop application in WinUI 3. This app has a FlexGrid and I need a modern replacement for it. Right now, I am trying to use a grid and programmatically placing TextBoxes in the grid and binding them to a view model in my app. I m not doing this in the Xaml page because there are around 350 textboxes that I need to collect input from. The screenshot attached is from the original application, each of the yellow-ish shaded cells is for user input for number values.
问题一是,具有约束力的数据没有作用,总体来看似乎是一种冷静的方法,可以重新计算原方案的内容。