Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一大堆数据显示在不同的标签中,现在我正在添加一个编辑状态。我希望所有标签都“转换”为 TextInputs。我只是想知道是否可以使用状态来改变
变成这样的东西
在状态更改时在可见和不可见组件之间切换可能会更容易。
所以标签 lblFirstName 与文本 txtFirstName 位于相同的 x/y 位置。当 lblFirstName 可见时,txtFirstName 不可见。
设置起来应该不会太难。