IDocumentPeekResultScrollState Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extends the capability of the IPeekResultScrollState to be able to scroll and zoom any text view, rather than only the currently visible presentation.
public interface class IDocumentPeekResultScrollState : IDisposable, Microsoft::VisualStudio::Language::Intellisense::IPeekResultScrollState
public interface IDocumentPeekResultScrollState : IDisposable, Microsoft.VisualStudio.Language.Intellisense.IPeekResultScrollState
type IDocumentPeekResultScrollState = interface
interface IPeekResultScrollState
interface IDisposable
Public Interface IDocumentPeekResultScrollState
Implements IDisposable, IPeekResultScrollState
- Implements
Remarks
This interface is used in keeping the scroll state and zoom level consistent when a document presented in Peek is being promoted to a full frame.
Methods
RestoreScrollState(IPeekResultPresentation) |
Restore the presentation to the captured state. (Inherited from IPeekResultScrollState) |
RestoreScrollState(ITextView) |
Scrolls any text view to the the IPeekResultScrollState that this inherits from. |
RestoreZoomState(ITextView) |
Restores zoom level in given text view. |