uap4:Font

Specifies the font file packaged with the app.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <uap4:Extension>

                        <uap4:SharedFonts>

                             <uap4:Font>

Syntax

<uap4:Font
  File = 'A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.' />

Attributes and elements

Attributes

Attribute Description Data type Required Default value
File The name of the font file, packaged with the app. A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *. Yes

Child elements

None.

Parent elements

Parent element Description
uap4:SharedFonts Contains the locations of custom fonts to be shared with other apps. For more information about this extension, see this article.

Requirements

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