ThingLing.WPF.Controls.TabControl
1.0.1
dotnet add package ThingLing.WPF.Controls.TabControl --version 1.0.1
NuGet\Install-Package ThingLing.WPF.Controls.TabControl -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ThingLing.WPF.Controls.TabControl" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ThingLing.WPF.Controls.TabControl --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ThingLing.WPF.Controls.TabControl, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ThingLing.WPF.Controls.TabControl as a Cake Addin
#addin nuget:?package=ThingLing.WPF.Controls.TabControl&version=1.0.1
// Install ThingLing.WPF.Controls.TabControl as a Cake Tool
#tool nuget:?package=ThingLing.WPF.Controls.TabControl&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Defination:
This tabcontrol is built from a UserControl.
Usage:
from xaml:
xmlns:tab="clr-namespace:ThingLing.Controls;assembly=ThingLing.Controls.TabControl"
Default TabMode=Document
<tab:TabControl x:Name="_tabControl" />
<tab:TabControl x:Name="_tabControl" TabMode="Document" />
or
<tab:TabControl x:Name="_tabControl" TabMode="Window" />
from code:
using ThingLing.Controls;
TabControl tabControl = new TabControl();
grid.Children.Add(tabControl);
to add a TabItem:
var tabItem = new TabItem
{
Header = $"Hello RichTextBox {++i}",
Content = new TextBox { Text = $"Helloo {i}", TextWrapping = TextWrapping.Wrap },
ToolTip = $"RichTextBox {i}"
};
_tabControl.Add(tabItem);
properties:
TabMode
TabStripPlacementSide
TabItemRotationAngle
TabItemsCount
SelectedTabItem
Theme
CollapseVisibilityWhenEmpty
AlwaysVisible
HideNewTabButton
HideOpenTabsButton
methods:
Add(TabItem tabItem)
Remove(TabItem tabItem)
RemoveAt(int tabIndex)
RemoveAll()
events:
TabItemAdded
TabItemRemoved
NewTabItemButtonClicked
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0-windows7.0 is compatible. net6.0-windows was computed. net7.0-windows was computed. net8.0-windows was computed. |
.NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.5.2
- No dependencies.
-
net5.0-windows7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.