From d87400af518ebc9274f4447f06476959c3aa5102 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期二, 14 七月 2020 16:29:42 +0800 Subject: [PATCH] Merge branch 'dev-tzy' into dev-2020xm --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs index 037155f..86cc665 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs @@ -173,12 +173,17 @@ /// 娣诲姞宸﹁竟鍥炬爣 /// </summary> /// <param name="i_Iconsize">鍥炬爣澶у皬</param> + /// <param name="i_IconPath">鍥炬爣鍦板潃</param> /// <returns></returns> - public IconViewControl AddLeftIcon(int i_Iconsize = 81) + public IconViewControl AddLeftIcon(int i_Iconsize = 81, string i_IconPath = null) { var btnIcon = new IconViewControl(i_Iconsize); btnIcon.X = ControlCommonResourse.XXLeft + LeftOffset; btnIcon.Gravity = Gravity.CenterVertical; + if (i_IconPath != null) + { + btnIcon.UnSelectedImagePath = i_IconPath; + } this.AddChidren(btnIcon, ChidrenBindMode.BindEvent); if (chidrenYaxis != 0) { -- Gitblit v1.8.0