desktop4:FileExplorerContextMenus

Description

Registers items for the context menu of File Explorer.

Element Hierarchy

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

Syntax

<desktop4:FileExplorerContextMenus>
    desktop4:ItemType{0,10000}
</desktop4:FileExplorerContextMenus>

Key

{} specific range of occurrences

Child Elements

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

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

Namespace

http://schemas.microsoft.com/appx/manifest/desktop/windows10/4