TqkLibrary.Wpf.Interop.DirectX
1.1.17
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Framework 4.6.2
This package targets .NET Framework 4.6.2. The package is compatible with this framework or higher.
dotnet add package TqkLibrary.Wpf.Interop.DirectX --version 1.1.17
NuGet\Install-Package TqkLibrary.Wpf.Interop.DirectX -Version 1.1.17
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="TqkLibrary.Wpf.Interop.DirectX" Version="1.1.17" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TqkLibrary.Wpf.Interop.DirectX" Version="1.1.17" />
<PackageReference Include="TqkLibrary.Wpf.Interop.DirectX" />
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 TqkLibrary.Wpf.Interop.DirectX --version 1.1.17
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TqkLibrary.Wpf.Interop.DirectX, 1.1.17"
#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 TqkLibrary.Wpf.Interop.DirectX@1.1.17
#: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=TqkLibrary.Wpf.Interop.DirectX&version=1.1.17
#tool nuget:?package=TqkLibrary.Wpf.Interop.DirectX&version=1.1.17
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TqkLibrary.Wpf.Interop.DirectX
WPFDXInterop but P/Invoke version for Net5 or higher.
Get it on Nuget or Release. See the full Changelog.
Sample code
Same as WPFDXInterop but different namespace.
<Window x:Class="WpfApplication.MainWindow"
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:WpfApplication"
mc:Ignorable="d"
xmlns:DXExtensions="clr-namespace:TqkLibrary.Wpf.Interop.DirectX;assembly=TqkLibrary.Wpf.Interop.DirectX"
Title="MainWindow" Height="350" Width="525">
<Grid>
<Image>
<Image.Source>
<DXExtensions:D3D11Image x:Name="InteropImage"/>
</Image.Source>
</Image>
</Grid>
</Window>
Note: Make sure set your project build target to x86 or x64
Require: C++ 14 (install vc_redist 2015 x86/x64 or higher)
LICENSE
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0-windows7.0 is compatible. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0-windows was computed. net7.0-windows7.0 is compatible. net8.0-windows was computed. net9.0-windows was computed. net10.0-windows was computed. |
| .NET Framework | net462 is compatible. 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.6.2
- No dependencies.
-
net5.0-windows7.0
- No dependencies.
-
net6.0-windows7.0
- No dependencies.
-
net7.0-windows7.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TqkLibrary.Wpf.Interop.DirectX:
| Package | Downloads |
|---|---|
|
TqkLibrary.Scrcpy.Wpf
my private lib |
GitHub repositories
This package is not used by any popular GitHub repositories.