Hi ,
Dockmanager urrent version (11.1) look & feel and behavior is based on what we had in VS 2008.
Do you plan in futur version to be consistent with VS 2010 ?
So far, there is no information in your roadmap on this potential evolution.
Bye
Hi,
This is something we have on the backlog. I would be interested in hearing from you any priority for features ... if we were to schedule this work for our 12.1 release, what are the 'must-haves' for you.
Thanks
Jason
Hi, sorry for the delay.
Currently we are quite interested by two features that VS 2008 don't have.
1)pin or close a window by clicking on the cross or the pin icon next to the title in the header tab.
In VS 2008 the cross is on the right and you need 2 click to close a window.
2) have the hability to dock a floating window when we drag it on a docking area.
In VS 2008 you have to change the state to be dockable.
Regards
Karim
Sorry again for answering so late. I missed the answer notification.
Thank you for your very detailed and precise answer.
For point 1) you were completetly right, the pin is introduced by a VS extension (surely powertool) as you stated in your reply so forget it.
The close cross is by default in VS2100 and is not introduced by an extension. I check on another VS2010.
I didn't try yet your solution to implement it.
For point 2) I think your answer is fulfilling the need. I was not aware of this redefinition of float in VS2010
kbenameur said: 1)pin or close a window by clicking on the cross or the pin icon next to the title in the header tab. In VS 2008 the cross is on the right and you need 2 click to close a window.
Can you clarify what you mean by this? Since you mention the Pin icon I can assume that you are referring to a pane that is docked to the left/right/top/bottom since unpinning is only available to a docked pane. The header of such a ContentPane has a close button and a pin button (assuming that you have left the PinButtonVisibility and the CloseButtonVisibility set to Visible (which they are by default). Or do you mean that you are running some customized version of VS 2010 (e.g. powertool or something) which shows a pin button and close button in the TabItem of an unpinned pane? If so then you can retemplate the PaneTabItem (specifically the one whose key is PaneTabItem.UnpinnedTabItemTemplateKey) and add this yourself right now.
<igDock:XamDockManager.Resources> <BooleanToVisibilityConverter x:Key="BoolToVisConverter"/> <ControlTemplate x:Key="{x:Static igDock:PaneTabItem.UnpinnedTabItemTemplateKey}" TargetType="{x:Type igDock:PaneTabItem}"> <Border SnapsToDevicePixels="true"> <igWindows:CardPanel> <igWindows:CardPanel x:Name="Background"> <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto"> <!-- AS 1/6/10 TFS25270 - TemplateBind the background and borderbrush instead of setting here and in triggers for base color. --> <Border x:Name="OuterBorder" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True" BorderThickness="0,1,1,1"/> <Border x:Name="InnerBorder" Margin="0,1,1,1" BorderThickness="0,1,1,1" BorderBrush="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemHighlightFillKey}}" SnapsToDevicePixels="True"/> </Grid> </igWindows:CardPanel> <Border x:Name="Content" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}"> <DockPanel> <igWindows:AutoDisabledImage Visibility="{Binding Path=Pane.HasImage, RelativeSource={x:Static RelativeSource.TemplatedParent}, Converter={StaticResource BoolToVisConverter}}" DockPanel.Dock="Left" Margin="0,0,5,0" Stretch="None" Source="{Binding Path=Pane.Image, RelativeSource={x:Static RelativeSource.TemplatedParent}}" /> <Button x:Name="closeBtn" DockPanel.Dock="Right" Visibility="{Binding Path=Pane.CloseButtonVisibility, RelativeSource={RelativeSource TemplatedParent}}" Command="{x:Static igDock:ContentPaneCommands.Close}" CommandParameter="{TemplateBinding Pane}" CommandTarget="{TemplateBinding Pane}" Style="{DynamicResource {x:Static igDock:PaneHeaderPresenter.CloseButtonStyleKey}}" /> <Button x:Name="unpinBtn" DockPanel.Dock="Right" Visibility="{Binding Path=Pane.PinButtonVisibility, RelativeSource={RelativeSource TemplatedParent}}" Command="{x:Static igDock:ContentPaneCommands.TogglePinnedState}" CommandParameter="{TemplateBinding Pane}" CommandTarget="{TemplateBinding Pane}" Style="{DynamicResource {x:Static igDock:PaneHeaderPresenter.PinButtonStyleKey}}" /> <ContentPresenter x:Name="contentHeader" ContentSource="Header" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="true" HorizontalAlignment="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" VerticalAlignment="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" igWindows:ClippedTextToolTipService.ShowToolTipWhenClipped="True" igWindows:ClippedTextToolTipService.AncestorTypeForToolTip="{x:Type ContentControl}" igWindows:ClippedTextToolTipService.ToolTipStyleKey="{x:Static igDock:XamDockManager.ToolTipStyleKey}" TextElement.Foreground="{DynamicResource {x:Static igDock:DockManagerBrushKeys.ThemeColorTextFillKey}}" /> </DockPanel> </Border> </igWindows:CardPanel> </Border> <ControlTemplate.Triggers> <Trigger Property="IsMouseOverTab" Value="True"> <!-- AS 1/6/10 TFS25270 Duplicate setter <Setter Property="Background" TargetName="OuterBorder" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemHottrackOuterBorderFillKey}}" />--> <Setter Property="BorderBrush" TargetName="InnerBorder" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemHottrackHighlightFillKey}}" /> <!-- AS 1/6/10 TFS25270 Moved to style trigger <Setter Property="Background" TargetName="OuterBorder" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemLeftHottrackCenterFillKey}}" />--> <Setter TargetName="contentHeader" Property="TextElement.Foreground" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.TabbedListNotActiveTextFillKey}}" /> </Trigger> <Trigger Property="TabStripPlacement" Value="Top"> <Setter Property="Padding" Value="3,4,4,3" /> <Setter Property="Margin" Value="-1,0,0,0" /> <!-- AS 1/6/10 TFS25270 Moved to style trigger <Setter TargetName="OuterBorder" Property="Background" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemTopCenterFillKey}}" />--> <Setter TargetName="OuterBorder" Property="BorderThickness" Value="1,1,1,0"/> <Setter TargetName="InnerBorder" Property="BorderThickness" Value="1,1,1,0"/> <Setter TargetName="InnerBorder" Property="Margin" Value="1,1,1,0"/> </Trigger> <Trigger Property="TabStripPlacement" Value="Bottom"> <Setter Property="Padding" Value="3,4,4,4" /> <Setter Property="Margin" Value="-1,0,0,0" /> <!-- AS 1/6/10 TFS25270 Moved to style trigger <Setter TargetName="OuterBorder" Property="Background" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemBottomCenterFillKey}}" />--> <Setter TargetName="OuterBorder" Property="BorderThickness" Value="1,0,1,1"/> <Setter TargetName="InnerBorder" Property="BorderThickness" Value="1,0,1,1"/> <Setter TargetName="InnerBorder" Property="Margin" Value="1,0,1,1"/> </Trigger> <Trigger Property="TabStripPlacement" Value="Left"> <Setter Property="Padding" Value="4,5,4,3" /> <Setter Property="Margin" Value="0,-1,0,0" /> <!-- AS 1/6/10 TFS25270 Moved to style trigger <Setter TargetName="OuterBorder" Property="Background" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemRightCenterFillKey}}" />--> <Setter TargetName="OuterBorder" Property="BorderThickness" Value="1,1,0,1"/> <Setter TargetName="InnerBorder" Property="BorderThickness" Value="1,1,0,1"/> <Setter TargetName="InnerBorder" Property="Margin" Value="1,1,0,1"/> <Setter Property="LayoutTransform" TargetName="Content"> <Setter.Value> <RotateTransform Angle="90" /> </Setter.Value> </Setter> </Trigger> <Trigger Property="TabStripPlacement" Value="Right"> <Setter Property="Padding" Value="4,5,4,3" /> <Setter Property="Margin" Value="0,-1,0,0" /> <Setter Property="LayoutTransform" TargetName="Content"> <Setter.Value> <RotateTransform Angle="90" /> </Setter.Value> </Setter> </Trigger> <Trigger Property="IsEnabled" Value="false"> <Setter Property="Foreground" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.GrayTextBrushKey}}" /> </Trigger> <!-- Hottrack for UnpinnedTabItems --> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsMouseOver" Value="True"/> <Condition Property="TabStripPlacement" Value="Top"/> </MultiTrigger.Conditions> <!-- AS 1/6/10 TFS25270 Removed TargetName="Border" so we use the template properties --> <Setter Property="Background" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemTopHottrackCenterFillKey}}" /> <Setter Property="BorderBrush" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemHottrackOuterBorderFillKey}}" /> </MultiTrigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsMouseOver" Value="True"/> <Condition Property="TabStripPlacement" Value="Bottom"/> </MultiTrigger.Conditions> <!-- AS 1/6/10 TFS25270 Removed TargetName="Border" so we use the template properties --> <Setter Property="Background" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemBottomHottrackCenterFillKey}}" /> <Setter Property="BorderBrush" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemHottrackOuterBorderFillKey}}" /> </MultiTrigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsMouseOver" Value="True"/> <Condition Property="TabStripPlacement" Value="Left"/> </MultiTrigger.Conditions> <!-- AS 1/6/10 TFS25270 Removed TargetName="Border" so we use the template properties --> <Setter Property="Background" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemRightHottrackCenterFillKey}}" /> <Setter Property="BorderBrush" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemHottrackOuterBorderFillKey}}" /> </MultiTrigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsMouseOver" Value="True"/> <Condition Property="TabStripPlacement" Value="Right"/> </MultiTrigger.Conditions> <!-- AS 1/6/10 TFS25270 Removed TargetName="Border" so we use the template properties --> <Setter Property="Background" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemLeftHottrackCenterFillKey}}" /> <Setter Property="BorderBrush" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemHottrackOuterBorderFillKey}}" /> </MultiTrigger> <!-- Hottrack for UnpinnedTabItems --> <!-- IsFirstInGroup = True --> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="igDock:UnpinnedTabItemPanel.IsFirstInGroup" Value="True" /> <Condition Property="TabStripPlacement" Value="Bottom" /> </MultiTrigger.Conditions> <Setter Property="Margin" Value="15,0,0,0" /> </MultiTrigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="igDock:UnpinnedTabItemPanel.IsFirstInGroup" Value="True" /> <Condition Property="TabStripPlacement" Value="Top" /> </MultiTrigger.Conditions> <Setter Property="Margin" Value="15,0,0,0" /> </MultiTrigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="igDock:UnpinnedTabItemPanel.IsFirstInGroup" Value="True" /> <Condition Property="TabStripPlacement" Value="Left" /> </MultiTrigger.Conditions> <Setter Property="Margin" Value="0,15,0,0" /> </MultiTrigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="igDock:UnpinnedTabItemPanel.IsFirstInGroup" Value="True" /> <Condition Property="TabStripPlacement" Value="Right" /> </MultiTrigger.Conditions> <Setter Property="Margin" Value="0,15,0,0" /> </MultiTrigger> </ControlTemplate.Triggers> </ControlTemplate> </igDock:XamDockManager.Resources>
<ControlTemplate x:Key="{x:Static igDock:PaneTabItem.UnpinnedTabItemTemplateKey}" TargetType="{x:Type igDock:PaneTabItem}"> <Border SnapsToDevicePixels="true"> <igWindows:CardPanel> <igWindows:CardPanel x:Name="Background"> <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto"> <!-- AS 1/6/10 TFS25270 - TemplateBind the background and borderbrush instead of setting here and in triggers for base color. --> <Border x:Name="OuterBorder" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True" BorderThickness="0,1,1,1"/> <Border x:Name="InnerBorder" Margin="0,1,1,1" BorderThickness="0,1,1,1" BorderBrush="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemHighlightFillKey}}" SnapsToDevicePixels="True"/> </Grid> </igWindows:CardPanel> <Border x:Name="Content" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}"> <DockPanel> <igWindows:AutoDisabledImage Visibility="{Binding Path=Pane.HasImage, RelativeSource={x:Static RelativeSource.TemplatedParent}, Converter={StaticResource BoolToVisConverter}}" DockPanel.Dock="Left" Margin="0,0,5,0" Stretch="None" Source="{Binding Path=Pane.Image, RelativeSource={x:Static RelativeSource.TemplatedParent}}" /> <Button x:Name="closeBtn" DockPanel.Dock="Right" Visibility="{Binding Path=Pane.CloseButtonVisibility, RelativeSource={RelativeSource TemplatedParent}}" Command="{x:Static igDock:ContentPaneCommands.Close}" CommandParameter="{TemplateBinding Pane}" CommandTarget="{TemplateBinding Pane}" Style="{DynamicResource {x:Static igDock:PaneHeaderPresenter.CloseButtonStyleKey}}" /> <Button x:Name="unpinBtn" DockPanel.Dock="Right" Visibility="{Binding Path=Pane.PinButtonVisibility, RelativeSource={RelativeSource TemplatedParent}}" Command="{x:Static igDock:ContentPaneCommands.TogglePinnedState}" CommandParameter="{TemplateBinding Pane}" CommandTarget="{TemplateBinding Pane}" Style="{DynamicResource {x:Static igDock:PaneHeaderPresenter.PinButtonStyleKey}}" />
<ContentPresenter x:Name="contentHeader" ContentSource="Header" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="true" HorizontalAlignment="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" VerticalAlignment="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" igWindows:ClippedTextToolTipService.ShowToolTipWhenClipped="True" igWindows:ClippedTextToolTipService.AncestorTypeForToolTip="{x:Type ContentControl}" igWindows:ClippedTextToolTipService.ToolTipStyleKey="{x:Static igDock:XamDockManager.ToolTipStyleKey}" TextElement.Foreground="{DynamicResource {x:Static igDock:DockManagerBrushKeys.ThemeColorTextFillKey}}" /> </DockPanel> </Border> </igWindows:CardPanel> </Border> <ControlTemplate.Triggers> <Trigger Property="IsMouseOverTab" Value="True"> <!-- AS 1/6/10 TFS25270 Duplicate setter <Setter Property="Background" TargetName="OuterBorder" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemHottrackOuterBorderFillKey}}" />--> <Setter Property="BorderBrush" TargetName="InnerBorder" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemHottrackHighlightFillKey}}" /> <!-- AS 1/6/10 TFS25270 Moved to style trigger <Setter Property="Background" TargetName="OuterBorder" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemLeftHottrackCenterFillKey}}" />--> <Setter TargetName="contentHeader" Property="TextElement.Foreground" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.TabbedListNotActiveTextFillKey}}" /> </Trigger> <Trigger Property="TabStripPlacement" Value="Top"> <Setter Property="Padding" Value="3,4,4,3" /> <Setter Property="Margin" Value="-1,0,0,0" /> <!-- AS 1/6/10 TFS25270 Moved to style trigger <Setter TargetName="OuterBorder" Property="Background" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemTopCenterFillKey}}" />--> <Setter TargetName="OuterBorder" Property="BorderThickness" Value="1,1,1,0"/> <Setter TargetName="InnerBorder" Property="BorderThickness" Value="1,1,1,0"/> <Setter TargetName="InnerBorder" Property="Margin" Value="1,1,1,0"/> </Trigger> <Trigger Property="TabStripPlacement" Value="Bottom"> <Setter Property="Padding" Value="3,4,4,4" /> <Setter Property="Margin" Value="-1,0,0,0" /> <!-- AS 1/6/10 TFS25270 Moved to style trigger <Setter TargetName="OuterBorder" Property="Background" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemBottomCenterFillKey}}" />--> <Setter TargetName="OuterBorder" Property="BorderThickness" Value="1,0,1,1"/> <Setter TargetName="InnerBorder" Property="BorderThickness" Value="1,0,1,1"/> <Setter TargetName="InnerBorder" Property="Margin" Value="1,0,1,1"/> </Trigger> <Trigger Property="TabStripPlacement" Value="Left"> <Setter Property="Padding" Value="4,5,4,3" /> <Setter Property="Margin" Value="0,-1,0,0" /> <!-- AS 1/6/10 TFS25270 Moved to style trigger <Setter TargetName="OuterBorder" Property="Background" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemRightCenterFillKey}}" />--> <Setter TargetName="OuterBorder" Property="BorderThickness" Value="1,1,0,1"/> <Setter TargetName="InnerBorder" Property="BorderThickness" Value="1,1,0,1"/> <Setter TargetName="InnerBorder" Property="Margin" Value="1,1,0,1"/> <Setter Property="LayoutTransform" TargetName="Content"> <Setter.Value> <RotateTransform Angle="90" /> </Setter.Value> </Setter> </Trigger> <Trigger Property="TabStripPlacement" Value="Right"> <Setter Property="Padding" Value="4,5,4,3" /> <Setter Property="Margin" Value="0,-1,0,0" /> <Setter Property="LayoutTransform" TargetName="Content"> <Setter.Value> <RotateTransform Angle="90" /> </Setter.Value> </Setter> </Trigger>
<Trigger Property="IsEnabled" Value="false"> <Setter Property="Foreground" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.GrayTextBrushKey}}" /> </Trigger>
<!-- Hottrack for UnpinnedTabItems --> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsMouseOver" Value="True"/> <Condition Property="TabStripPlacement" Value="Top"/> </MultiTrigger.Conditions> <!-- AS 1/6/10 TFS25270 Removed TargetName="Border" so we use the template properties --> <Setter Property="Background" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemTopHottrackCenterFillKey}}" /> <Setter Property="BorderBrush" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemHottrackOuterBorderFillKey}}" /> </MultiTrigger>
<MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsMouseOver" Value="True"/> <Condition Property="TabStripPlacement" Value="Bottom"/> </MultiTrigger.Conditions> <!-- AS 1/6/10 TFS25270 Removed TargetName="Border" so we use the template properties --> <Setter Property="Background" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemBottomHottrackCenterFillKey}}" /> <Setter Property="BorderBrush" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemHottrackOuterBorderFillKey}}" /> </MultiTrigger>
<MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsMouseOver" Value="True"/> <Condition Property="TabStripPlacement" Value="Left"/> </MultiTrigger.Conditions> <!-- AS 1/6/10 TFS25270 Removed TargetName="Border" so we use the template properties --> <Setter Property="Background" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemRightHottrackCenterFillKey}}" /> <Setter Property="BorderBrush" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemHottrackOuterBorderFillKey}}" /> </MultiTrigger>
<MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsMouseOver" Value="True"/> <Condition Property="TabStripPlacement" Value="Right"/> </MultiTrigger.Conditions> <!-- AS 1/6/10 TFS25270 Removed TargetName="Border" so we use the template properties --> <Setter Property="Background" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemLeftHottrackCenterFillKey}}" /> <Setter Property="BorderBrush" Value="{DynamicResource {x:Static igDock:DockManagerBrushKeys.UnpinnedTabItemHottrackOuterBorderFillKey}}" /> </MultiTrigger>
<!-- Hottrack for UnpinnedTabItems -->
<!-- IsFirstInGroup = True --> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="igDock:UnpinnedTabItemPanel.IsFirstInGroup" Value="True" /> <Condition Property="TabStripPlacement" Value="Bottom" /> </MultiTrigger.Conditions> <Setter Property="Margin" Value="15,0,0,0" /> </MultiTrigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="igDock:UnpinnedTabItemPanel.IsFirstInGroup" Value="True" /> <Condition Property="TabStripPlacement" Value="Top" /> </MultiTrigger.Conditions> <Setter Property="Margin" Value="15,0,0,0" /> </MultiTrigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="igDock:UnpinnedTabItemPanel.IsFirstInGroup" Value="True" /> <Condition Property="TabStripPlacement" Value="Left" /> </MultiTrigger.Conditions> <Setter Property="Margin" Value="0,15,0,0" /> </MultiTrigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="igDock:UnpinnedTabItemPanel.IsFirstInGroup" Value="True" /> <Condition Property="TabStripPlacement" Value="Right" /> </MultiTrigger.Conditions> <Setter Property="Margin" Value="0,15,0,0" /> </MultiTrigger> </ControlTemplate.Triggers> </ControlTemplate>
</igDock:XamDockManager.Resources>
Or you could use a custom TabHeaderTemplate such as the approach described here. This would probably be simpler.
kbenameur said: 2) have the hability to dock a floating window when we drag it on a docking area.