Hello,
i would like to have RadTabControl with empty TabItem. I tried to set empty border but there is still 2pixel weight horizontal lines - see attached image. Here is my style:
<Style x:Key="RoundPanel-View" TargetType="tlrNavigation:RadTabControl">
<Setter Property="VerticalAlignment" Value="Bottom" />
<Setter Property="DropDownDisplayMode" Value="Visible" />
<Setter Property="ScrollMode" Value="Viewport" />
<Setter Property="BackgroundVisibility" Value="Collapsed" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="BorderBrush" Value="Transparent" />
</Style>
TabItem i created programmaticaly without any content:
RadTabItem ti = new RadTabItem() {
Padding = new Thickness(4, 1, 4, 1),
DropDownContent = view.ToString(),
Header = new TextBlock() {
Text = view.ToString(),
Margin = new Thickness(19, 2, 19, 0)
},
BorderThickness = new Thickness(0),
Tag = view
};
views.Items.Add(ti);
Is it possible to have totally collapsed Content Are? Thanks for any advices.
Jozef
i would like to have RadTabControl with empty TabItem. I tried to set empty border but there is still 2pixel weight horizontal lines - see attached image. Here is my style:
<Style x:Key="RoundPanel-View" TargetType="tlrNavigation:RadTabControl">
<Setter Property="VerticalAlignment" Value="Bottom" />
<Setter Property="DropDownDisplayMode" Value="Visible" />
<Setter Property="ScrollMode" Value="Viewport" />
<Setter Property="BackgroundVisibility" Value="Collapsed" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="BorderBrush" Value="Transparent" />
</Style>
TabItem i created programmaticaly without any content:
RadTabItem ti = new RadTabItem() {
Padding = new Thickness(4, 1, 4, 1),
DropDownContent = view.ToString(),
Header = new TextBlock() {
Text = view.ToString(),
Margin = new Thickness(19, 2, 19, 0)
},
BorderThickness = new Thickness(0),
Tag = view
};
views.Items.Add(ti);
Is it possible to have totally collapsed Content Are? Thanks for any advices.
Jozef