protected void OnPopupOpened(PopupButtonInfo button, object sender, DevExpress.UI.Xaml.Editors.Native.EventArgsBase e)
 {
     if (PopupOpened != null)
     {
         PopupOpened(this, new OpenPopupEventArgs());
     }
 }
 private void OnPopupClosed(PopupButtonInfo button, object sender, DevExpress.UI.Xaml.Editors.Native.EventArgsBase e)
 {
     this.SelectAll();
 }