Closed jithurjacob closed 8 years ago
Have you got .ShowDefaultCloseButton
button set?
Yes
<Window x:Class="Wpf_test.tab_test" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:Wpf_test" xmlns:domain="clr-namespace:Wpf_test.Domain" xmlns:dragablz="clr-namespace:Dragablz;assembly=Dragablz" mc:Ignorable="d" Title="tab_test" Height="300" Width="300">
Hi .ShowDefaultCloseButton
will also need to be set on your UserControl2/second Window....you sure this is being applied? As this should be working.
Is this an issue still? If so, post a repo please. Otherwise I'll close.
I was to able to solve this. Thank you
How did you fix it im encountering the same issue?
I want first tab of the tabcontrol should not have the close button. How could I implement it?
You can have a look on below code:
`
@babin1988 FixedHeaderCount
I was to able to solve this. Thank you
How?
Hi I'm developing an application in WPF C# where I use Material Design and dragablz. I don't need features like docking I've disabled InterTabController as I'm using dragablz inside a user component.
public INewTabHost GetNewHost(IInterTabClient interTabClient, object partition, TabablzControl source)
{
var view = new UserControl2();
var model = new BoundExampleModel();
view.DataContext = model;
return new NewTabHost(view, view.InitialTabablzControl);
}
Here view can only be a window. The Issue I'm facing is I'm not getting close button with tabs (add button is working)