Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

desktop4:FileExplorerContextMenus

Registers items for the context menu of File Explorer.

Element hierarchy

<Package>
   └─ <Applications>
      └─ <Application>
         └─ <Extensions>
            └─ <desktop4:Extension>
               └─ <desktop4:FileExplorerContextMenus>

Syntax

<desktop4:FileExplorerContextMenus>

 <!-- Child elements -->
 desktop4:ItemType{0,10000}
 desktop4:ItemType{0,10000}
 desktop4:ItemType{0,10000}

</desktop4:FileExplorerContextMenus>

Key

{} specific range of occurrences

Attributes

None.

Child elements

Child element Description
desktop4:ItemType Contains the type of command to be registered in the context menu.
desktop5:ItemType Contains the type of command to be registered in the context menu.
desktop10:ItemType Contains the type of command to be registered in the context menu.

Parent elements

Parent element Description
desktop4:Extension Declares an extensibility point for the app.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/desktop/windows10/4
Minimum OS Version Windows 10 version 1803 (Build 17134)

Remarks

Use this element to register a context menu handler that is implemented by your desktop application. For more information about how to use this element to register a context menu handler in a packaged desktop application, see Specify a context menu handler for a file type.

For a code sample that demonstrates how to implement a context menu handler by implementing the IExplorerCommand and IExplorerCommandState interfaces, see the ExplorerCommandVerb code sample.

Examples


Feedback

Was this page helpful?

Additional resources