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;
        }
 public ScrollingDirective EndHighlight( EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective )
 {
     if( endScrollingInfo.ElementToBeHighlighted != this )
         IsHighlighting = false;
     return scrollingDirective;
 }
        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;
        }