wei
2020-11-27 e53a1951d6aa07ad22aad9816da4703496fcbccd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using HDL_ON.UI.CSS;
using Shared;
 
namespace HDL_ON.UI
{
    /// <summary>
    /// 通用确认按钮
    /// </summary>
    public class ConfirmButton : Button
    {
        public ConfirmButton()
        {
            Gravity = Gravity.CenterHorizontal;
            Width = Application.GetRealWidth(220);
            Height = Application.GetRealWidth(44);
            BackgroundColor = CSS_Color.MainColor;
            TextAlignment = TextAlignment.Center;
            TextColor = CSS_Color.MainBackgroundColor;
            TextSize = CSS_FontSize.SubheadingFontSize;
            IsBold = true;
            Radius = (uint)Application.GetRealWidth(22);
            BorderColor = 0x00000000;
            BorderWidth = 0;
 
        }
    }
}