Exemplo n.º 1
0
 void IFlyoutBehavior.OnPaneDeactivated(IFlyoutHost host, RadPane targetPane)
 {
     var selectedPane = host.SelectedPane;
     if (selectedPane != null && !selectedPane.IsActive && host.CurrentState == FlyoutState.Opened)
     {
         host.StartCloseAnimation();
     }
 }
        void IFlyoutBehavior.OnPaneDeactivated(IFlyoutHost host, RadPane targetPane)
        {
            var selectedPane = host.SelectedPane;

            if (selectedPane != null && !selectedPane.IsActive && host.CurrentState == FlyoutState.Opened)
            {
                host.StartCloseAnimation();
            }
        }
Exemplo n.º 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();
     }
 }