IT.Tangdao.Xaml
0.0.4
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Framework 4.6.1
This package targets .NET Framework 4.6.1. The package is compatible with this framework or higher.
dotnet add package IT.Tangdao.Xaml --version 0.0.4
NuGet\Install-Package IT.Tangdao.Xaml -Version 0.0.4
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="IT.Tangdao.Xaml" Version="0.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IT.Tangdao.Xaml" Version="0.0.4" />
<PackageReference Include="IT.Tangdao.Xaml" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add IT.Tangdao.Xaml --version 0.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: IT.Tangdao.Xaml, 0.0.4"
#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.
#:package IT.Tangdao.Xaml@0.0.4
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=IT.Tangdao.Xaml&version=0.0.4
#tool nuget:?package=IT.Tangdao.Xaml&version=0.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
1、附加属性
1、将Win11的圆角界面改为Win10的直角界面
xmlns:td="clr-namespace:IT.Tangdao.Xaml;assembly=IT.Tangdao.Xaml"
td:WindowCornerPreference.CornerPreference="DWMWCP_DONOTROUND"
2、可以指定关闭界面的放大缩小按钮和全部按钮
xmlns:tdAttached="clr-namespace:IT.Tangdao.Xaml.Attached;assembly=IT.Tangdao.Xaml"
tdAttached:WindowButtonAttach.HideMinMaxButtons="True"
tdAttached:WindowButtonAttach.HideAllButtons="True"
3、对于密码框的绑定
tdAttach:PasswordAttach.Attach="True"
tdAttach:PasswordAttach.Password="{Binding Password,UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}"
4、一键全灭Button
可以规定写在指定的控件,那么视觉树向下查找,锁定所有的Button,设置IsEnabled为false
td:ButtonKillSwitch.IsApplied="True"
5、自动生成排序标签
xmlns:converter="clr-namespace:IT.Tangdao.Xaml.Converters;assembly=IT.Tangdao.Xaml"
<TextBlock Text="{converter:Index}" />
<TextBlock Text="{converter:Index}" />
<TextBlock Text="{converter:Index}" />
<TextBlock Text="{converter:Index}" />
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
| .NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 is compatible. net472 was computed. net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.6.1
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.39)
-
.NETFramework 4.7.1
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.39)
-
.NETFramework 4.8
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.39)
-
net6.0-windows7.0
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.39)
- System.Drawing.Common (>= 9.0.0)
-
net8.0-windows7.0
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.39)
- System.Drawing.Common (>= 9.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.