C# Class Microsoft.VisualStudio.R.Package.Utilities.ActiveWpfTextViewTracker

Inheritance: IActiveWpfTextViewTracker, IVsWindowFrameEvents
Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

Méthode Description
GetLastActiveTextView ( IContentType contentType ) : IWpfTextView
GetLastActiveTextView ( string contentTypeName ) : IWpfTextView
OnActiveFrameChanged ( IVsWindowFrame oldFrame, IVsWindowFrame newFrame ) : void
OnFrameCreated ( IVsWindowFrame frame ) : void
OnFrameDestroyed ( IVsWindowFrame frame ) : void
OnFrameIsOnScreenChanged ( IVsWindowFrame frame, bool newIsOnScreen ) : void
OnFrameIsVisibleChanged ( IVsWindowFrame frame, bool newIsVisible ) : void

Private Methods

Méthode Description
ActiveWpfTextViewTracker ( IVsEditorAdaptersFactoryService editorAdaptersFactory, IContentTypeRegistryService registryService ) : System
GetWpfTextView ( IVsWindowFrame frame ) : IWpfTextView
UpdateTextViewIfRequired ( IWpfTextView wpfTextView ) : void

Method Details

GetLastActiveTextView() public méthode

public GetLastActiveTextView ( IContentType contentType ) : IWpfTextView
contentType IContentType
Résultat IWpfTextView

GetLastActiveTextView() public méthode

public GetLastActiveTextView ( string contentTypeName ) : IWpfTextView
contentTypeName string
Résultat IWpfTextView

OnActiveFrameChanged() public méthode

public OnActiveFrameChanged ( IVsWindowFrame oldFrame, IVsWindowFrame newFrame ) : void
oldFrame IVsWindowFrame
newFrame IVsWindowFrame
Résultat void

OnFrameCreated() public méthode

public OnFrameCreated ( IVsWindowFrame frame ) : void
frame IVsWindowFrame
Résultat void

OnFrameDestroyed() public méthode

public OnFrameDestroyed ( IVsWindowFrame frame ) : void
frame IVsWindowFrame
Résultat void

OnFrameIsOnScreenChanged() public méthode

public OnFrameIsOnScreenChanged ( IVsWindowFrame frame, bool newIsOnScreen ) : void
frame IVsWindowFrame
newIsOnScreen bool
Résultat void

OnFrameIsVisibleChanged() public méthode

public OnFrameIsVisibleChanged ( IVsWindowFrame frame, bool newIsVisible ) : void
frame IVsWindowFrame
newIsVisible bool
Résultat void