|
@@ -118,8 +118,8 @@
|
|
|
</Thumb>
|
|
|
<TextBlock x:Name="ChangeIcon" Grid.Column="1" Width="5" Margin="3,4,2,0" HorizontalAlignment="Left" VerticalAlignment="Top" IsHitTestVisible="False" Text="*" Visibility="{Binding FileChanged}" />
|
|
|
|
|
|
- <Button Grid.Column="2" Width="16" Height="16" Margin="0,4,8,4" Background="Transparent" BorderThickness="0" Command="{x:Static dragablz:TabablzControl.CloseItemCommand}"
|
|
|
- CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}" Template="{StaticResource CloseFileButton}">
|
|
|
+ <Button Grid.Column="2" Width="16" Height="16" Margin="0,4,8,4" Background="Transparent" BorderThickness="0" Command="{Binding DataContext.CloseTabCommand, RelativeSource={RelativeSource AncestorType=TabControl}}"
|
|
|
+ CommandParameter="{Binding}" Template="{StaticResource CloseFileButton}">
|
|
|
</Button>
|
|
|
</Grid>
|
|
|
</Border>
|