desktop4:ItemType

Contains the type of command to be registered in the context menu.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <desktop4:Extension>

                        <desktop4:FileExplorerContextMenus>

                             <desktop4:ItemType>

Syntax

<desktop4:ItemType 
  Type = 'A string with a value between 1 and 64 characters in length that must begin with a period ("."), cannot have additional periods, and cannot contain these characters: <, >, :, ", /, \, |, ?. Can also be a wildcard "*" character.' >

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

</desktop4:ItemType>

Key

{}   specific range of occurrences

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Type The file type to associate the context menu handler with. A string with a value between 1 and 64 characters in length that must begin with a period (.), cannot have additional periods, and cannot contain these characters: <, >, :, ", /, \, |, ?. Can also be a wildcard * character. Yes

Child elements

Child element Description
desktop4:Verb Names and class IDs of the commands registered in the Shell for a file explorer context menu.

Parent elements

Parent element Description
desktop4:FileExplorerContextMenus Registers items for the context menu of File Explorer.

Remarks

For more information about this element, see the remarks for desktop4:FileExplorerContextMenus.

Requirements

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