只能用于平级之间设置上下顺序
this.grid1.SetValue(Grid.ZIndexProperty, 9999);
Panel.SetZIndex(this.mapContent, 9999);
Panel.SetZIndex(this.grid1, 9999);
只能用于平级之间设置上下顺序
this.grid1.SetValue(Grid.ZIndexProperty, 9999);
Panel.SetZIndex(this.mapContent, 9999);
Panel.SetZIndex(this.grid1, 9999);
转载于:https://www.cnblogs.com/changbaishan/p/4647697.html