3

I know of the existence of the Running Document Table and how to access it using the Visual Studio SDK, but I can't seem to find a way to determine UX-specific attributes about the file, like if it's pinned in the editor.

1 Answers1

1

Maybe you can try and get the IsPinned state using GetProperty and VsFramePropIdenum.

https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.shell.vsframepropid?view=visualstudiosdk-2019

kyndigs
  • 3,074
  • 1
  • 18
  • 22
  • For anyone else wondering, this example is helpful in getting the IVsWindowFrames needed to access those properties https://github.com/microsoft/VSSDK-Extensibility-Samples/blob/master/ArchivedSamples/WPF_Toolwindow/C%23/WindowList.cs – Katherine Mitchell May 15 '20 at 02:21