panel.Height = double.NaN;
panel.Width = double.NaN;

相关文章: