using System;
|
using Shared.Common;
|
|
namespace Shared.Phone.Device.CommonForm
|
{
|
public class Line : SelectedStatuButton
|
{
|
/// <summary>
|
/// Line
|
/// </summary>
|
/// <param name="y"></param>
|
/// <param name="width"></param>
|
/// <param name="height"></param>
|
public Line(int y, int width, int height)
|
{
|
Y = y-2;
|
Width = width;
|
Height = height;
|
Radius = (uint)(height / 2);
|
SelectedBackgroundColor = ZigbeeColor.Current.GXCButtonSelectedColor;
|
//BackgroundColor = ZigbeeColor.Current.GXCButtonSelectedColor;
|
Gravity = Gravity.CenterHorizontal;
|
}
|
|
/// <summary>
|
/// SetStatu
|
/// </summary>
|
/// <param name="statu"></param>
|
public void SetStatu(bool statu)
|
{
|
IsSelected = statu;
|
}
|
}
|
}
|