コード例 #1
0
 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;
 }
コード例 #3
0
 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
ファイル: Word.cs プロジェクト: Invenietis/ck-certified
        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
ファイル: MiniViewVM.cs プロジェクト: Invenietis/ck-certified
        public ScrollingDirective EndHighlight( EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective )
        {
            if ( Parent.IsViewHidden )
            {
                IsHighlighted = false;
            }

            return scrollingDirective;
        }