WinUICommunity.ContextMenuExtensions 5.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package WinUICommunity.ContextMenuExtensions --version 5.5.0                
NuGet\Install-Package WinUICommunity.ContextMenuExtensions -Version 5.5.0                
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="WinUICommunity.ContextMenuExtensions" Version="5.5.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WinUICommunity.ContextMenuExtensions --version 5.5.0                
#r "nuget: WinUICommunity.ContextMenuExtensions, 5.5.0"                
#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 WinUICommunity.ContextMenuExtensions as a Cake Addin
#addin nuget:?package=WinUICommunity.ContextMenuExtensions&version=5.5.0

// Install WinUICommunity.ContextMenuExtensions as a Cake Tool
#tool nuget:?package=WinUICommunity.ContextMenuExtensions&version=5.5.0                

<p align="center"> <a href="https://github.com/WinUICommunity"> <img alt="projects" src="https://img.shields.io/badge/WinUICommunity-Projects-green"></img> </a> <a href="https://www.nuget.org/profiles/WinUICommunity"> <img alt="WinuiCommunity Nugets" src="https://img.shields.io/badge/WinUICommunity-Nugets-green"></img> </a> <a href="https://www.nuget.org/packages/WinUICommunity.ContextMenuExtensions"> <img alt="nuget-version" src="https://img.shields.io/nuget/v/WinUICommunity.ContextMenuExtensions.svg"></img> </a> <a href="https://www.nuget.org/packages/WinUICommunity.ContextMenuExtensions"> <img alt="Installed" src="https://img.shields.io/nuget/dt/WinUICommunity.ContextMenuExtensions?color=brightgreen&label=Installs"></img> </a> <a href="https://ghost1372.github.io/winUICommunity/"> <img alt="Docs" src="https://img.shields.io/badge/Document-Here-critical"></img> </a> </p>

<br> <p align="center"> <b>🙌 Donate Bitcoin with <a href="https://link.trustwallet.com/send?coin=0&address=bc1qzs4kt4aeqym6gsde669g5rksv4swjhzjqqp23a">Trust</a>🙌</b><br> <b>🙌 Donate ETH with <a href="https://link.trustwallet.com/send?coin=60&address=0x40Db4476c1D498b167f76A2c7ED9D45b65eb5d0C">Trust</a>🙌</b><br><br> <b>🙌 Bitcoin: bc1qzs4kt4aeqym6gsde669g5rksv4swjhzjqqp23a<br></b> <b>🙌 ETH: 0x40Db4476c1D498b167f76A2c7ED9D45b65eb5d0C</b> </p> <br>

ContextMenuExtensions

add a new ContextMenu for Windows 11/10.

Install-Package WinUICommunity.ContextMenuExtensions

After installing, add the following codes to Package.appxmanifest

<Extensions>
    <desktop4:Extension Category="windows.fileExplorerContextMenus">
        <desktop4:FileExplorerContextMenus>
            <desktop5:ItemType Type="Directory"  >
                <desktop5:Verb Id="CustomMenu" Clsid="3EB53D8C-1221-451F-80AE-50E5B67E42DF" />
            </desktop5:ItemType>
            <desktop5:ItemType Type="*"  >
                <desktop5:Verb Id="CustomMenu" Clsid="3EB53D8C-1221-451F-80AE-50E5B67E42DF" />
            </desktop5:ItemType>
            <desktop5:ItemType Type="Directory\Background">
                <desktop5:Verb Id="CustomMenu" Clsid="3EB53D8C-1221-451F-80AE-50E5B67E42DF" />
            </desktop5:ItemType>
        </desktop4:FileExplorerContextMenus>
    </desktop4:Extension>
    <com:Extension Category="windows.comServer">
        <com:ComServer>
            <com:SurrogateServer  DisplayName="Custome Context Menu">
                <com:Class Id="3EB53D8C-1221-451F-80AE-50E5B67E42DF" Path="ContextMenuCustomHost.dll" ThreadingModel="STA"/>
            </com:SurrogateServer>
        </com:ComServer>
    </com:Extension>
    <uap3:Extension Category="windows.appExecutionAlias">
        <uap3:AppExecutionAlias>
            <desktop:ExecutionAlias Alias="App5.exe"/>
        </uap3:AppExecutionAlias>
    </uap3:Extension>
</Extensions>

change App5.exe to your project name.

read the docs to see how to use it

Namespace

We moved all namespaces into a single namespace. No matter which (WinUICommunity) library you use, the namespace is always as follows For use in the Xaml:

xmlns:wuc="using:WinUICommunity"

For use in the Csharp:

using WinUICommunity;

Documentation

See Here for Online Documentation

Product Compatible and additional computed target framework versions.
.NET net6.0-windows10.0.17763 is compatible.  net6.0-windows10.0.19041 is compatible.  net7.0-windows was computed.  net7.0-windows10.0.17763 is compatible.  net7.0-windows10.0.19041 is compatible.  net8.0-windows was computed.  net8.0-windows10.0.17763 is compatible.  net8.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.1.0 81 11/19/2024
7.0.0 113 11/13/2024
7.0.0-Preview4 95 10/19/2024
7.0.0-Preview2 74 10/5/2024
7.0.0-Preview1 78 9/25/2024
6.9.0 444 6/12/2024
6.8.0 219 5/5/2024
6.7.0 187 4/13/2024
6.6.0 197 3/15/2024
6.5.0 235 3/1/2024
6.4.0 293 2/15/2024
6.3.0 349 1/25/2024
6.2.0 296 1/23/2024
6.1.0 381 1/20/2024
6.0.0 493 12/29/2023
5.5.0 590 11/20/2023
5.4.0 466 11/19/2023
5.3.0 505 10/12/2023
5.2.0 617 9/22/2023
5.1.1 575 9/18/2023
5.1.0 582 9/4/2023
5.0.2 613 7/30/2023
5.0.1 615 7/30/2023
5.0.0 612 7/30/2023