old mode 100755
new mode 100644
| | |
| | | Height = Application.GetMinRealAverage(63), |
| | | TextColor = ZigbeeColor.Current.GXCTextGrayColor, |
| | | SelectedTextColor = ZigbeeColor.Current.GXCTextWhiteColor, |
| | | TextAlignment=TextAlignment.CenterLeft |
| | | TextAlignment=TextAlignment.CenterLeft, |
| | | TextSize=15 |
| | | }; |
| | | AddChidren(NameButton); |
| | | |
| | |
| | | Height = Application.GetMinRealAverage(60), |
| | | TextColor = ZigbeeColor.Current.GXCTextBlackColor, |
| | | SelectedTextColor = ZigbeeColor.Current.GXCTextSelectedColor, |
| | | TextAlignment=TextAlignment.CenterLeft |
| | | TextAlignment=TextAlignment.CenterLeft, |
| | | TextSize=14, |
| | | IsBold=true |
| | | }; |
| | | AddChidren(StatuButton); |
| | | |
| | |
| | | /// SetStatu |
| | | /// </summary> |
| | | /// <param name="statu"></param> |
| | | public void SetStatu(bool statu) |
| | | private void SetStatu(bool statu) |
| | | { |
| | | NameButton.IsSelected = IconButton.IsSelected = SwitchButton.IsSelected = StatuButton.IsSelected = CardBG.IsSelected = statu; |
| | | NameButton.IsBold = statu; |
| | | } |
| | | |
| | | /// <summary> |