From 734b78b3274f2ff3063be7316f678d45bbee4c2b Mon Sep 17 00:00:00 2001 From: liufei Date: Fri, 25 Mar 2022 17:57:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=82=AC=E5=81=9C=E5=88=87=E6=8D=A2=E8=8F=9C?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ViewModel/AppConfig.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ViewModel/AppConfig.cs b/ViewModel/AppConfig.cs index cc2c116..5f9526b 100644 --- a/ViewModel/AppConfig.cs +++ b/ViewModel/AppConfig.cs @@ -73,7 +73,23 @@ namespace GeekDesk.ViewModel private bool doubleOpen = false; //双击打开项目 默认关闭 + private bool hoverMenu = false; //悬停切换菜单 默认关闭 + #region GetSet + + public bool HoverMenu + { + get + { + return hoverMenu; + } + set + { + hoverMenu = value; + OnPropertyChanged("HoverMenu"); + } + } + public bool DoubleOpen { get