desktop4:FileExplorerContextMenus
Registers items for the context menu of File Explorer.
Element hierarchy
<desktop4:FileExplorerContextMenus>
Syntax
<desktop4:FileExplorerContextMenus>
desktop4:ItemType{0,10000}
desktop5:ItemType{0,10000}
</desktop4:FileExplorerContextMenus>
Key
{}
specific range of occurrences
Attributes and elements
Attributes
None.
Child elements
Child element | Description |
---|---|
desktop4:ItemType (Windows 10, version 1803) | Contains the type of command to be registered in the context menu. |
desktop5:ItemType (Windows 10, version 1809 and later) | 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. |
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.
Requirements
Item | Value |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/desktop/windows10/4 |
Minimum OS Version | Windows 10 version 1803 (Build 17134) |