File was renamed from ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/TopRightFloorMenuControl.cs |
| | |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace Shared.Phone.UserCenter |
| | | namespace Shared.Phone |
| | | { |
| | | /// <summary> |
| | | /// 做成一个存在于右上角的楼层菜单控件 |
| | |
| | | public void AddRowMenu(string floorId, Action action, bool closeOnClick = true) |
| | | { |
| | | var rowFrame = new FrameRowControl(); |
| | | rowFrame.LeftOffset = Application.GetRealWidth(81) - ControlCommonResourse.XXLeft; |
| | | rowFrame.LeftOffset = Application.GetRealWidth(81) - HdlControlResourse.XXLeft; |
| | | rowFrame.Height = Application.GetRealHeight(RowHeight); |
| | | listView.AddChidren(rowFrame); |
| | | rowFrame.MainKeys = listView.ChildrenCount.ToString(); |