internal void RaiseArrowItemClick(ArrowClickEventArgs e)
 {
     if (ArrowItemClick != null)
     {
         ArrowItemClick(this, e);
     }
 }
Пример #2
0
 protected override void OnLinkAction(BarLinkAction action, object actionArgs)
 {
     if (action == BarLinkAction.PressArrow)
     {
         if (CanPressDropDownButton)
         {
             if (BarControl != null)
             {
                 BarControl.Capture = false;
             }
             if (IsPopupVisible)
             {
                 HidePopupCore(true);
             }
             else
             {
                 ArrowClickEventArgs e = new ArrowClickEventArgs()
                 {
                     Handled = false, Link = this
                 };
                 Manager.RaiseArrowItemClick(e);
                 if (!e.Handled)
                 {
                     ShowPopup();
                 }
                 Debug.WriteLine("ArrowClick");
             }
         }
         return;
     }
     base.OnLinkAction(action, actionArgs);
 }
 private void myBarManager1_ArrowItemClick(object sender, ArrowClickEventArgs e)
 {
     // e.Handled = true;
     Text += "Arrow ";
 }