gxc
2020-02-28 66a9965c44ecc32a6696abca876ab9d1cd091584
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
using System;
using Shared.Common;
namespace Shared.Phone.Device.CommonForm
{
    /// <summary>
    /// Rowlayout delete button.
    /// 自定义右滑删除按钮
    /// 默认红色背景 白色字体 文字居中  默认圆角--CommonPage.BigFormRadius
    /// </summary>
    public class RowLayoutDeleteButton:Button
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:Shared.Phone.Device.CommonForm.RowLayoutDeleteButton"/> class.
        /// </summary>
        public RowLayoutDeleteButton()
        {
            BackgroundColor = ZigbeeColor.Current.GXCRedColor;
            TextID = R.MyInternationalizationString.Delete;
            TextColor = ZigbeeColor.Current.GXCTextWhiteColor;
            TextAlignment = TextAlignment.Center;
            TextSize = 14;
            //Radius = CommonPage.BigFormRadius;
        }
    }
}