| | |
| | | { |
| | | Width = Application.GetRealWidth(1080), |
| | | Height = Application.GetRealHeight(140 + 320 + 70), |
| | | Y = Application.GetRealHeight(1920 - 530), |
| | | Y = Application.GetRealHeight(Method.H - 530), |
| | | BackgroundColor = ZigbeeColor.Current.LogicBackgroundColor, |
| | | // Radius = (uint)Application.GetRealHeight(60), |
| | | }; |
| | |
| | | fraView.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight); |
| | | fraView.Height = Application.GetRealHeight(1+140 + 70 + 160 * n);//1作用就是覆盖底色 |
| | | fraView.Y = Application.GetRealHeight(1920 - 140 - 70 - 160 * n); |
| | | fraView.AddChidren(titleRow); |
| | | fraView.AddChidren(Btncancel); |
| | | fraView.AddChidren(Btntitle); |
| | | fraView.AddChidren(Btncomplete); |
| | | if (titleRow.Parent == null) |
| | | { |
| | | fraView.AddChidren(titleRow); |
| | | fraView.AddChidren(Btncancel); |
| | | fraView.AddChidren(Btntitle); |
| | | fraView.AddChidren(Btncomplete); |
| | | } |
| | | return fraView; |
| | | } |
| | | |