using System; using System.Collections.Generic; using System.Text; namespace Shared.Phone.UserCenter { /// /// 做成一个返回键(自身拥有点亮功能) /// public class BackViewControl : Button { /// /// 做成一个返回键(自身拥有点亮功能) /// 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; } } }