From 9a4629512ccf8359efd88671c9317c3cc7faf0c8 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期一, 29 八月 2022 16:46:40 +0800
Subject: [PATCH] Merge branch 'dev' into dev-temp
---
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconViewControl.cs | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconViewControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconViewControl.cs
new file mode 100644
index 0000000..eb6a9cc
--- /dev/null
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconViewControl.cs
@@ -0,0 +1,31 @@
+锘縰sing System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Shared.Phone.UserCenter
+{
+ /// <summary>
+ /// 鍋氭垚涓�涓樉绀哄浘鏍囩殑鎺т欢(闇�瑕佹墜鍔ㄥ紑鍚偣鍑荤姸鎬�)
+ /// </summary>
+ public class IconViewControl : IconControlCommon
+ {
+ /// <summary>
+ /// 鍥炬爣澶у皬
+ /// </summary>
+ public int IconSize = 0;
+ /// <summary>
+ /// 鍋氭垚涓�涓樉绀哄浘鏍囩殑鎺т欢(闇�瑕佹墜鍔ㄥ紑鍚偣鍑荤姸鎬�)
+ /// </summary>
+ /// <param name="size">澶у皬</param>
+ /// <param name="real">鏄惁璁$畻鐪熷疄鍊�</param>
+ public IconViewControl(int size = 110, bool real = true)
+ {
+ this.InitIconSize(size, size, real);
+ this.IconSize = size;
+ if (real == true)
+ {
+ this.IconSize = this.GetPictrueRealSize(size);
+ }
+ }
+ }
+}
--
Gitblit v1.8.0