Vb.net 如何判断DevExpress FindPanel何时关闭?
我目前正在VB.NET中的Visual Studio 2010中编程,并且正在使用DevExpress v10.2 我刚开始用WinForms XtraGrid FindPanel编程,到目前为止,它的效果非常好。但是,我想知道是否有任何方法可以知道用户何时关闭FindPanel。现在,如果Vb.net 如何判断DevExpress FindPanel何时关闭?,vb.net,visual-studio-2010,devexpress,Vb.net,Visual Studio 2010,Devexpress,我目前正在VB.NET中的Visual Studio 2010中编程,并且正在使用DevExpress v10.2 我刚开始用WinForms XtraGrid FindPanel编程,到目前为止,它的效果非常好。但是,我想知道是否有任何方法可以知道用户何时关闭FindPanel。现在,如果gridview.options find.AllowFindPanel为True且gridview.options find.AlwaysVisible为False,则用户可以单击x并关闭FindPanel
gridview.options find.AllowFindPanel
为True且gridview.options find.AlwaysVisible
为False,则用户可以单击x
并关闭FindPanel。到底有没有办法赶上这一关?我不想阻止它,只要在它被隐藏或关闭后做几件事就行了
感谢显然,对于FindPanel是隐藏还是显示,DevExpress Gridcontrol没有单独的事件。相反,我使用了GridView的事件并在内部检查FindPanel是否可见:
GridView.IsFindPanelVisible