Hi,
I have two columns in my main grid of the startup application and the width of the first column is set to Auto.So first column have one docksite which have toolwindow1 and second column have another docksite which have another toolwindow2.so when i click on the pin button of the first toolwindow then toolwindow1 will be displayed as the tab and the space will be utilized by the toolwindow2 but when i hover the mouse on the tab of the toolwindow1 then its not displaying the popup or the window for the toolwindow1.
See below example and run it in your application and see the output according to above specified steps.
Example:
<Window x:Class="DockingApplication.AutoSizeForDocksite"xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"Title="AutoSizeForDocksite" Height="300" Width="300" xmlns:docking="http://schemas.actiprosoftware.com/winfx/xaml/docking">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<docking:DockSite Grid.Column="0"><docking:ToolWindowContainer><docking:ToolWindow Title="Toolwindow1"></docking:ToolWindow>
</docking:ToolWindowContainer>
</docking:DockSite>
<docking:DockSite Grid.Column="1">
<docking:ToolWindowContainer><docking:ToolWindow Title="Toolwindow2"></docking:ToolWindow>
</docking:ToolWindowContainer></docking:DockSite>
</Grid>
</Window>
Question1:
How to display the toolwindow when the user hover the mouse over the tab of the toolwindow which is formed when user click on the pin buttton and that docksite for that toolwindow is displayed in the column of auto width of the grid.As specified in above example.?
Question2:
Is their any event handle for the click pin button and the unpin button of the icon or button in the titlebar of teh toolwindow...?
Is their any mouse hover event handler for the tab of the toolwindow which is formed when user click on the pin buttton..?
[Modified 12 years ago]