using System;
|
using Shared;
|
namespace Shared.Phone.Device.Logic
|
{
|
public class SelectedButton : Button
|
{
|
|
/// <summary>
|
/// 横坐标位置
|
/// </summary>
|
/// <param name="Xwidth"></param>
|
public SelectedButton(int Xwidth = 860)
|
{
|
X = Application.GetRealWidth(Xwidth);
|
Width = Application.GetMinRealAverage(60);
|
Height = Application.GetMinRealAverage(60);
|
UnSelectedImagePath = "ZigeeLogic/selected.png";
|
Visible = false;
|
Gravity = Gravity.CenterVertical;
|
}
|
///// <summary>
|
///// 横坐标位置
|
///// </summary>
|
///// <param name="Xwidth"></param>
|
//public void SelectedBtnIcon(int Xwidth = 860)
|
//{
|
// X = Application.GetRealWidth(Xwidth);
|
// Width = Application.GetMinRealAverage(60);
|
// Height = Application.GetMinRealAverage(60);
|
// UnSelectedImagePath = "ZigeeLogic/selected.png";
|
// Visible = false;
|
// Gravity = Gravity.CenterVertical;
|
//}
|
//public void BackBtnIcon()
|
//{
|
// Width = Application.GetRealWidth(30);
|
// Height = Application.GetRealHeight(51);
|
// X = Application.GetRealWidth(58);
|
// Y = Application.GetRealHeight(98);
|
// //Gravity = Gravity.CenterVertical;
|
// UnSelectedImagePath = "ZigeeLogic/back.png";
|
//}
|
|
}
|
}
|