コード例 #1
0
 void IFlyoutBehavior.OnPaneDeactivated(IFlyoutHost host, RadPane targetPane)
 {
     var selectedPane = host.SelectedPane;
     if (selectedPane != null && !selectedPane.IsActive && host.CurrentState == FlyoutState.Opened)
     {
         host.StartCloseAnimation();
     }
 }
コード例 #2
0
        void IFlyoutBehavior.OnPaneDeactivated(IFlyoutHost host, RadPane targetPane)
        {
            var selectedPane = host.SelectedPane;

            if (selectedPane != null && !selectedPane.IsActive && host.CurrentState == FlyoutState.Opened)
            {
                host.StartCloseAnimation();
            }
        }
コード例 #3
0
 void IFlyoutBehavior.OnPaneMouseLeftButtonDown(IFlyoutHost host, RadPane targetPane)
 {
     if (host.CurrentState != FlyoutState.Opened)
     {
         host.StartOpenAnimation();
     }
     else
     {
         host.StartCloseAnimation();
     }
 }
コード例 #4
0
 void IFlyoutBehavior.OnPaneMouseLeftButtonDown(IFlyoutHost host, RadPane targetPane)
 {
     if (host.CurrentState != FlyoutState.Opened)
     {
         host.StartOpenAnimation();
     }
     else
     {
         host.StartCloseAnimation();
     }
 }