예제 #1
0
 void IFlyoutBehavior.OnPaneActivated(IFlyoutHost host, RadPane targetPane)
 {
     host.SetSelectedPane(targetPane);
     if (host.CurrentState == FlyoutState.Closed)
     {
         host.StartOpenAnimation();
     }
 }
 void IFlyoutBehavior.OnPaneActivated(IFlyoutHost host, RadPane targetPane)
 {
     host.SetSelectedPane(targetPane);
     if (host.CurrentState == FlyoutState.Closed)
     {
         host.StartOpenAnimation();
     }
 }
예제 #3
0
 void IFlyoutBehavior.OnPaneMouseLeftButtonDown(IFlyoutHost host, RadPane targetPane)
 {
     if (host.CurrentState != FlyoutState.Opened)
     {
         host.StartOpenAnimation();
     }
     else
     {
         host.StartCloseAnimation();
     }
 }
 void IFlyoutBehavior.OnPaneMouseLeftButtonDown(IFlyoutHost host, RadPane targetPane)
 {
     if (host.CurrentState != FlyoutState.Opened)
     {
         host.StartOpenAnimation();
     }
     else
     {
         host.StartCloseAnimation();
     }
 }