优化下面的代码private bool CheckGridGrid grid foreach var child in gridChildrenOfTypeFrameworkElement if child is TextBox textBox && stringIsNullOrEmptytextBoxText return fal
private bool CheckGrid(Grid grid)
{
foreach (var child in grid.Children.OfType
原文地址: https://www.cveoy.top/t/topic/cEqY 著作权归作者所有。请勿转载和采集!