desktop2:DesktopPropertyHandler

Enables declaration of a property handler for a file type association.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <uap:Extension>

                        <uap:FileTypeAssociation>

                             <desktop2:DesktopPropertyHandler>

Syntax

<desktop2:DesktopPropertyHandler
  Clsid = 'A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'
  ManualSafeSave = 'An optional boolean value.'
  EnableShareDenyNone = 'An optional boolean value.'
  EnableShareDenyWrite = 'An optional boolean value.'
  NoOplock = 'An optional boolean value.' />   

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Clsid The ID of the class in the app's package. A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. Yes
ManualSafeSave Sets STGM_TRANSACTED (true = off). An optional boolean value. No
EnableShareDenyNone Sets STGM_SHARE_DENY_NONE. An optional boolean value. No
EnableShareDenyWrite Sets STGM_SHARE_DENY_WRITE. An optional boolean value. No
NoOplock Disables oplock logic. This is used to close the file if another process attempts to access the file. An optional boolean value. No

Child elements

None.

Parent elements

Parent element Description
uap:FileTypeAssociation Declares an app extensibility point of type windows.fileTypeAssociation. A file type association indicates that the app is registered to handle files of the specified types.

Remarks

Note that the Clsid attribute from PropertyHandler must match the ID attribute under the Class element in the SurrogateServer element from the COM registration in the app manifest.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/desktop/windows10/2
Minimum OS Version Windows 10 version 1703 (Build 15063)