public ScrollingDirective EndHighlight( EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective )
 {
     return scrollingDirective;
 }
Пример #2
0
 public ScrollingDirective EndHighlight( EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective )
 {
     foreach( var child in Children )
     {
         child.EndHighlight( endScrollingInfo, scrollingDirective );
     }
     return scrollingDirective;
 }
 public ScrollingDirective EndHighlight( EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective )
 {
     if( _highlightPrePostChildren )
     {
         foreach( var p in _preChildren ) p.EndHighlight( endScrollingInfo, scrollingDirective );
         foreach( var p in _postChildren ) p.EndHighlight( endScrollingInfo, scrollingDirective );
     }
     return _element.EndHighlight( endScrollingInfo, scrollingDirective );
 }
Пример #4
0
 public ScrollingDirective EndHighlight( EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective )
 {
     IsHighlighted = false;
     return scrollingDirective;
 }
Пример #5
0
 public ScrollingDirective EndHighlight( EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective )
 {
     _viewModel.IsWindowHighlighted = false;
     return scrollingDirective;
 }
Пример #6
0
        public ScrollingDirective EndHighlight(EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective)
        {
            IsHighlighted = false;

            if( !_selected ) _textTemplate.RemoveFocus( this ); //Keep the focus if the text is selected
            return scrollingDirective;
        }
Пример #7
0
        public ScrollingDirective EndHighlight( EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective )
        {
            if( !_entered ) //we were scrolling the plugin itself (we hadn't entered yet), which had highlighted all the screens
            {
                foreach( var node in ChildNodes )
                {
                    node.IsHighlighted = false;
                }
            }
            else
            {
                CurrentNode.ChildNodes.ElementAt( CurrentNode.CurrentIndex ).IsHighlighted = false;
            }

            return scrollingDirective;
        }
Пример #8
0
 public ScrollingDirective EndHighlight( EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective )
 {
     if( endScrollingInfo.ElementToBeHighlighted != this )
         IsHighlighting = false;
     return scrollingDirective;
 }
Пример #9
0
        public ScrollingDirective EndHighlight( EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective )
        {
            if( _radar._timerRotate.IsEnabled )
                Debug.Assert( _radar.CurrentStep == RadarStep.Rotating && !_radar._timerTranslate.IsEnabled );
            else if( _radar._timerTranslate.IsEnabled )
                Debug.Assert( _radar.CurrentStep == RadarStep.Translating && !_radar._timerRotate.IsEnabled );

            if( endScrollingInfo.ElementToBeHighlighted != this ) //if the next element to highlight is the element itself, we should not change anything
                Blur();

            //If the scroller was released (see BeginHighlight), we can pause the radar (we are no longer scrolling on it)
            if( ActionType != ActionType.StayOnTheSame && IsActive )
            {
                Pause();
                _yield = false;
            }

            return scrollingDirective;
        }
Пример #10
0
        public ScrollingDirective EndHighlight( EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective )
        {
            if ( Parent.IsViewHidden )
            {
                IsHighlighted = false;
            }

            return scrollingDirective;
        }