File was renamed from ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/TopRightMenuControl.cs |
| | |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace Shared.Phone.UserCenter |
| | | namespace Shared.Phone |
| | | { |
| | | /// <summary> |
| | | /// 做成一个存在于右上角的菜单控件(非楼层菜单,都可以使用) |
| | |
| | | public void AddRowMenu(string TextValue, string selectPic, string unSelectPic, 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(); |