using System;
|
using System.Collections.Generic;
|
using System.Text;
|
|
namespace Shared.Phone.UserCenter
|
{
|
/// <summary>
|
/// 做成一个返回键(自身拥有点亮功能)
|
/// </summary>
|
public class BackViewControl : Button
|
{
|
/// <summary>
|
/// 做成一个返回键(自身拥有点亮功能)
|
/// </summary>
|
public BackViewControl()
|
{
|
this.Name = "btnBack";
|
this.X = Application.GetRealWidth(20);
|
this.Gravity = Gravity.CenterVertical;
|
this.Width = Application.GetMinRealAverage(110);
|
this.Height = Application.GetMinRealAverage(110);
|
this.UnSelectedImagePath = "Item/Back.png";
|
//this.SelectedImagePath = "Item/BackSelected.png";
|
|
//启用点亮功能
|
//this.UseClickStatu = true;
|
}
|
}
|
}
|