TextTemplate.Word.EndHighlight C# (CSharp) Méthode

EndHighlight() public méthode

public EndHighlight ( EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective ) : ScrollingDirective
endScrollingInfo HighlightModel.EndScrollingInfo
scrollingDirective HighlightModel.ScrollingDirective
Résultat HighlightModel.ScrollingDirective
        public ScrollingDirective EndHighlight(EndScrollingInfo endScrollingInfo, ScrollingDirective scrollingDirective)
        {
            IsHighlighted = false;

            if( !_selected ) _textTemplate.RemoveFocus( this ); //Keep the focus if the text is selected
            return scrollingDirective;
        }