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(); } }
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(); } }