wpf控件显示层次设置

PhoneCode pc = new PhoneCode();
pc.OK += Pc_OK;
grid.Children.Add(pc);
Panel.SetZIndex(pc, grid.Children.Count + 1);

 

Guess you like

Origin blog.csdn.net/liangyely/article/details/106362325