| | |
| | | this.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor; |
| | | TopView view = new TopView(); |
| | | this.AddChidren(view.TopRowView()); |
| | | view.toptitleNameBtn.Text = Name; |
| | | view.toptitleNameBtn.Text = LocalDevice.Current.GetDeviceEpointName(common); |
| | | view.clickBtn.MouseDownEventHandler += (sender, e) => |
| | | { |
| | | RemoveFromParent(); |
| | |
| | | Send.dictionary(brightnessDictionary, "Data2", "0"); |
| | | var horizontalSeekBarVol = new DiyImageSeekBar |
| | | { |
| | | Y = Application.GetRealHeight(140), |
| | | X = Application.GetRealWidth(78), |
| | | Width = Application.GetRealWidth(918), |
| | | Height = Application.GetRealHeight(320),//滑动条父控件高度 |
| | | Y = Application.GetRealHeight(140),//进度条父控件Y坐标 |
| | | X = Application.GetRealWidth(78),//进度条X坐标 |
| | | Width = Application.GetRealWidth(918),//进度条的长度 |
| | | Height = Application.GetRealHeight(320),//进度条父控控件高度 |
| | | IsProgressTextShow = true,//显示百分比 |
| | | IsClickable = true,//进度条是否滑动 |
| | | ProgressBarColor = ZigbeeColor.Current.LogicProgressColorSelected,//选中进度条颜色 |