| | |
| | | Y = Application.GetMinRealAverage(17), |
| | | Width = Application.GetMinRealAverage(320), |
| | | Height = Application.GetMinRealAverage(63), |
| | | TextColor = ZigbeeColor.Current.GXCTextGrayColor, |
| | | TextColor = ZigbeeColor.Current.GXCTextWhiteColor, |
| | | SelectedTextColor = ZigbeeColor.Current.GXCTextWhiteColor, |
| | | TextAlignment=TextAlignment.CenterLeft |
| | | }; |
| | |
| | | { |
| | | CollectButton.IsSelected = collect; |
| | | } |
| | | /// <summary> |
| | | /// CanControl |
| | | /// </summary> |
| | | /// <param name="cmd"></param> |
| | | public void CanControl(bool cmd) |
| | | { |
| | | SwitchButton.Visible = cmd; |
| | | } |
| | | } |
| | | } |