Skip to content

Commit

Permalink
Add new Windows Forms specific props
Browse files Browse the repository at this point in the history
  • Loading branch information
RussKie committed Sep 17, 2021
1 parent 6eb3976 commit a9f6b04
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/MSBuild/MSBuild/Microsoft.Build.CommonTypes.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1171,6 +1171,25 @@ elementFormDefault="qualified">
</xs:simpleType>
</xs:element>
<xs:element name="AppConfigForCompiler" type="msb:StringPropertyType" substitutionGroup="msb:Property"/>
<xs:element name="ApplicationDefaultFont" type="msb:StringPropertyType" substitutionGroup="msb:Property">
<xs:annotation>
<xs:documentation><!-- _locID_text="ApplicationDefaultFont" _locComment="" -->Customizes the application default font. The format equivalent to the output of FontConverter.ConvertToInvariantString(). Applies only to Windows Forms projects.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ApplicationHighDpiMode" substitutionGroup="msb:Property">
<xs:annotation>
<xs:documentation><!-- _locID_text="ApplicationHighDpiMode" _locComment="" -->Customizes the application DPI awareness mode. Applies only to Windows Forms projects.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="SystemAware" />
<xs:enumeration value="PerMonitorV2" />
<xs:enumeration value="PerMonitor" />
<xs:enumeration value="DpiUnaware" />
<xs:enumeration value="DpiUnawareGdiScaled" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ApplicationIcon" type="msb:StringPropertyType" substitutionGroup="msb:Property"/>
<xs:element name="ApplicationRevision" type="msb:StringPropertyType" substitutionGroup="msb:Property">
<xs:annotation>
Expand All @@ -1182,6 +1201,16 @@ elementFormDefault="qualified">
<xs:documentation><!-- _locID_text="ApplicationVersion" _locComment="" -->Matches the expression "\d\.\d\.\d\.(\d|\*)"</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ApplicationUseCompatibleTextRendering" type="msb:boolean" substitutionGroup="msb:Property">
<xs:annotation>
<xs:documentation><!-- _locID_text="ApplicationUseCompatibleTextRendering" _locComment="" -->Indicates whether to set UseCompatibleTextRendering property defined on certain controls (boolean). Applies only to Windows Forms projects.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ApplicationVisualStyles" type="msb:boolean" substitutionGroup="msb:Property">
<xs:annotation>
<xs:documentation><!-- _locID_text="ApplicationVisualStyles" _locComment="" -->Indicates whether to enable or disable visual styles (boolean). Applies only to Windows Forms projects.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AppDesignerFolder" type="msb:StringPropertyType" substitutionGroup="msb:Property">
<xs:annotation>
<xs:documentation><!-- _locID_text="AppDesignerFolder" _locComment="" -->Name of folder for Application Designer</xs:documentation>
Expand Down

0 comments on commit a9f6b04

Please sign in to comment.