
ToolWindowPane Class
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.
Summary description for ToolWindowPane.
- Inheritance
- Attributes
ComVisibleAttribute
- Implements
IVsWindowSearch
Derives from WindowPane and inherits the default services that WindowPane provides. Derived tool windows must offer a public constructor that takes a service provider. Visual Studio uses this constructor when it creates an instance of the tool window.
Constructors
Properties
BitmapImageMoniker | Get or Set the ImageMoniker for the icon for this tool window. This property should be used instead of BitmapResource and BitmapIndex to allow for DPI-aware icons. |
BitmapIndex | Get or Set the index of the image to use in the bitmap strip for the window frame icon. BitmapImageMoniker should be used instead, as using BitmapIndex and BitmapResourceId results in an icon that is not DPI-aware. |
BitmapResourceID | Get or Set the resource ID for the bitmap strip from which to take the window frame icon. BitmapImageMoniker should be used instead, as using BitmapIndex and BitmapResourceId results in an icon that is not DPI-aware. |
Caption | Get or Set the text on the title bar of the ToolWindow |
Content | Gets or sets the content of this tool window. (Inherited from WindowPane) |
Frame | Get or Set the Frame (IvsWindowFrame) hosting the ToolWindow |
InitializationMode | Gets the initialization mode that is associated with this window pane. (Inherited from WindowPane) |
Package | Get or Set the Package (Microsoft.VisualStudio.Shell.Package) owning the ToolWindow. This should only be set by the base Package class when it creates the toolwindow. |
ParentHandle | (Inherited from WindowPane) |
SearchCategory | The search category that's used for storing MRU items (should the window search implementation for your toolwindow support most-recently-used search strings) By default, the toolwindow guid is used for the search category. |
SearchEnabled | Override this if you want to support search in your window. You will also need to override other functions from IVsWindowSearch interface, like CreateSearch, etc. |
SearchFiltersEnum | Override this function if the toolwindow supports search filters The class WindowSearchFilterEnumerator can be used to construct an enumerator over an array of search filters implementing IVsWindowSearchFilter interface. |
SearchHost | Gets the search host implementation associated with this tool window. |
SearchOptionsEnum | Override this function if the toolwindow supports search options The class WindowSearchOptionEnumerator can be used to construct an enumerator over an array of search options implementing IVsWindowSearchOption interface. |
ToolBar | If the toolwindow has a ToolBar, it is described by this parameter. Otherwise this is null |
ToolBarCommandTarget | If the toolwindow has a ToolBar then this property allows to customize its command target. If this value is null then window frame of this toolwindow is used as the command target for the ToolBar. Like other toolbar related properties, this property must be set before the initialization of the ToolWindowPane is complete. |
ToolBarDropTarget | If the toolwindow has a ToolBar, allows intercepting drag and drop operations on the toolbar. Otherwise this is null |
ToolBarLocation | Get or Set where the toolbar should be in the tool window (Up, down, left, right). This parameter is based on VSTWT_LOCATION |
ToolClsid | This is used to specify the CLSID of a tool that should be used for this toolwindow |
Window | Gets the window associated with this window pane. (Inherited from WindowPane) |
Methods
AddInfoBar(IVsInfoBar) | Adds an info bar to this ToolWindowPane. The info bar will show at the top of the pane's frame when that frame is visible on screen. |
AddInfoBar(IVsUIElement) | Adds an info bar to this ToolWindowPane. The info bar will show at the top of the pane's frame when that frame is visible on screen. |
ClearSearch() | Clear the pane of results from a previously completed or partial search |
CreateSearch(UInt32, IVsSearchQuery, IVsSearchCallback) | Override at least this function if you need to support search in a toolwindow |
Dispose() | Disposes the window pane and its resources. (Inherited from WindowPane) |
Dispose(Boolean) | Disposes the resources of the window pane. (Inherited from WindowPane) |
GetIVsWindowPane() | This method makes it possible to provide an IVsWindowPane not derived from ToolWindowPane To support that scenario one would override this method and create their IVsWindowPane and return it. |
GetService(Type) | Gets the service of the specified type. (Inherited from WindowPane) |
Initialize() | Initializes services after the window pane has been sited. (Inherited from WindowPane) |
LoadUIState(Stream) | Override to load previously saved state of the pane (Inherited from WindowPane) |
OnClose() | Raised when the window is closed. (Inherited from WindowPane) |
OnCreate() | Raised when the window pane is created. (Inherited from WindowPane) |
OnInfoBarActionItemClicked(IVsInfoBarUIElement, IVsInfoBar, IVsInfoBarActionItem) | Called when an action item on an info bar added via AddInfoBar is clicked. If this method is overridden, the base implementation must be called to raise the InfoBarActionItemClicked event. |
OnInfoBarClosed(IVsInfoBarUIElement, IVsInfoBar) | Called when an info bar added via AddInfoBar is closed. If this method is overridden, the base implementation must be called to raise the InfoBarClosed event. |
OnNavigationKeyDown(UInt32, UInt32) | Allows the pane to intercept certains keys (after a search is started), and navigate between the results or select one of the results displayed in the pane. |
OnToolBarAdded() | This should be overriden if you want to run code before the window is shown but after its toolbar is added. |
OnToolWindowCreated() | This method can be overriden by the derived class to execute any code that needs to run after the IVsWindowFrame is created. If the toolwindow has a toolbar with a combobox, it should make sure its command handler are set by the time they return from this method. This is called when someone set the Frame property. |
PreProcessMessage(Message) | Preprocesses the messages from navigation keys. (Inherited from WindowPane) |
ProvideSearchSettings(IVsUIDataSource) | Allows override of default search settings. By default, the search is started delayed, with indefinite progress. The named of properties that can be overriden are defined in the class SearchSettingsDataSource.PropertyNames. Values implementing IVsUIObject interface can be constructed for common types using Microsoft.Internal.VisualStudio.PlatformUI.BuiltInPropertyValue class, or one could use helper functions like Microsoft.Internal.VisualStudio.PlatformUI.Utilities.SetValue(Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource,System.String,System.Object) to set values in the data source. |
RemoveInfoBar(IVsInfoBar) | Removes an info bar from this ToolWindowPane. |
RemoveInfoBar(IVsUIElement) | Removes and info bar from this ToolWindowPane. |
SaveUIState(Stream) | Override to save custom state information to be used later when the pane is reconstructed. (Inherited from WindowPane) |
Events
InfoBarActionItemClicked | Event raised when a button or hyperlink on an info bar associated with this ToolWindowPane is clicked. |
InfoBarClosed | Event raised when an info bar associated with this ToolWindowPane is closed. |
Explicit Interface Implementations
IOleCommandTarget.Exec(Guid, UInt32, UInt32, IntPtr, IntPtr) | Executes the specified command. (Inherited from WindowPane) |
IOleCommandTarget.QueryStatus(Guid, UInt32, OLECMD[], IntPtr) | Gets the status of the commands. (Inherited from WindowPane) |
IServiceProvider.GetService(Type) | Gets the service of the specified type. (Inherited from WindowPane) |
IVsUIElementPane.CloseUIElementPane() | Closes the pane. (Inherited from WindowPane) |
IVsUIElementPane.CreateUIElementPane(Object) | Creates the pane. (Inherited from WindowPane) |
IVsUIElementPane.GetDefaultUIElementSize(SIZE[]) | When implemented in a derived class, gets the default size of the pane. (Inherited from WindowPane) |
IVsUIElementPane.LoadUIElementState(IStream) | When implemented in a derived class, loads custom state storage. (Inherited from WindowPane) |
IVsUIElementPane.SaveUIElementState(IStream) | Stores the state of the pane to the specified stream. (Inherited from WindowPane) |
IVsUIElementPane.SetUIElementSite(IServiceProvider) | Sets the site for this window pane. (Inherited from WindowPane) |
IVsUIElementPane.TranslateUIElementAccelerator(MSG[]) | Handles keyboard accelerators before the shell processes the message. (Inherited from WindowPane) |
IVsWindowPane.ClosePane() | Obsolete. Closes the window pane. Obsolete. (Inherited from WindowPane) |
IVsWindowPane.CreatePaneWindow(IntPtr, Int32, Int32, Int32, Int32, IntPtr) | Obsolete. Creates a window pane. Obsolete. (Inherited from WindowPane) |
IVsWindowPane.GetDefaultSize(SIZE[]) | Obsolete. Gets the default size of the window pane. Obsolete. (Inherited from WindowPane) |
IVsWindowPane.LoadViewState(IStream) | Obsolete. Loads the saved view state. Obsolete. (Inherited from WindowPane) |
IVsWindowPane.SaveViewState(IStream) | Obsolete. Saves the loaded view state. Obsolete. (Inherited from WindowPane) |
IVsWindowPane.SetSite(IServiceProvider) | Obsolete. Initializes this window pane with the specified service provider. Obsolete. (Inherited from WindowPane) |
IVsWindowPane.TranslateAccelerator(MSG[]) | Obsolete. Handles the translation of navigation keys. Obsolete (Inherited from WindowPane) |
IVsWindowSearch.Category | Return the search category. |
Applies to
Rearranging windows/documents
This chapter explains the winIDEA layout, dynamic windows and drag&drop approach.
Main frame
winIDEA main frame consists of four main parts.
![]()
|
Menu |
Only context can be changed.
Toolbars |
More or less static and they can either be visible or hidden. Select or deselect toolbars File, Window, Project or Debug you want to see in View menu / Toolbars.
Windowsarea |
Windows are organized using vertical and horizontal lists of docks.
Only context can be changed.
Tabbed panes
![]()
|
Document pane |
Documents are always tabbed in document panes above.
Window |
Window pane |
Windows can also be tabbed inside window panes below.
Document panes
While winIDEA can have multiple document panes, only one of them is a primary or default document pane. winIDEA allows you to set a default document pane.
![]()
|
Default document pane |
By default new opened documents are placed here. (e.g. with File / Open or when a breakpoint is hit and the source code is shown)
Set a default document pane |
Right-click on empty space on the document pane and choose Set As Default Document Pane in the context menu.
When closing the last document in a non-default document pane it will be closed to free up space while the default pane will remain for future use.
Document pinning
![]() A document can be pinned to “stay in reach” using a pin button in its tab. Shortcut - CTRL+SHIFT+p. |
![]()
|
Pinned document | |
Other opened document tabs | |
Focused document | |
List all opened documents button |
When we have many documents opened and there isn’t enough space to show all tabs the pinned (1) and focused (3) document tabs will remain visible. If multiple rows are required to show all these tabs they are created. The remaining space is filled with other opened document tabs (2).If there isn’t enough space to show all document panes button (4) lists all document panes.
Context menus
Right-clicking in view tabs, documents panes opens context menu with different actions.
![]() 1. Right-clicking on a document tab opens the context menu with various close actions, open containing folder and copy name/path of the document, save document or add the document to template. |
![]() 2. Right-click on the empty space of the document tab gives just some close actions. |
![]() 3. Right-clicking on a view tab gives a close action for that view. |
Document list drop down
List of opened documents shows the documents in the current document pane.
![]()
|
Current top document - highlighted | |
Documents which can not be seen and are not pinned - greyed out. | |
Pinned documents |
Document list pop-up
![]() Press CTRL+TAB inside Editor Window. Document selector list shows documents in all document panes where each document pane gets its column.
|
Currently focused document | |
Currently selected document | |
Initially selected column/document | |
Full patch displayed of currently selected document |
Navigating through the document
User can select document also with keys:
- CTRL+TAB - Down.
- CTRL+SHIFT+TAB - Up.
- Arrow keys.
- Page Up/Down, Home/End keys when there are too many documents to be listed at once.
Select the document
By releasing the TABbutton the list closes and the currently selected document is focused. The user can also select a document by clicking on it or hitting ENTER.
Filtering: While the list is opened the user can enter parts of names and they will be highlighted. While navigating through them with keys only the matching names will get selected.
Windows can be arranged in various ways: drag and drop, resizing docks and expanding windows.
Drag and drop
![]()
|
![]() |
Window titles |
Windows can be dragged by their titles - when tabbed - by their tabs.
Title of tabbed window |
By dragging a title of a tabbed window all the windows in that tabbed pane will be moved.
Tabbed windows |
Dragging is canceled by pressing the ESC button.
When dragging a window a blue rectangle indicator will display how the window will be positioned if dropped.
Windows, documents, document panes and window panes can be dropped in 4 modes:
![]() Relative to an underlying window, taking part of the target window space.
The dropped window takes app. 40% of the right space of the underlying window. Drop can be made in all 4 parts of the underlying window: top, bottom, left and right.
Holding the SHIFT key while in this drop mode, will allow the user to resize the space the new dock gets without switching to other drop modes. |
![]() Between two windows, taking space of both neighboring windows. Both neighboring windows will lose ⅓ of their space for the newly positioned windows. Holding the SHIFT key while in this drop mode, will allow the user to resize the space the new window gets without switching to other drop modes. |
![]() Tabbed mode By dropping the window in the middle of a window pane or on the tabbed pane. When dragging a window an indicator for tabbing will appear over the underlying window and the whole window will be colored in blue. By dropping over the indicator for tabbing the underlying window and the dragged window will be joined into a single window tabbed pane holding both windows. Example: When we have a tabbed pane and we are dragging a window we also have an option to drag directly onto a window tab to specify the position the window tab will have in the tabbed pane as shown on the left side - the window will be placed in the third position in the tabbed pane.
Windows - Windows have their tabs below. A window tabbed pane can be merged with another window tabbed pane. Document panes - The document panes have their tabs above the documents. A document pane can be merged with another document pane.
Holding the SHIFT key while in this drop mode, will allow the user to select a desired tab position without switching to other drop modes. |
![]() Floating frames When dragging a window or a document pane out of other frames (e.g. winIDEA) a floating frame will occur and it will persist as a separate frame. |
![]() Adding a new window to its layout will make the standard windows frame title appear.
Tip: Dragging windows into other frames can sometimes be problematic as they can be partially obscured by other frames. Press the SHIFT key and the underlying frame will be brought to front and give full view of the obscured frame. |
![]() If while dragging, the CTRL key is held, the window will always remain in a separate frame no matter where it is dropped. |
Resizing windows/documents
Between each two windows or documents is a resize area which is highlighted when hovering over with the mouse cursor. Mouse cursor as well changes to indicate it.
![]() 1. By dragging it left/right (up/down for vertically). 2.By holding the CTRL key the windows or documents can be expanded to take space from others (horizontally or vertically).
Resizing is canceled by pressing the ESC button. |
Expanding windows/documents
Windows can be expanded to take maximum space in a layout by shrinking others.
![]() Expanding vertically or horizontally. |
![]() Shrinking vertically or horizontally. |
HtmlAnchor.Target Property
Gets or sets the name of the browser window or frame that displays the contents of the Web page that is linked to when the HtmlAnchor control is clicked.
Property Value
- String
The browser window or frame that displays the contents of the Web page linked to when the HtmlAnchor is clicked. The default is an empty string ("").
Examples
The following code example demonstrates how to use the Target property to display the page that is navigated to when the HtmlAnchor control is clicked in a new, unframed window.
Remarks
Use the Target property to specify the target window or frame that displays the contents of the Web page that is linked to when the HtmlAnchor control is clicked.
Note
The Target property renders as a attribute. The attribute on elements is not allowed in the XHTML document type definition. Do not set the Target property if the rendered output for the HtmlAnchor must be compliant with XHTML For more information, see XHTML Standards in Visual Studio and ASP.NET.
When creating accessible Web pages, avoid using the Target property to target another window. For more information, see ASP.NET Accessibility.
The Target value must begin with a letter in the range of A to Z (case-insensitive), except for the following special values, which begin with an underscore.
Target value | Description |
---|---|
Renders the content in a new window without frames. | |
Renders the content in the immediate frameset parent. | |
Renders the content in the search pane. | |
Renders the content in the frame with focus. | |
Renders the content in the full window without frames. |
Note
Check your browser documentation to determine if the value is supported. For example, Microsoft Internet Explorer and later support the target value.
Applies to
See also
For me to do this with your neat mouth: have you ever touched military dignity with your alluring lips. -I: I. Not.
Window frame target pane
Impulses of pleasure pierced her, stronger and stronger, until they turned into waves of bliss, and with women touching her in the. Right places and at the right moment, the orgasm exploded inside her, a big bright flash of intense pleasure that began somewhere in the groin, but sent secondary flashes into her breasts, and then spread throughout her body.
She howled, screamed, twisting and writhing under the control of two women whom she hardly knew, but who seemed to know. Her body better than she did.
Dollar Tree DIY - Window Frame Wall Decor - Target Window Frame Dupe 🖼Huge and thick. I was scared. he noticed my confusion.
Similar news:
- Roehl transport inc
- Christmas 2015 vacation ideas
- Amazon overnight jobs
- Plastic surgeon naperville
- Pitney bowes reviews
- Genesis open draftkings picks
- Dr oz acne
- Beach life svg free
Her orgasm: What could replace this. Karina glanced at the table with vegetables and immediately realized what. Leaving the cucumber inside, so as not to waste time later, the libertine stretched out her hand to the table and took from.