split out margin and padding as XAML specific properties so Yoga doesn't try to muck with them. Also fix a couple of bugs

This commit is contained in:
Alexander Sklar 2021-09-23 18:06:42 -07:00
Родитель 07d4b49ede
Коммит 322cfb3352
11 изменённых файлов: 108 добавлений и 138 удалений

Просмотреть файл

@ -42,7 +42,7 @@ If you have questions about a scenario you don't see below, please [file an issu
## Text
```jsx
<TextBlock foreground="black" padding={20} margin={20}>
<TextBlock foreground="black" xamlPadding={20} xamlMargin={20}>
<Run text="hello world!"/>
<LineBreak />
<Italic>

Просмотреть файл

@ -57,21 +57,16 @@ Global
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Debug|Any CPU.ActiveCfg = Debug|Win32
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Debug|ARM.ActiveCfg = Debug|ARM
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Debug|ARM.Build.0 = Debug|ARM
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Debug|ARM.Deploy.0 = Debug|ARM
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Debug|ARM64.ActiveCfg = Debug|ARM64
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Debug|ARM64.Build.0 = Debug|ARM64
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Debug|ARM64.Deploy.0 = Debug|ARM64
@ -82,9 +77,6 @@ Global
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Debug|x86.Build.0 = Debug|Win32
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Debug|x86.Deploy.0 = Debug|Win32
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Release|Any CPU.ActiveCfg = Release|Win32
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Release|ARM.ActiveCfg = Release|ARM
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Release|ARM.Build.0 = Release|ARM
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Release|ARM.Deploy.0 = Release|ARM
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Release|ARM64.ActiveCfg = Release|ARM64
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Release|ARM64.Build.0 = Release|ARM64
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Release|ARM64.Deploy.0 = Release|ARM64
@ -95,8 +87,6 @@ Global
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Release|x86.Build.0 = Release|Win32
{E6A0B072-AB97-4FF3-85FD-E4B877EEB573}.Release|x86.Deploy.0 = Release|Win32
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|Any CPU.ActiveCfg = Debug|Win32
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|ARM.ActiveCfg = Debug|ARM
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|ARM.Build.0 = Debug|ARM
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|ARM64.ActiveCfg = Debug|ARM64
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|ARM64.Build.0 = Debug|ARM64
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|x64.ActiveCfg = Debug|x64
@ -104,8 +94,6 @@ Global
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|x86.ActiveCfg = Debug|Win32
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Debug|x86.Build.0 = Debug|Win32
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|Any CPU.ActiveCfg = Release|Win32
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|ARM.ActiveCfg = Release|ARM
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|ARM.Build.0 = Release|ARM
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|ARM64.ActiveCfg = Release|ARM64
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|ARM64.Build.0 = Release|ARM64
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x64.ActiveCfg = Release|x64
@ -113,8 +101,6 @@ Global
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x86.ActiveCfg = Release|Win32
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x86.Build.0 = Release|Win32
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|Any CPU.ActiveCfg = Debug|Win32
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|ARM.ActiveCfg = Debug|ARM
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|ARM.Build.0 = Debug|ARM
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|ARM64.ActiveCfg = Debug|ARM64
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|ARM64.Build.0 = Debug|ARM64
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|x64.ActiveCfg = Debug|x64
@ -122,8 +108,6 @@ Global
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|x86.ActiveCfg = Debug|Win32
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|x86.Build.0 = Debug|Win32
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|Any CPU.ActiveCfg = Release|Win32
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|ARM.ActiveCfg = Release|ARM
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|ARM.Build.0 = Release|ARM
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|ARM64.ActiveCfg = Release|ARM64
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|ARM64.Build.0 = Release|ARM64
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|x64.ActiveCfg = Release|x64
@ -131,8 +115,6 @@ Global
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|x86.ActiveCfg = Release|Win32
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Release|x86.Build.0 = Release|Win32
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|Any CPU.ActiveCfg = Debug|Win32
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|ARM.ActiveCfg = Debug|ARM
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|ARM.Build.0 = Debug|ARM
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|ARM64.ActiveCfg = Debug|ARM64
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|ARM64.Build.0 = Debug|ARM64
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|x64.ActiveCfg = Debug|x64
@ -140,8 +122,6 @@ Global
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|x86.ActiveCfg = Debug|Win32
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Debug|x86.Build.0 = Debug|Win32
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|Any CPU.ActiveCfg = Release|Win32
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|ARM.ActiveCfg = Release|ARM
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|ARM.Build.0 = Release|ARM
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|ARM64.ActiveCfg = Release|ARM64
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|ARM64.Build.0 = Release|ARM64
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x64.ActiveCfg = Release|x64
@ -149,8 +129,6 @@ Global
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.ActiveCfg = Release|Win32
{F7D32BD0-2749-483E-9A0D-1635EF7E3136}.Release|x86.Build.0 = Release|Win32
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|Any CPU.ActiveCfg = Debug|Win32
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.ActiveCfg = Debug|ARM
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM.Build.0 = Debug|ARM
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.ActiveCfg = Debug|ARM64
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|ARM64.Build.0 = Debug|ARM64
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x64.ActiveCfg = Debug|x64
@ -158,8 +136,6 @@ Global
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.ActiveCfg = Debug|Win32
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Debug|x86.Build.0 = Debug|Win32
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|Any CPU.ActiveCfg = Release|Win32
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.ActiveCfg = Release|ARM
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM.Build.0 = Release|ARM
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.ActiveCfg = Release|ARM64
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|ARM64.Build.0 = Release|ARM64
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x64.ActiveCfg = Release|x64
@ -167,8 +143,6 @@ Global
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.ActiveCfg = Release|Win32
{A62D504A-16B8-41D2-9F19-E2E86019E5E4}.Release|x86.Build.0 = Release|Win32
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|Any CPU.ActiveCfg = Debug|Win32
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.ActiveCfg = Debug|ARM
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM.Build.0 = Debug|ARM
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.ActiveCfg = Debug|ARM64
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|ARM64.Build.0 = Debug|ARM64
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x64.ActiveCfg = Debug|x64
@ -176,8 +150,6 @@ Global
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x86.ActiveCfg = Debug|Win32
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Debug|x86.Build.0 = Debug|Win32
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|Any CPU.ActiveCfg = Release|Win32
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|ARM.ActiveCfg = Release|ARM
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|ARM.Build.0 = Release|ARM
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|ARM64.ActiveCfg = Release|ARM64
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|ARM64.Build.0 = Release|ARM64
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x64.ActiveCfg = Release|x64
@ -185,8 +157,6 @@ Global
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x86.ActiveCfg = Release|Win32
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x86.Build.0 = Release|Win32
{0FF7027A-222C-4FFB-8F17-91D18BBAF7A8}.Debug|Any CPU.ActiveCfg = Debug|Win32
{0FF7027A-222C-4FFB-8F17-91D18BBAF7A8}.Debug|ARM.ActiveCfg = Debug|ARM
{0FF7027A-222C-4FFB-8F17-91D18BBAF7A8}.Debug|ARM.Build.0 = Debug|ARM
{0FF7027A-222C-4FFB-8F17-91D18BBAF7A8}.Debug|ARM64.ActiveCfg = Debug|ARM64
{0FF7027A-222C-4FFB-8F17-91D18BBAF7A8}.Debug|ARM64.Build.0 = Debug|ARM64
{0FF7027A-222C-4FFB-8F17-91D18BBAF7A8}.Debug|x64.ActiveCfg = Debug|x64
@ -194,8 +164,6 @@ Global
{0FF7027A-222C-4FFB-8F17-91D18BBAF7A8}.Debug|x86.ActiveCfg = Debug|Win32
{0FF7027A-222C-4FFB-8F17-91D18BBAF7A8}.Debug|x86.Build.0 = Debug|Win32
{0FF7027A-222C-4FFB-8F17-91D18BBAF7A8}.Release|Any CPU.ActiveCfg = Release|Win32
{0FF7027A-222C-4FFB-8F17-91D18BBAF7A8}.Release|ARM.ActiveCfg = Release|ARM
{0FF7027A-222C-4FFB-8F17-91D18BBAF7A8}.Release|ARM.Build.0 = Release|ARM
{0FF7027A-222C-4FFB-8F17-91D18BBAF7A8}.Release|ARM64.ActiveCfg = Release|ARM64
{0FF7027A-222C-4FFB-8F17-91D18BBAF7A8}.Release|ARM64.Build.0 = Release|ARM64
{0FF7027A-222C-4FFB-8F17-91D18BBAF7A8}.Release|x64.ActiveCfg = Release|x64
@ -204,8 +172,6 @@ Global
{0FF7027A-222C-4FFB-8F17-91D18BBAF7A8}.Release|x86.Build.0 = Release|Win32
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Debug|ARM.ActiveCfg = Debug|Any CPU
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Debug|ARM.Build.0 = Debug|Any CPU
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Debug|ARM64.Build.0 = Debug|Any CPU
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Debug|x64.ActiveCfg = Debug|Any CPU
@ -214,8 +180,6 @@ Global
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Debug|x86.Build.0 = Debug|Any CPU
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Release|Any CPU.Build.0 = Release|Any CPU
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Release|ARM.ActiveCfg = Release|Any CPU
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Release|ARM.Build.0 = Release|Any CPU
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Release|ARM64.ActiveCfg = Release|Any CPU
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Release|ARM64.Build.0 = Release|Any CPU
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Release|x64.ActiveCfg = Release|Any CPU
@ -223,8 +187,6 @@ Global
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Release|x86.ActiveCfg = Release|Any CPU
{5B4C219B-2178-4226-B5C1-DFAD6919790A}.Release|x86.Build.0 = Release|Any CPU
{60D4900D-89A0-403A-A2B7-D52EFBE11B0A}.Debug|Any CPU.ActiveCfg = Debug|Win32
{60D4900D-89A0-403A-A2B7-D52EFBE11B0A}.Debug|ARM.ActiveCfg = Debug|ARM
{60D4900D-89A0-403A-A2B7-D52EFBE11B0A}.Debug|ARM.Build.0 = Debug|ARM
{60D4900D-89A0-403A-A2B7-D52EFBE11B0A}.Debug|ARM64.ActiveCfg = Debug|ARM64
{60D4900D-89A0-403A-A2B7-D52EFBE11B0A}.Debug|ARM64.Build.0 = Debug|ARM64
{60D4900D-89A0-403A-A2B7-D52EFBE11B0A}.Debug|x64.ActiveCfg = Debug|x64
@ -233,8 +195,6 @@ Global
{60D4900D-89A0-403A-A2B7-D52EFBE11B0A}.Debug|x86.Build.0 = Debug|Win32
{60D4900D-89A0-403A-A2B7-D52EFBE11B0A}.Debug|x86.Deploy.0 = Debug|Win32
{60D4900D-89A0-403A-A2B7-D52EFBE11B0A}.Release|Any CPU.ActiveCfg = Release|Win32
{60D4900D-89A0-403A-A2B7-D52EFBE11B0A}.Release|ARM.ActiveCfg = Release|ARM
{60D4900D-89A0-403A-A2B7-D52EFBE11B0A}.Release|ARM.Build.0 = Release|ARM
{60D4900D-89A0-403A-A2B7-D52EFBE11B0A}.Release|ARM64.ActiveCfg = Release|ARM64
{60D4900D-89A0-403A-A2B7-D52EFBE11B0A}.Release|ARM64.Build.0 = Release|ARM64
{60D4900D-89A0-403A-A2B7-D52EFBE11B0A}.Release|x64.ActiveCfg = Release|x64

Просмотреть файл

@ -441,7 +441,9 @@ namespace Codegen
private static int CompareProps(SyntheticProperty p1, SyntheticProperty p2)
{
var c = p1.SimpleNameForJs.CompareTo(p2.SimpleNameForJs);
var realName1 = p1.SimpleNameForJs;
var realName2 = p2.SimpleNameForJs;
var c = realName1.CompareTo(realName2);
if (c != 0) return c;
var inheritanceDepthComp = Util.GetTypeInheritanceDepth(p1.DeclaringType).CompareTo(Util.GetTypeInheritanceDepth(p2.DeclaringType));
if (inheritanceDepthComp != 0) return inheritanceDepthComp;

Просмотреть файл

@ -16,8 +16,14 @@ namespace Codegen
public string SimpleNameForJs
{
get
{
if (Property != null && Util.IsDependencyProperty(Property))
{
var fullPropertyName = Property.DeclaringType.GetFullName() + "." + Property.GetName();
if (Util.propNameMap.TryGetValue(fullPropertyName, out string realName))
{
return realName;
}
else if (Property != null && Util.IsDependencyProperty(Property))
{
return Property.DeclaringType.GetName() + SimpleName;
}

Просмотреть файл

@ -18,7 +18,7 @@ namespace Codegen
/// Class to produce the template output
/// </summary>
#line 1 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 1 "F:\react-native-xaml\package\Codegen\TSProps.tt"
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.TextTemplating", "16.0.0.0")]
public partial class TSProps : TSPropsBase
{
@ -31,22 +31,22 @@ namespace Codegen
this.Write(@"import type { ViewProps, NativeSyntheticEvent, ColorValue } from 'react-native';
import type * as Enums from './Enums';
export type Thickness = number | { left: number, top: number, right: number, bottom: number };
export type Thickness = number | { left?: number, top?: number, right?: number, bottom?: number };
export type GridLength = number | '*' | 'auto' | `${number}*`;
export type CornerRadius = number | { topLeft: number, topRight: number, bottomLeft: number, bottomRight: number};
export type CornerRadius = number | { topLeft?: number, topRight?: number, bottomLeft?: number, bottomRight?: number};
");
#line 15 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 15 "F:\react-native-xaml\package\Codegen\TSProps.tt"
var derived = Util.GetDerivedTypes(Types);
foreach (var type in Types) {
#line default
#line hidden
#line 17 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 17 "F:\react-native-xaml\package\Codegen\TSProps.tt"
var ns = Util.GetTSNamespace(type);
if (ns != "") {
@ -54,35 +54,35 @@ if (ns != "") {
#line hidden
this.Write("export namespace Native");
#line 19 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 19 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(ns));
#line default
#line hidden
this.Write(" {\r\n");
#line 20 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 20 "F:\react-native-xaml\package\Codegen\TSProps.tt"
}
#line default
#line hidden
this.Write("export interface Native");
#line 21 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 21 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(Util.ToJsName(type)));
#line default
#line hidden
this.Write("Props extends ");
#line 21 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 21 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(Util.GetBaseClassProps(type)));
#line default
#line hidden
this.Write(" {\r\n");
#line 22 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 22 "F:\react-native-xaml\package\Codegen\TSProps.tt"
var typeProp = Util.GetJsTypeProperty(type, derived);
if (typeProp != "") {
@ -90,14 +90,14 @@ if (typeProp != "") {
#line hidden
this.Write(" type: ");
#line 24 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 24 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(typeProp));
#line default
#line hidden
this.Write(";\r\n");
#line 25 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 25 "F:\react-native-xaml\package\Codegen\TSProps.tt"
}
foreach (var prop in type.GetProperties().Where(p => Util.ShouldEmitPropertyMetadata(p))) {
@ -105,21 +105,21 @@ foreach (var prop in type.GetProperties().Where(p => Util.ShouldEmitPropertyMeta
#line hidden
this.Write(" ");
#line 27 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 27 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(Util.ToJsName(prop)));
#line default
#line hidden
this.Write("?: ");
#line 27 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 27 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(Util.GetTypeScriptType(prop)));
#line default
#line hidden
this.Write(";\r\n");
#line 28 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 28 "F:\react-native-xaml\package\Codegen\TSProps.tt"
}
foreach (var prop in FakeProps.Where(p => type == p.DeclaringType)) {
@ -127,21 +127,21 @@ foreach (var prop in FakeProps.Where(p => type == p.DeclaringType)) {
#line hidden
this.Write(" ");
#line 30 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 30 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(Util.ToJsName(prop)));
#line default
#line hidden
this.Write("?: ");
#line 30 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 30 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(Util.GetTypeScriptType(prop)));
#line default
#line hidden
this.Write("; // synthetic property\r\n");
#line 31 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 31 "F:\react-native-xaml\package\Codegen\TSProps.tt"
}
foreach (var prop in SyntheticProps.Where(p => type == p.DeclaringType)) {
@ -149,28 +149,28 @@ foreach (var prop in SyntheticProps.Where(p => type == p.DeclaringType)) {
#line hidden
this.Write(" /**\r\n * ");
#line 34 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 34 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(prop.Comment));
#line default
#line hidden
this.Write("\r\n */\r\n ");
#line 36 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 36 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(Util.ToJsName(prop.Name)));
#line default
#line hidden
this.Write("?: ");
#line 36 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 36 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(Util.GetTypeScriptType(prop)));
#line default
#line hidden
this.Write("; // synthetic property\r\n");
#line 37 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 37 "F:\react-native-xaml\package\Codegen\TSProps.tt"
}
foreach (var attachedDP in Util.AttachedProperties.Where(p => Properties.Any(sp => sp.Property == p && sp.DeclaringType == type))) {
@ -178,21 +178,21 @@ foreach (var prop in SyntheticProps.Where(p => type == p.DeclaringType)) {
#line hidden
this.Write(" ");
#line 39 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 39 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(Util.ToJsName(attachedDP)));
#line default
#line hidden
this.Write("?: ");
#line 39 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 39 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(Util.GetTypeScriptType(attachedDP)));
#line default
#line hidden
this.Write("; // attached property\r\n");
#line 40 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 40 "F:\react-native-xaml\package\Codegen\TSProps.tt"
}
foreach (var evt in type.GetEvents()) {
@ -200,14 +200,14 @@ foreach (var prop in SyntheticProps.Where(p => type == p.DeclaringType)) {
#line hidden
this.Write(" on");
#line 42 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 42 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(evt.GetName()));
#line default
#line hidden
this.Write("?: (event: NativeSyntheticEvent<undefined>) => void;\r\n");
#line 43 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 43 "F:\react-native-xaml\package\Codegen\TSProps.tt"
}
foreach (var evt in SyntheticEvents.Where(e => type == e.DeclaringType)) {
@ -215,48 +215,48 @@ foreach (var prop in SyntheticProps.Where(p => type == p.DeclaringType)) {
#line hidden
this.Write(" on");
#line 45 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 45 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(evt.Name));
#line default
#line hidden
this.Write("?: (event: NativeSyntheticEvent<");
#line 45 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 45 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(Util.GetTypeScriptType(evt)));
#line default
#line hidden
this.Write(">) => void;\r\n");
#line 46 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 46 "F:\react-native-xaml\package\Codegen\TSProps.tt"
}
#line default
#line hidden
this.Write("}\r\n");
#line 48 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 48 "F:\react-native-xaml\package\Codegen\TSProps.tt"
if (ns != "") {
#line default
#line hidden
this.Write("}\r\n");
#line 50 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 50 "F:\react-native-xaml\package\Codegen\TSProps.tt"
}
#line default
#line hidden
#line 51 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 51 "F:\react-native-xaml\package\Codegen\TSProps.tt"
}
#line default
#line hidden
this.Write("\r\nexport type XamlControlProps =");
#line 53 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 53 "F:\react-native-xaml\package\Codegen\TSProps.tt"
var first = true; foreach (var type in Types) {
if (Util.HasCtor(type) || !type.IsSealed) {
if (!first)
@ -265,7 +265,7 @@ foreach (var prop in SyntheticProps.Where(p => type == p.DeclaringType)) {
#line hidden
this.Write(" | ");
#line 55 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 55 "F:\react-native-xaml\package\Codegen\TSProps.tt"
;
first = false;
@ -275,14 +275,14 @@ foreach (var prop in SyntheticProps.Where(p => type == p.DeclaringType)) {
#line hidden
this.Write(" ");
#line 58 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 58 "F:\react-native-xaml\package\Codegen\TSProps.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(Util.GetNativePropsName(type)));
#line default
#line hidden
this.Write("\r\n\t");
#line 59 "C:\Users\asklar\source\repos\react-native-xaml\package\Codegen\TSProps.tt"
#line 59 "F:\react-native-xaml\package\Codegen\TSProps.tt"
}
}

Просмотреть файл

@ -6,11 +6,11 @@
import type { ViewProps, NativeSyntheticEvent, ColorValue } from 'react-native';
import type * as Enums from './Enums';
export type Thickness = number | { left: number, top: number, right: number, bottom: number };
export type Thickness = number | { left?: number, top?: number, right?: number, bottom?: number };
export type GridLength = number | '*' | 'auto' | `${number}*`;
export type CornerRadius = number | { topLeft: number, topRight: number, bottomLeft: number, bottomRight: number};
export type CornerRadius = number | { topLeft?: number, topRight?: number, bottomLeft?: number, bottomRight?: number};
<# var derived = Util.GetDerivedTypes(Types);
foreach (var type in Types) { #>

Просмотреть файл

@ -104,6 +104,8 @@
"$xaml.Input.KeyboardAccelerator.Key": "virtualKey",
"$xaml.Controls.Maps.MapControl.Style": "mapStyle",
"$xaml.FrameworkElement.Style": "styleKey",
"$xaml.FrameworkElement.Margin": "xamlMargin",
"$xaml.Controls.Control.Padding": "xamlPadding"
},
"typeMapping": [
{

Просмотреть файл

@ -1,7 +1,7 @@
{
"name": "react-native-xaml",
"title": "React Native Xaml",
"version": "0.0.40",
"version": "0.0.41",
"description": "Allows using XAML directly, inside of a React Native Windows app",
"main": "lib/index.js",
"typings": "lib/index.d.ts",

Просмотреть файл

@ -1,11 +1,11 @@
import type { ViewProps, NativeSyntheticEvent, ColorValue } from 'react-native';
import type * as Enums from './Enums';
export type Thickness = number | { left: number, top: number, right: number, bottom: number };
export type Thickness = number | { left?: number, top?: number, right?: number, bottom?: number };
export type GridLength = number | '*' | 'auto' | `${number}*`;
export type CornerRadius = number | { topLeft: number, topRight: number, bottomLeft: number, bottomRight: number};
export type CornerRadius = number | { topLeft?: number, topRight?: number, bottomLeft?: number, bottomRight?: number};
export namespace NativeWinUI {
export interface NativeAnimatedIconProps extends NativeIconElementProps {
@ -1301,7 +1301,7 @@ export interface NativeFrameworkElementProps extends NativeUIElementProps {
minHeight?: number;
maxWidth?: number;
maxHeight?: number;
margin?: Thickness;
xamlMargin?: Thickness;
language?: string;
horizontalAlignment?: Enums.HorizontalAlignment;
height?: number;
@ -1485,7 +1485,7 @@ export interface NativeControlProps extends NativeFrameworkElementProps {
'Windows.UI.Xaml.Controls.TreeViewItem' |
'Windows.UI.Xaml.Controls.TreeViewList' |
'Windows.UI.Xaml.Controls.TwoPaneView';
padding?: Thickness;
xamlPadding?: Thickness;
isTabStop?: boolean;
isEnabled?: boolean;
horizontalContentAlignment?: Enums.HorizontalAlignment;

Просмотреть файл

@ -484,8 +484,8 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("isEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::Control>, []() { return winrt::Windows::UI::Xaml::Controls::Control::IsEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isExpanded"), AsType<winrt::Microsoft::UI::Xaml::Controls::Expander>, []() { return winrt::Microsoft::UI::Xaml::Controls::Expander::IsExpandedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isExpanded"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationViewItem>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationViewItem::IsExpandedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isExpanded"), AsType<winrt::Microsoft::UI::Xaml::Controls::TreeViewItem>, []() { return winrt::Microsoft::UI::Xaml::Controls::TreeViewItem::IsExpandedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isExpanded"), AsType<winrt::Windows::UI::Xaml::Controls::TreeViewItem>, []() { return winrt::Windows::UI::Xaml::Controls::TreeViewItem::IsExpandedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isExpanded"), AsType<winrt::Microsoft::UI::Xaml::Controls::TreeViewItem>, []() { return winrt::Microsoft::UI::Xaml::Controls::TreeViewItem::IsExpandedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isExtensionGlyphShown"), AsType<winrt::Windows::UI::Xaml::Controls::InkToolbarMenuButton>, []() { return winrt::Windows::UI::Xaml::Controls::InkToolbarMenuButton::IsExtensionGlyphShownProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isExtensionGlyphShown"), AsType<winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton>, []() { return winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton::IsExtensionGlyphShownProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isFastForwardButtonVisible"), AsType<winrt::Windows::UI::Xaml::Controls::MediaTransportControls>, []() { return winrt::Windows::UI::Xaml::Controls::MediaTransportControls::IsFastForwardButtonVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
@ -507,14 +507,14 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("isHandwritingViewEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::TextBox>, []() { return winrt::Windows::UI::Xaml::Controls::TextBox::IsHandwritingViewEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isHeaderInteractive"), AsType<winrt::Windows::UI::Xaml::Controls::HubSection>, []() { return winrt::Windows::UI::Xaml::Controls::HubSection::IsHeaderInteractiveProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isHeaderItemsCarouselEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::Pivot>, []() { return winrt::Windows::UI::Xaml::Controls::Pivot::IsHeaderItemsCarouselEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isHexInputVisible"), AsType<winrt::Windows::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Windows::UI::Xaml::Controls::ColorPicker::IsHexInputVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isHexInputVisible"), AsType<winrt::Microsoft::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Microsoft::UI::Xaml::Controls::ColorPicker::IsHexInputVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isHexInputVisible"), AsType<winrt::Windows::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Windows::UI::Xaml::Controls::ColorPicker::IsHexInputVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isHitTestVisible"), AsType<winrt::Windows::UI::Xaml::UIElement>, []() { return winrt::Windows::UI::Xaml::UIElement::IsHitTestVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isHoldingEnabled"), AsType<winrt::Windows::UI::Xaml::UIElement>, []() { return winrt::Windows::UI::Xaml::UIElement::IsHoldingEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isHorizontalRailEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::ScrollViewer>, []() { return winrt::Windows::UI::Xaml::Controls::ScrollViewer::IsHorizontalRailEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isHorizontalScrollChainingEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::ScrollViewer>, []() { return winrt::Windows::UI::Xaml::Controls::ScrollViewer::IsHorizontalScrollChainingEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isHorizontalShiftClamped"), AsType<winrt::Microsoft::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Microsoft::UI::Xaml::Controls::ParallaxView::IsHorizontalShiftClampedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isHorizontalShiftClamped"), AsType<winrt::Windows::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Windows::UI::Xaml::Controls::ParallaxView::IsHorizontalShiftClampedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isHorizontalShiftClamped"), AsType<winrt::Microsoft::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Microsoft::UI::Xaml::Controls::ParallaxView::IsHorizontalShiftClampedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isIconVisible"), AsType<winrt::Microsoft::UI::Xaml::Controls::InfoBar>, []() { return winrt::Microsoft::UI::Xaml::Controls::InfoBar::IsIconVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isIndeterminate"), AsType<winrt::Microsoft::UI::Xaml::Controls::ProgressRing>, []() { return winrt::Microsoft::UI::Xaml::Controls::ProgressRing::IsIndeterminateProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isIndeterminate"), AsType<winrt::Windows::UI::Xaml::Controls::ProgressBar>, []() { return winrt::Windows::UI::Xaml::Controls::ProgressBar::IsIndeterminateProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
@ -539,20 +539,20 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("isOutOfScopeEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::CalendarDatePicker>, []() { return winrt::Windows::UI::Xaml::Controls::CalendarDatePicker::IsOutOfScopeEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isOutOfScopeEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::CalendarView>, []() { return winrt::Windows::UI::Xaml::Controls::CalendarView::IsOutOfScopeEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isPaneOpen"), AsType<winrt::Windows::UI::Xaml::Controls::SplitView>, []() { return winrt::Windows::UI::Xaml::Controls::SplitView::IsPaneOpenProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isPaneOpen"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::IsPaneOpenProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isPaneOpen"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::IsPaneOpenProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isPaneToggleButtonVisible"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::IsPaneToggleButtonVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isPaneOpen"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::IsPaneOpenProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isPaneToggleButtonVisible"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::IsPaneToggleButtonVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isPaneVisible"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::IsPaneVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isPaneToggleButtonVisible"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::IsPaneToggleButtonVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isPaneVisible"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::IsPaneVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isPaneVisible"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::IsPaneVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isPasswordRevealButtonEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::PasswordBox>, []() { return winrt::Windows::UI::Xaml::Controls::PasswordBox::IsPasswordRevealButtonEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isPlaybackRateButtonVisible"), AsType<winrt::Windows::UI::Xaml::Controls::MediaTransportControls>, []() { return winrt::Windows::UI::Xaml::Controls::MediaTransportControls::IsPlaybackRateButtonVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isPlaybackRateEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::MediaTransportControls>, []() { return winrt::Windows::UI::Xaml::Controls::MediaTransportControls::IsPlaybackRateEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isPreviousTrackButtonVisible"), AsType<winrt::Windows::UI::Xaml::Controls::MediaTransportControls>, []() { return winrt::Windows::UI::Xaml::Controls::MediaTransportControls::IsPreviousTrackButtonVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isPrimaryButtonEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::ContentDialog>, []() { return winrt::Windows::UI::Xaml::Controls::ContentDialog::IsPrimaryButtonEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isProtractorItemVisible"), AsType<winrt::Windows::UI::Xaml::Controls::InkToolbarStencilButton>, []() { return winrt::Windows::UI::Xaml::Controls::InkToolbarStencilButton::IsProtractorItemVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isReadOnly"), AsType<winrt::Windows::UI::Xaml::Controls::RatingControl>, []() { return winrt::Windows::UI::Xaml::Controls::RatingControl::IsReadOnlyProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isReadOnly"), AsType<winrt::Microsoft::UI::Xaml::Controls::RatingControl>, []() { return winrt::Microsoft::UI::Xaml::Controls::RatingControl::IsReadOnlyProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isReadOnly"), AsType<winrt::Windows::UI::Xaml::Controls::RatingControl>, []() { return winrt::Windows::UI::Xaml::Controls::RatingControl::IsReadOnlyProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isReadOnly"), AsType<winrt::Windows::UI::Xaml::Controls::RichEditBox>, []() { return winrt::Windows::UI::Xaml::Controls::RichEditBox::IsReadOnlyProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isReadOnly"), AsType<winrt::Windows::UI::Xaml::Controls::TextBox>, []() { return winrt::Windows::UI::Xaml::Controls::TextBox::IsReadOnlyProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isRepeatButtonVisible"), AsType<winrt::Windows::UI::Xaml::Controls::MediaTransportControls>, []() { return winrt::Windows::UI::Xaml::Controls::MediaTransportControls::IsRepeatButtonVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
@ -566,8 +566,8 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("isSeekEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::MediaTransportControls>, []() { return winrt::Windows::UI::Xaml::Controls::MediaTransportControls::IsSeekEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isSelected"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationViewItemBase>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationViewItemBase::IsSelectedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isSelected"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem::IsSelectedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isSettingsVisible"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::IsSettingsVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isSettingsVisible"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::IsSettingsVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isSettingsVisible"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::IsSettingsVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isSkipBackwardButtonVisible"), AsType<winrt::Windows::UI::Xaml::Controls::MediaTransportControls>, []() { return winrt::Windows::UI::Xaml::Controls::MediaTransportControls::IsSkipBackwardButtonVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isSkipBackwardEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::MediaTransportControls>, []() { return winrt::Windows::UI::Xaml::Controls::MediaTransportControls::IsSkipBackwardEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isSkipForwardButtonVisible"), AsType<winrt::Windows::UI::Xaml::Controls::MediaTransportControls>, []() { return winrt::Windows::UI::Xaml::Controls::MediaTransportControls::IsSkipForwardButtonVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
@ -602,8 +602,8 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("isTodayHighlighted"), AsType<winrt::Windows::UI::Xaml::Controls::CalendarView>, []() { return winrt::Windows::UI::Xaml::Controls::CalendarView::IsTodayHighlightedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isVerticalRailEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::ScrollViewer>, []() { return winrt::Windows::UI::Xaml::Controls::ScrollViewer::IsVerticalRailEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isVerticalScrollChainingEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::ScrollViewer>, []() { return winrt::Windows::UI::Xaml::Controls::ScrollViewer::IsVerticalScrollChainingEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isVerticalShiftClamped"), AsType<winrt::Microsoft::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Microsoft::UI::Xaml::Controls::ParallaxView::IsVerticalShiftClampedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isVerticalShiftClamped"), AsType<winrt::Windows::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Windows::UI::Xaml::Controls::ParallaxView::IsVerticalShiftClampedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isVerticalShiftClamped"), AsType<winrt::Microsoft::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Microsoft::UI::Xaml::Controls::ParallaxView::IsVerticalShiftClampedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isVolumeButtonVisible"), AsType<winrt::Windows::UI::Xaml::Controls::MediaTransportControls>, []() { return winrt::Windows::UI::Xaml::Controls::MediaTransportControls::IsVolumeButtonVisibleProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isVolumeEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::MediaTransportControls>, []() { return winrt::Windows::UI::Xaml::Controls::MediaTransportControls::IsVolumeEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isWrapEnabled"), AsType<winrt::Microsoft::UI::Xaml::Controls::NumberBox>, []() { return winrt::Microsoft::UI::Xaml::Controls::NumberBox::IsWrapEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
@ -616,8 +616,8 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("isZoomInertiaEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::ScrollViewer>, []() { return winrt::Windows::UI::Xaml::Controls::ScrollViewer::IsZoomInertiaEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("isZoomOutButtonEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::SemanticZoom>, []() { return winrt::Windows::UI::Xaml::Controls::SemanticZoom::IsZoomOutButtonEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("itemContainerStyle"), AsType<winrt::Windows::UI::Xaml::Controls::ItemsControl>, []() { return winrt::Windows::UI::Xaml::Controls::ItemsControl::ItemContainerStyleProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Style>, ViewManagerPropertyType::String },
{ MAKE_KEY("itemContainerStyle"), AsType<winrt::Microsoft::UI::Xaml::Controls::TreeView>, []() { return winrt::Microsoft::UI::Xaml::Controls::TreeView::ItemContainerStyleProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Style>, ViewManagerPropertyType::String },
{ MAKE_KEY("itemContainerStyle"), AsType<winrt::Windows::UI::Xaml::Controls::TreeView>, []() { return winrt::Windows::UI::Xaml::Controls::TreeView::ItemContainerStyleProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Style>, ViewManagerPropertyType::String },
{ MAKE_KEY("itemContainerStyle"), AsType<winrt::Microsoft::UI::Xaml::Controls::TreeView>, []() { return winrt::Microsoft::UI::Xaml::Controls::TreeView::ItemContainerStyleProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Style>, ViewManagerPropertyType::String },
{ MAKE_KEY("itemHeight"), AsType<winrt::Windows::UI::Xaml::Controls::ItemsWrapGrid>, []() { return winrt::Windows::UI::Xaml::Controls::ItemsWrapGrid::ItemHeightProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("itemHeight"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::LoopingSelector>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::LoopingSelector::ItemHeightProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("itemHeight"), AsType<winrt::Windows::UI::Xaml::Controls::VariableSizedWrapGrid>, []() { return winrt::Windows::UI::Xaml::Controls::VariableSizedWrapGrid::ItemHeightProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
@ -627,10 +627,10 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("itemsSource"), AsType<winrt::Microsoft::UI::Xaml::Controls::BreadcrumbBar>, []() { return winrt::Microsoft::UI::Xaml::Controls::BreadcrumbBar::ItemsSourceProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("itemsSource"), AsType<winrt::Windows::UI::Xaml::Controls::ItemsControl>, []() { return winrt::Windows::UI::Xaml::Controls::ItemsControl::ItemsSourceProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("itemsSource"), AsType<winrt::Microsoft::UI::Xaml::Controls::RadioButtons>, []() { return winrt::Microsoft::UI::Xaml::Controls::RadioButtons::ItemsSourceProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("itemsSource"), AsType<winrt::Windows::UI::Xaml::Controls::TreeView>, []() { return winrt::Windows::UI::Xaml::Controls::TreeView::ItemsSourceProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("itemsSource"), AsType<winrt::Microsoft::UI::Xaml::Controls::TreeView>, []() { return winrt::Microsoft::UI::Xaml::Controls::TreeView::ItemsSourceProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("itemsSource"), AsType<winrt::Windows::UI::Xaml::Controls::TreeViewItem>, []() { return winrt::Windows::UI::Xaml::Controls::TreeViewItem::ItemsSourceProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("itemsSource"), AsType<winrt::Windows::UI::Xaml::Controls::TreeView>, []() { return winrt::Windows::UI::Xaml::Controls::TreeView::ItemsSourceProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("itemsSource"), AsType<winrt::Microsoft::UI::Xaml::Controls::TreeViewItem>, []() { return winrt::Microsoft::UI::Xaml::Controls::TreeViewItem::ItemsSourceProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("itemsSource"), AsType<winrt::Windows::UI::Xaml::Controls::TreeViewItem>, []() { return winrt::Windows::UI::Xaml::Controls::TreeViewItem::ItemsSourceProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("itemTemplate"), AsType<winrt::Microsoft::UI::Xaml::Controls::ItemsRepeater>, []() { return winrt::Microsoft::UI::Xaml::Controls::ItemsRepeater::ItemTemplateProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::String },
{ MAKE_KEY("itemTemplate"), AsType<winrt::Microsoft::UI::Xaml::Controls::BreadcrumbBar>, []() { return winrt::Microsoft::UI::Xaml::Controls::BreadcrumbBar::ItemTemplateProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("itemTemplate"), AsType<winrt::Microsoft::UI::Xaml::Controls::RadioButtons>, []() { return winrt::Microsoft::UI::Xaml::Controls::RadioButtons::ItemTemplateProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
@ -638,7 +638,6 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("itemWidth"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::LoopingSelector>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::LoopingSelector::ItemWidthProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("itemWidth"), AsType<winrt::Windows::UI::Xaml::Controls::VariableSizedWrapGrid>, []() { return winrt::Windows::UI::Xaml::Controls::VariableSizedWrapGrid::ItemWidthProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("itemWidth"), AsType<winrt::Windows::UI::Xaml::Controls::WrapGrid>, []() { return winrt::Windows::UI::Xaml::Controls::WrapGrid::ItemWidthProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("virtualKey"), AsUnwrappedType<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator>, []() { return winrt::Windows::UI::Xaml::Input::KeyboardAccelerator::KeyProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("keyboardAcceleratorPlacementMode"), AsType<winrt::Windows::UI::Xaml::UIElement>, []() { return winrt::Windows::UI::Xaml::UIElement::KeyboardAcceleratorPlacementModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("keyboardAcceleratorTextOverride"), AsType<winrt::Windows::UI::Xaml::Controls::MenuFlyoutItem>, []() { return winrt::Windows::UI::Xaml::Controls::MenuFlyoutItem::KeyboardAcceleratorTextOverrideProperty(); }, SetPropValue<winrt::hstring>, ViewManagerPropertyType::String },
{ MAKE_KEY("keyboardAcceleratorTextOverride"), AsType<winrt::Windows::UI::Xaml::Controls::AppBarButton>, []() { return winrt::Windows::UI::Xaml::Controls::AppBarButton::KeyboardAcceleratorTextOverrideProperty(); }, SetPropValue<winrt::hstring>, ViewManagerPropertyType::String },
@ -683,13 +682,13 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("manipulationMode"), AsType<winrt::Windows::UI::Xaml::UIElement>, []() { return winrt::Windows::UI::Xaml::UIElement::ManipulationModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("mapProjection"), AsType<winrt::Windows::UI::Xaml::Controls::Maps::MapControl>, []() { return winrt::Windows::UI::Xaml::Controls::Maps::MapControl::MapProjectionProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("mapServiceToken"), AsType<winrt::Windows::UI::Xaml::Controls::Maps::MapControl>, []() { return winrt::Windows::UI::Xaml::Controls::Maps::MapControl::MapServiceTokenProperty(); }, SetPropValue<winrt::hstring>, ViewManagerPropertyType::String },
{ MAKE_KEY("mapStyle"), AsType<winrt::Windows::UI::Xaml::Controls::Maps::MapControl>, []() { return winrt::Windows::UI::Xaml::Controls::Maps::MapControl::StyleProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Controls::Maps::MapStyle>, ViewManagerPropertyType::Number },
{ MAKE_KEY("margin"), AsUnwrappedType<winrt::Windows::UI::Xaml::Documents::Block>, []() { return winrt::Windows::UI::Xaml::Documents::Block::MarginProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Thickness>, ViewManagerPropertyType::Map },
{ MAKE_KEY("margin"), AsType<winrt::Windows::UI::Xaml::FrameworkElement>, []() { return winrt::Windows::UI::Xaml::FrameworkElement::MarginProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Thickness>, ViewManagerPropertyType::Map },
{ MAKE_KEY("maxColumns"), AsType<winrt::Microsoft::UI::Xaml::Controls::RadioButtons>, []() { return winrt::Microsoft::UI::Xaml::Controls::RadioButtons::MaxColumnsProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxDropDownHeight"), AsType<winrt::Windows::UI::Xaml::Controls::ComboBox>, []() { return winrt::Windows::UI::Xaml::Controls::ComboBox::MaxDropDownHeightProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxHeight"), AsType<winrt::Windows::UI::Xaml::FrameworkElement>, []() { return winrt::Windows::UI::Xaml::FrameworkElement::MaxHeightProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxHorizontalShiftRatio"), AsType<winrt::Microsoft::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Microsoft::UI::Xaml::Controls::ParallaxView::MaxHorizontalShiftRatioProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxHorizontalShiftRatio"), AsType<winrt::Windows::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Windows::UI::Xaml::Controls::ParallaxView::MaxHorizontalShiftRatioProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxHorizontalShiftRatio"), AsType<winrt::Microsoft::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Microsoft::UI::Xaml::Controls::ParallaxView::MaxHorizontalShiftRatioProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxHue"), AsType<winrt::Windows::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Windows::UI::Xaml::Controls::ColorPicker::MaxHueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxHue"), AsType<winrt::Microsoft::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Microsoft::UI::Xaml::Controls::ColorPicker::MaxHueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxHue"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum::MaxHueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
@ -707,53 +706,53 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("maxLines"), AsType<winrt::Windows::UI::Xaml::Controls::RichTextBlock>, []() { return winrt::Windows::UI::Xaml::Controls::RichTextBlock::MaxLinesProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxLines"), AsType<winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow>, []() { return winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow::MaxLinesProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxLines"), AsType<winrt::Windows::UI::Xaml::Controls::TextBlock>, []() { return winrt::Windows::UI::Xaml::Controls::TextBlock::MaxLinesProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxRating"), AsType<winrt::Microsoft::UI::Xaml::Controls::RatingControl>, []() { return winrt::Microsoft::UI::Xaml::Controls::RatingControl::MaxRatingProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxRating"), AsType<winrt::Windows::UI::Xaml::Controls::RatingControl>, []() { return winrt::Windows::UI::Xaml::Controls::RatingControl::MaxRatingProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxRating"), AsType<winrt::Microsoft::UI::Xaml::Controls::RatingControl>, []() { return winrt::Microsoft::UI::Xaml::Controls::RatingControl::MaxRatingProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxSaturation"), AsType<winrt::Microsoft::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Microsoft::UI::Xaml::Controls::ColorPicker::MaxSaturationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxSaturation"), AsType<winrt::Windows::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Windows::UI::Xaml::Controls::ColorPicker::MaxSaturationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxSaturation"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum::MaxSaturationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxSaturation"), AsType<winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum::MaxSaturationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxSaturation"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum::MaxSaturationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxStrokeWidth"), AsType<winrt::Windows::UI::Xaml::Controls::InkToolbarPenButton>, []() { return winrt::Windows::UI::Xaml::Controls::InkToolbarPenButton::MaxStrokeWidthProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxSuggestionListHeight"), AsType<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox>, []() { return winrt::Windows::UI::Xaml::Controls::AutoSuggestBox::MaxSuggestionListHeightProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxValue"), AsType<winrt::Windows::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Windows::UI::Xaml::Controls::ColorPicker::MaxValueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxValue"), AsType<winrt::Microsoft::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Microsoft::UI::Xaml::Controls::ColorPicker::MaxValueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxValue"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum::MaxValueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxValue"), AsType<winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum::MaxValueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxVerticalShiftRatio"), AsType<winrt::Microsoft::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Microsoft::UI::Xaml::Controls::ParallaxView::MaxVerticalShiftRatioProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxVerticalShiftRatio"), AsType<winrt::Windows::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Windows::UI::Xaml::Controls::ParallaxView::MaxVerticalShiftRatioProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxVerticalShiftRatio"), AsType<winrt::Microsoft::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Microsoft::UI::Xaml::Controls::ParallaxView::MaxVerticalShiftRatioProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxVisiblePips"), AsType<winrt::Microsoft::UI::Xaml::Controls::PipsPager>, []() { return winrt::Microsoft::UI::Xaml::Controls::PipsPager::MaxVisiblePipsProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxWidth"), AsType<winrt::Windows::UI::Xaml::FrameworkElement>, []() { return winrt::Windows::UI::Xaml::FrameworkElement::MaxWidthProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("maxZoomFactor"), AsType<winrt::Windows::UI::Xaml::Controls::ScrollViewer>, []() { return winrt::Windows::UI::Xaml::Controls::ScrollViewer::MaxZoomFactorProperty(); }, SetPropValue<float>, ViewManagerPropertyType::Number },
{ MAKE_KEY("menuFlyoutPresenterStyle"), AsUnwrappedType<winrt::Windows::UI::Xaml::Controls::MenuFlyout>, []() { return winrt::Windows::UI::Xaml::Controls::MenuFlyout::MenuFlyoutPresenterStyleProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Style>, ViewManagerPropertyType::String },
{ MAKE_KEY("menuItemContainerStyle"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::MenuItemContainerStyleProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Style>, ViewManagerPropertyType::String },
{ MAKE_KEY("menuItemContainerStyle"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::MenuItemContainerStyleProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Style>, ViewManagerPropertyType::String },
{ MAKE_KEY("menuItemsSource"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::MenuItemsSourceProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("menuItemsSource"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::MenuItemsSourceProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("menuItemsSource"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::MenuItemsSourceProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("menuItemsSource"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationViewItem>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationViewItem::MenuItemsSourceProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("message"), AsType<winrt::Microsoft::UI::Xaml::Controls::InfoBar>, []() { return winrt::Microsoft::UI::Xaml::Controls::InfoBar::MessageProperty(); }, SetPropValue<winrt::hstring>, ViewManagerPropertyType::String },
{ MAKE_KEY("minHeight"), AsType<winrt::Windows::UI::Xaml::FrameworkElement>, []() { return winrt::Windows::UI::Xaml::FrameworkElement::MinHeightProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minHue"), AsType<winrt::Windows::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Windows::UI::Xaml::Controls::ColorPicker::MinHueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minHue"), AsType<winrt::Microsoft::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Microsoft::UI::Xaml::Controls::ColorPicker::MinHueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minHue"), AsType<winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum::MinHueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minHue"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum::MinHueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minHue"), AsType<winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum::MinHueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minimum"), AsType<winrt::Microsoft::UI::Xaml::Controls::NumberBox>, []() { return winrt::Microsoft::UI::Xaml::Controls::NumberBox::MinimumProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minimum"), AsType<winrt::Microsoft::UI::Xaml::Controls::ProgressRing>, []() { return winrt::Microsoft::UI::Xaml::Controls::ProgressRing::MinimumProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minimum"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::RangeBase>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::RangeBase::MinimumProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minSaturation"), AsType<winrt::Windows::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Windows::UI::Xaml::Controls::ColorPicker::MinSaturationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minSaturation"), AsType<winrt::Microsoft::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Microsoft::UI::Xaml::Controls::ColorPicker::MinSaturationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minSaturation"), AsType<winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum::MinSaturationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minSaturation"), AsType<winrt::Windows::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Windows::UI::Xaml::Controls::ColorPicker::MinSaturationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minSaturation"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum::MinSaturationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minSaturation"), AsType<winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum::MinSaturationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minStrokeWidth"), AsType<winrt::Windows::UI::Xaml::Controls::InkToolbarPenButton>, []() { return winrt::Windows::UI::Xaml::Controls::InkToolbarPenButton::MinStrokeWidthProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minTallModeHeight"), AsType<winrt::Microsoft::UI::Xaml::Controls::TwoPaneView>, []() { return winrt::Microsoft::UI::Xaml::Controls::TwoPaneView::MinTallModeHeightProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minTallModeHeight"), AsType<winrt::Windows::UI::Xaml::Controls::TwoPaneView>, []() { return winrt::Windows::UI::Xaml::Controls::TwoPaneView::MinTallModeHeightProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minTallModeHeight"), AsType<winrt::Microsoft::UI::Xaml::Controls::TwoPaneView>, []() { return winrt::Microsoft::UI::Xaml::Controls::TwoPaneView::MinTallModeHeightProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minuteIncrement"), AsUnwrappedType<winrt::Windows::UI::Xaml::Controls::TimePickerFlyout>, []() { return winrt::Windows::UI::Xaml::Controls::TimePickerFlyout::MinuteIncrementProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minuteIncrement"), AsType<winrt::Windows::UI::Xaml::Controls::TimePicker>, []() { return winrt::Windows::UI::Xaml::Controls::TimePicker::MinuteIncrementProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minValue"), AsType<winrt::Microsoft::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Microsoft::UI::Xaml::Controls::ColorPicker::MinValueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minValue"), AsType<winrt::Windows::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Windows::UI::Xaml::Controls::ColorPicker::MinValueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minValue"), AsType<winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum::MinValueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minValue"), AsType<winrt::Microsoft::UI::Xaml::Controls::ColorPicker>, []() { return winrt::Microsoft::UI::Xaml::Controls::ColorPicker::MinValueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minValue"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum::MinValueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minWideModeWidth"), AsType<winrt::Microsoft::UI::Xaml::Controls::TwoPaneView>, []() { return winrt::Microsoft::UI::Xaml::Controls::TwoPaneView::MinWideModeWidthProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minValue"), AsType<winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum::MinValueProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minWideModeWidth"), AsType<winrt::Windows::UI::Xaml::Controls::TwoPaneView>, []() { return winrt::Windows::UI::Xaml::Controls::TwoPaneView::MinWideModeWidthProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minWideModeWidth"), AsType<winrt::Microsoft::UI::Xaml::Controls::TwoPaneView>, []() { return winrt::Microsoft::UI::Xaml::Controls::TwoPaneView::MinWideModeWidthProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minWidth"), AsType<winrt::Windows::UI::Xaml::FrameworkElement>, []() { return winrt::Windows::UI::Xaml::FrameworkElement::MinWidthProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("minZoomFactor"), AsType<winrt::Windows::UI::Xaml::Controls::ScrollViewer>, []() { return winrt::Windows::UI::Xaml::Controls::ScrollViewer::MinZoomFactorProperty(); }, SetPropValue<float>, ViewManagerPropertyType::Number },
{ MAKE_KEY("mirroredWhenRightToLeft"), AsType<winrt::Microsoft::UI::Xaml::Controls::AnimatedIcon>, []() { return winrt::Microsoft::UI::Xaml::Controls::AnimatedIcon::MirroredWhenRightToLeftProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
@ -780,8 +779,8 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("onContent"), AsType<winrt::Windows::UI::Xaml::Controls::ToggleSwitch>, []() { return winrt::Windows::UI::Xaml::Controls::ToggleSwitch::OnContentProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("opacity"), AsType<winrt::Windows::UI::Xaml::UIElement>, []() { return winrt::Windows::UI::Xaml::UIElement::OpacityProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("openPaneLength"), AsType<winrt::Windows::UI::Xaml::Controls::SplitView>, []() { return winrt::Windows::UI::Xaml::Controls::SplitView::OpenPaneLengthProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("openPaneLength"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::OpenPaneLengthProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("openPaneLength"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::OpenPaneLengthProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("openPaneLength"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::OpenPaneLengthProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("opticalMarginAlignment"), AsType<winrt::Windows::UI::Xaml::Controls::ContentPresenter>, []() { return winrt::Windows::UI::Xaml::Controls::ContentPresenter::OpticalMarginAlignmentProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("opticalMarginAlignment"), AsType<winrt::Windows::UI::Xaml::Controls::RichTextBlock>, []() { return winrt::Windows::UI::Xaml::Controls::RichTextBlock::OpticalMarginAlignmentProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("opticalMarginAlignment"), AsType<winrt::Windows::UI::Xaml::Controls::TextBlock>, []() { return winrt::Windows::UI::Xaml::Controls::TextBlock::OpticalMarginAlignmentProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
@ -791,8 +790,8 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("orientation"), AsType<winrt::Windows::UI::Xaml::Controls::ItemsStackPanel>, []() { return winrt::Windows::UI::Xaml::Controls::ItemsStackPanel::OrientationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("orientation"), AsType<winrt::Windows::UI::Xaml::Controls::ItemsWrapGrid>, []() { return winrt::Windows::UI::Xaml::Controls::ItemsWrapGrid::OrientationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("orientation"), AsType<winrt::Microsoft::UI::Xaml::Controls::PipsPager>, []() { return winrt::Microsoft::UI::Xaml::Controls::PipsPager::OrientationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("orientation"), AsType<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer>, []() { return winrt::Windows::UI::Xaml::Controls::RefreshVisualizer::OrientationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("orientation"), AsType<winrt::Microsoft::UI::Xaml::Controls::RefreshVisualizer>, []() { return winrt::Microsoft::UI::Xaml::Controls::RefreshVisualizer::OrientationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("orientation"), AsType<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer>, []() { return winrt::Windows::UI::Xaml::Controls::RefreshVisualizer::OrientationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("orientation"), AsType<winrt::Windows::UI::Xaml::Controls::StackPanel>, []() { return winrt::Windows::UI::Xaml::Controls::StackPanel::OrientationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("orientation"), AsType<winrt::Windows::UI::Xaml::Controls::VariableSizedWrapGrid>, []() { return winrt::Windows::UI::Xaml::Controls::VariableSizedWrapGrid::OrientationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("orientation"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::ScrollBar>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::ScrollBar::OrientationProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
@ -808,7 +807,6 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("overflowLabelMode"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::OverflowLabelModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("padding"), AsType<winrt::Windows::UI::Xaml::Controls::Border>, []() { return winrt::Windows::UI::Xaml::Controls::Border::PaddingProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Thickness>, ViewManagerPropertyType::Map },
{ MAKE_KEY("padding"), AsType<winrt::Windows::UI::Xaml::Controls::ContentPresenter>, []() { return winrt::Windows::UI::Xaml::Controls::ContentPresenter::PaddingProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Thickness>, ViewManagerPropertyType::Map },
{ MAKE_KEY("padding"), AsType<winrt::Windows::UI::Xaml::Controls::Control>, []() { return winrt::Windows::UI::Xaml::Controls::Control::PaddingProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Thickness>, ViewManagerPropertyType::Map },
{ MAKE_KEY("padding"), AsType<winrt::Windows::UI::Xaml::Controls::ItemsPresenter>, []() { return winrt::Windows::UI::Xaml::Controls::ItemsPresenter::PaddingProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Thickness>, ViewManagerPropertyType::Map },
{ MAKE_KEY("padding"), AsType<winrt::Windows::UI::Xaml::Controls::RichTextBlock>, []() { return winrt::Windows::UI::Xaml::Controls::RichTextBlock::PaddingProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Thickness>, ViewManagerPropertyType::Map },
{ MAKE_KEY("padding"), AsType<winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow>, []() { return winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow::PaddingProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Thickness>, ViewManagerPropertyType::Map },
@ -820,12 +818,12 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("paneDisplayMode"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::PaneDisplayModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("paneDisplayMode"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::PaneDisplayModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("panePlacement"), AsType<winrt::Windows::UI::Xaml::Controls::SplitView>, []() { return winrt::Windows::UI::Xaml::Controls::SplitView::PanePlacementProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("panePriority"), AsType<winrt::Microsoft::UI::Xaml::Controls::TwoPaneView>, []() { return winrt::Microsoft::UI::Xaml::Controls::TwoPaneView::PanePriorityProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("panePriority"), AsType<winrt::Windows::UI::Xaml::Controls::TwoPaneView>, []() { return winrt::Windows::UI::Xaml::Controls::TwoPaneView::PanePriorityProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("paneTitle"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::PaneTitleProperty(); }, SetPropValue<winrt::hstring>, ViewManagerPropertyType::String },
{ MAKE_KEY("panePriority"), AsType<winrt::Microsoft::UI::Xaml::Controls::TwoPaneView>, []() { return winrt::Microsoft::UI::Xaml::Controls::TwoPaneView::PanePriorityProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("paneTitle"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::PaneTitleProperty(); }, SetPropValue<winrt::hstring>, ViewManagerPropertyType::String },
{ MAKE_KEY("paneToggleButtonStyle"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::PaneToggleButtonStyleProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Style>, ViewManagerPropertyType::String },
{ MAKE_KEY("paneTitle"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::PaneTitleProperty(); }, SetPropValue<winrt::hstring>, ViewManagerPropertyType::String },
{ MAKE_KEY("paneToggleButtonStyle"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::PaneToggleButtonStyleProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Style>, ViewManagerPropertyType::String },
{ MAKE_KEY("paneToggleButtonStyle"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::PaneToggleButtonStyleProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Style>, ViewManagerPropertyType::String },
{ MAKE_KEY("panInteractionMode"), AsType<winrt::Windows::UI::Xaml::Controls::Maps::MapControl>, []() { return winrt::Windows::UI::Xaml::Controls::Maps::MapControl::PanInteractionModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("password"), AsType<winrt::Windows::UI::Xaml::Controls::PasswordBox>, []() { return winrt::Windows::UI::Xaml::Controls::PasswordBox::PasswordProperty(); }, SetPropValue<winrt::hstring>, ViewManagerPropertyType::String },
{ MAKE_KEY("passwordChar"), AsType<winrt::Windows::UI::Xaml::Controls::PasswordBox>, []() { return winrt::Windows::UI::Xaml::Controls::PasswordBox::PasswordCharProperty(); }, SetPropValue<winrt::hstring>, ViewManagerPropertyType::String },
@ -843,8 +841,8 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("placeholderText"), AsType<winrt::Windows::UI::Xaml::Controls::TextBox>, []() { return winrt::Windows::UI::Xaml::Controls::TextBox::PlaceholderTextProperty(); }, SetPropValue<winrt::hstring>, ViewManagerPropertyType::String },
{ MAKE_KEY("placeholderText"), AsType<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox>, []() { return winrt::Windows::UI::Xaml::Controls::AutoSuggestBox::PlaceholderTextProperty(); }, SetPropValue<winrt::hstring>, ViewManagerPropertyType::String },
{ MAKE_KEY("placeholderText"), AsType<winrt::Windows::UI::Xaml::Controls::ComboBox>, []() { return winrt::Windows::UI::Xaml::Controls::ComboBox::PlaceholderTextProperty(); }, SetPropValue<winrt::hstring>, ViewManagerPropertyType::String },
{ MAKE_KEY("placeholderValue"), AsType<winrt::Windows::UI::Xaml::Controls::RatingControl>, []() { return winrt::Windows::UI::Xaml::Controls::RatingControl::PlaceholderValueProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("placeholderValue"), AsType<winrt::Microsoft::UI::Xaml::Controls::RatingControl>, []() { return winrt::Microsoft::UI::Xaml::Controls::RatingControl::PlaceholderValueProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("placeholderValue"), AsType<winrt::Windows::UI::Xaml::Controls::RatingControl>, []() { return winrt::Windows::UI::Xaml::Controls::RatingControl::PlaceholderValueProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("placement"), AsUnwrappedType<winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase::PlacementProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("placement"), AsType<winrt::Windows::UI::Xaml::Controls::ToolTip>, []() { return winrt::Windows::UI::Xaml::Controls::ToolTip::PlacementProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("placementAlignment"), AsType<winrt::Windows::UI::Xaml::Controls::HandwritingView>, []() { return winrt::Windows::UI::Xaml::Controls::HandwritingView::PlacementAlignmentProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
@ -874,8 +872,8 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("primaryButtonCommandParameter"), AsType<winrt::Windows::UI::Xaml::Controls::ContentDialog>, []() { return winrt::Windows::UI::Xaml::Controls::ContentDialog::PrimaryButtonCommandParameterProperty(); }, SetPropValue<winrt::Windows::Foundation::IInspectable>, ViewManagerPropertyType::Map },
{ MAKE_KEY("primaryButtonStyle"), AsType<winrt::Windows::UI::Xaml::Controls::ContentDialog>, []() { return winrt::Windows::UI::Xaml::Controls::ContentDialog::PrimaryButtonStyleProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Style>, ViewManagerPropertyType::String },
{ MAKE_KEY("primaryButtonText"), AsType<winrt::Windows::UI::Xaml::Controls::ContentDialog>, []() { return winrt::Windows::UI::Xaml::Controls::ContentDialog::PrimaryButtonTextProperty(); }, SetPropValue<winrt::hstring>, ViewManagerPropertyType::String },
{ MAKE_KEY("profilePicture"), AsType<winrt::Windows::UI::Xaml::Controls::PersonPicture>, []() { return winrt::Windows::UI::Xaml::Controls::PersonPicture::ProfilePictureProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Media::ImageSource>, ViewManagerPropertyType::String },
{ MAKE_KEY("profilePicture"), AsType<winrt::Microsoft::UI::Xaml::Controls::PersonPicture>, []() { return winrt::Microsoft::UI::Xaml::Controls::PersonPicture::ProfilePictureProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Media::ImageSource>, ViewManagerPropertyType::String },
{ MAKE_KEY("profilePicture"), AsType<winrt::Windows::UI::Xaml::Controls::PersonPicture>, []() { return winrt::Windows::UI::Xaml::Controls::PersonPicture::ProfilePictureProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Media::ImageSource>, ViewManagerPropertyType::String },
{ MAKE_KEY("pullDirection"), AsType<winrt::Windows::UI::Xaml::Controls::RefreshContainer>, []() { return winrt::Windows::UI::Xaml::Controls::RefreshContainer::PullDirectionProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("pullDirection"), AsType<winrt::Microsoft::UI::Xaml::Controls::RefreshContainer>, []() { return winrt::Microsoft::UI::Xaml::Controls::RefreshContainer::PullDirectionProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("queryText"), AsType<winrt::Windows::UI::Xaml::Controls::SearchBox>, []() { return winrt::Windows::UI::Xaml::Controls::SearchBox::QueryTextProperty(); }, SetPropValue<winrt::hstring>, ViewManagerPropertyType::String },
@ -943,8 +941,8 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("selectionChangedTrigger"), AsType<winrt::Windows::UI::Xaml::Controls::ComboBox>, []() { return winrt::Windows::UI::Xaml::Controls::ComboBox::SelectionChangedTriggerProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("selectionCheckMarkVisualEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::GridViewItemPresenter>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::GridViewItemPresenter::SelectionCheckMarkVisualEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("selectionCheckMarkVisualEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemPresenter>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemPresenter::SelectionCheckMarkVisualEnabledProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("selectionFollowsFocus"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::SelectionFollowsFocusProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("selectionFollowsFocus"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::SelectionFollowsFocusProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("selectionFollowsFocus"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::SelectionFollowsFocusProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("selectionHighlightColor"), AsType<winrt::Windows::UI::Xaml::Controls::RichTextBlock>, []() { return winrt::Windows::UI::Xaml::Controls::RichTextBlock::SelectionHighlightColorProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Media::SolidColorBrush>, ViewManagerPropertyType::Color },
{ MAKE_KEY("selectionHighlightColor"), AsType<winrt::Windows::UI::Xaml::Controls::TextBlock>, []() { return winrt::Windows::UI::Xaml::Controls::TextBlock::SelectionHighlightColorProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Media::SolidColorBrush>, ViewManagerPropertyType::Color },
{ MAKE_KEY("selectionHighlightColor"), AsType<winrt::Microsoft::UI::Xaml::Controls::NumberBox>, []() { return winrt::Microsoft::UI::Xaml::Controls::NumberBox::SelectionHighlightColorProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Media::SolidColorBrush>, ViewManagerPropertyType::Color },
@ -955,25 +953,25 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("selectionHighlightColorWhenNotFocused"), AsType<winrt::Windows::UI::Xaml::Controls::TextBox>, []() { return winrt::Windows::UI::Xaml::Controls::TextBox::SelectionHighlightColorWhenNotFocusedProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Media::SolidColorBrush>, ViewManagerPropertyType::Color },
{ MAKE_KEY("selectionMode"), AsUnwrappedType<winrt::Windows::UI::Xaml::Controls::ListPickerFlyout>, []() { return winrt::Windows::UI::Xaml::Controls::ListPickerFlyout::SelectionModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("selectionMode"), AsType<winrt::Windows::UI::Xaml::Controls::CalendarView>, []() { return winrt::Windows::UI::Xaml::Controls::CalendarView::SelectionModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("selectionMode"), AsType<winrt::Microsoft::UI::Xaml::Controls::TreeView>, []() { return winrt::Microsoft::UI::Xaml::Controls::TreeView::SelectionModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("selectionMode"), AsType<winrt::Windows::UI::Xaml::Controls::TreeView>, []() { return winrt::Windows::UI::Xaml::Controls::TreeView::SelectionModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("selectionMode"), AsType<winrt::Microsoft::UI::Xaml::Controls::TreeView>, []() { return winrt::Microsoft::UI::Xaml::Controls::TreeView::SelectionModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("selectionMode"), AsType<winrt::Windows::UI::Xaml::Controls::ListBox>, []() { return winrt::Windows::UI::Xaml::Controls::ListBox::SelectionModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("selectionMode"), AsType<winrt::Windows::UI::Xaml::Controls::ListViewBase>, []() { return winrt::Windows::UI::Xaml::Controls::ListViewBase::SelectionModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("selectsOnInvoked"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationViewItem>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationViewItem::SelectsOnInvokedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("selectsOnInvoked"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationViewItem>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationViewItem::SelectsOnInvokedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("severity"), AsType<winrt::Microsoft::UI::Xaml::Controls::InfoBar>, []() { return winrt::Microsoft::UI::Xaml::Controls::InfoBar::SeverityProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("shape"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum::ShapeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("shape"), AsType<winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum::ShapeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("shape"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum::ShapeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("shouldConstrainToRootBounds"), AsUnwrappedType<winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase::ShouldConstrainToRootBoundsProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("shouldConstrainToRootBounds"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::Popup>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::Popup::ShouldConstrainToRootBoundsProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("shouldConstrainToRootBounds"), AsType<winrt::Microsoft::UI::Xaml::Controls::TeachingTip>, []() { return winrt::Microsoft::UI::Xaml::Controls::TeachingTip::ShouldConstrainToRootBoundsProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("shoulderNavigationEnabled"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::ShoulderNavigationEnabledProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("shoulderNavigationEnabled"), AsType<winrt::Windows::UI::Xaml::Controls::NavigationView>, []() { return winrt::Windows::UI::Xaml::Controls::NavigationView::ShoulderNavigationEnabledProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("shoulderNavigationEnabled"), AsType<winrt::Microsoft::UI::Xaml::Controls::NavigationView>, []() { return winrt::Microsoft::UI::Xaml::Controls::NavigationView::ShoulderNavigationEnabledProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("shouldLoop"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::LoopingSelector>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::LoopingSelector::ShouldLoopProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("showAndHideAutomatically"), AsType<winrt::Windows::UI::Xaml::Controls::MediaTransportControls>, []() { return winrt::Windows::UI::Xaml::Controls::MediaTransportControls::ShowAndHideAutomaticallyProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("showAsMonochrome"), AsType<winrt::Windows::UI::Xaml::Controls::BitmapIcon>, []() { return winrt::Windows::UI::Xaml::Controls::BitmapIcon::ShowAsMonochromeProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("showError"), AsType<winrt::Windows::UI::Xaml::Controls::ProgressBar>, []() { return winrt::Windows::UI::Xaml::Controls::ProgressBar::ShowErrorProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("showError"), AsType<winrt::Microsoft::UI::Xaml::Controls::ProgressBar>, []() { return winrt::Microsoft::UI::Xaml::Controls::ProgressBar::ShowErrorProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("showError"), AsType<winrt::Windows::UI::Xaml::Controls::ProgressBar>, []() { return winrt::Windows::UI::Xaml::Controls::ProgressBar::ShowErrorProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("showMode"), AsUnwrappedType<winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase::ShowModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("showPaused"), AsType<winrt::Microsoft::UI::Xaml::Controls::ProgressBar>, []() { return winrt::Microsoft::UI::Xaml::Controls::ProgressBar::ShowPausedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
{ MAKE_KEY("showPaused"), AsType<winrt::Windows::UI::Xaml::Controls::ProgressBar>, []() { return winrt::Windows::UI::Xaml::Controls::ProgressBar::ShowPausedProperty(); }, SetPropValue<bool>, ViewManagerPropertyType::Boolean },
@ -1011,7 +1009,6 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("strokeStartLineCap"), AsType<winrt::Windows::UI::Xaml::Shapes::Shape>, []() { return winrt::Windows::UI::Xaml::Shapes::Shape::StrokeStartLineCapProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("strokeThickness"), AsType<winrt::Windows::UI::Xaml::Shapes::Shape>, []() { return winrt::Windows::UI::Xaml::Shapes::Shape::StrokeThicknessProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("styleKey"), AsType<winrt::Windows::UI::Xaml::FrameworkElement>, []() { return winrt::Windows::UI::Xaml::FrameworkElement::StyleProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Style>, ViewManagerPropertyType::String },
{ MAKE_KEY("mapStyle"), AsType<winrt::Windows::UI::Xaml::Controls::Maps::MapControl>, []() { return winrt::Windows::UI::Xaml::Controls::Maps::MapControl::StyleProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Controls::Maps::MapStyle>, ViewManagerPropertyType::Number },
{ MAKE_KEY("styleSimulations"), AsType<winrt::Windows::UI::Xaml::Documents::Glyphs>, []() { return winrt::Windows::UI::Xaml::Documents::Glyphs::StyleSimulationsProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("subtitle"), AsType<winrt::Microsoft::UI::Xaml::Controls::TeachingTip>, []() { return winrt::Microsoft::UI::Xaml::Controls::TeachingTip::SubtitleProperty(); }, SetPropValue<winrt::hstring>, ViewManagerPropertyType::String },
{ MAKE_KEY("symbol"), AsType<winrt::Windows::UI::Xaml::Controls::SymbolIcon>, []() { return winrt::Windows::UI::Xaml::Controls::SymbolIcon::SymbolProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
@ -1192,18 +1189,19 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("verticalOrientationPadding"), AsType<winrt::Microsoft::UI::Xaml::Controls::Primitives::InfoBarPanel>, []() { return winrt::Microsoft::UI::Xaml::Controls::Primitives::InfoBarPanel::VerticalOrientationPaddingProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Thickness>, ViewManagerPropertyType::Map },
{ MAKE_KEY("verticalScrollBarVisibility"), AsType<winrt::Windows::UI::Xaml::Controls::ScrollViewer>, []() { return winrt::Windows::UI::Xaml::Controls::ScrollViewer::VerticalScrollBarVisibilityProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("verticalScrollMode"), AsType<winrt::Windows::UI::Xaml::Controls::ScrollViewer>, []() { return winrt::Windows::UI::Xaml::Controls::ScrollViewer::VerticalScrollModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("verticalShift"), AsType<winrt::Windows::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Windows::UI::Xaml::Controls::ParallaxView::VerticalShiftProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("verticalShift"), AsType<winrt::Microsoft::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Microsoft::UI::Xaml::Controls::ParallaxView::VerticalShiftProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("verticalShift"), AsType<winrt::Windows::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Windows::UI::Xaml::Controls::ParallaxView::VerticalShiftProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("verticalSnapPointsAlignment"), AsType<winrt::Windows::UI::Xaml::Controls::ScrollViewer>, []() { return winrt::Windows::UI::Xaml::Controls::ScrollViewer::VerticalSnapPointsAlignmentProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("verticalSnapPointsType"), AsType<winrt::Windows::UI::Xaml::Controls::ScrollViewer>, []() { return winrt::Windows::UI::Xaml::Controls::ScrollViewer::VerticalSnapPointsTypeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("verticalSourceEndOffset"), AsType<winrt::Microsoft::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Microsoft::UI::Xaml::Controls::ParallaxView::VerticalSourceEndOffsetProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("verticalSourceEndOffset"), AsType<winrt::Windows::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Windows::UI::Xaml::Controls::ParallaxView::VerticalSourceEndOffsetProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("verticalSourceEndOffset"), AsType<winrt::Microsoft::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Microsoft::UI::Xaml::Controls::ParallaxView::VerticalSourceEndOffsetProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("verticalSourceOffsetKind"), AsType<winrt::Microsoft::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Microsoft::UI::Xaml::Controls::ParallaxView::VerticalSourceOffsetKindProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("verticalSourceOffsetKind"), AsType<winrt::Windows::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Windows::UI::Xaml::Controls::ParallaxView::VerticalSourceOffsetKindProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("verticalSourceStartOffset"), AsType<winrt::Windows::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Windows::UI::Xaml::Controls::ParallaxView::VerticalSourceStartOffsetProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("verticalSourceStartOffset"), AsType<winrt::Microsoft::UI::Xaml::Controls::ParallaxView>, []() { return winrt::Microsoft::UI::Xaml::Controls::ParallaxView::VerticalSourceStartOffsetProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("viewPadding"), AsType<winrt::Windows::UI::Xaml::Controls::Maps::MapControl>, []() { return winrt::Windows::UI::Xaml::Controls::Maps::MapControl::ViewPaddingProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Thickness>, ViewManagerPropertyType::Map },
{ MAKE_KEY("viewportSize"), AsType<winrt::Windows::UI::Xaml::Controls::Primitives::ScrollBar>, []() { return winrt::Windows::UI::Xaml::Controls::Primitives::ScrollBar::ViewportSizeProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("virtualKey"), AsUnwrappedType<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator>, []() { return winrt::Windows::UI::Xaml::Input::KeyboardAccelerator::KeyProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("visibility"), AsType<winrt::Windows::UI::Xaml::UIElement>, []() { return winrt::Windows::UI::Xaml::UIElement::VisibilityProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("volume"), AsType<winrt::Windows::UI::Xaml::Controls::MediaElement>, []() { return winrt::Windows::UI::Xaml::Controls::MediaElement::VolumeProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("watermarkMode"), AsType<winrt::Windows::UI::Xaml::Controls::Maps::MapControl>, []() { return winrt::Windows::UI::Xaml::Controls::Maps::MapControl::WatermarkModeProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
@ -1212,6 +1210,8 @@ winrt::Windows::Foundation::IInspectable AsUnwrappedType(const winrt::Windows::F
{ MAKE_KEY("width"), AsType<winrt::Windows::UI::Xaml::FrameworkElement>, []() { return winrt::Windows::UI::Xaml::FrameworkElement::WidthProperty(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("x1"), AsType<winrt::Windows::UI::Xaml::Shapes::Line>, []() { return winrt::Windows::UI::Xaml::Shapes::Line::X1Property(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("x2"), AsType<winrt::Windows::UI::Xaml::Shapes::Line>, []() { return winrt::Windows::UI::Xaml::Shapes::Line::X2Property(); }, SetPropValue<double>, ViewManagerPropertyType::Number },
{ MAKE_KEY("xamlMargin"), AsType<winrt::Windows::UI::Xaml::FrameworkElement>, []() { return winrt::Windows::UI::Xaml::FrameworkElement::MarginProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Thickness>, ViewManagerPropertyType::Map },
{ MAKE_KEY("xamlPadding"), AsType<winrt::Windows::UI::Xaml::Controls::Control>, []() { return winrt::Windows::UI::Xaml::Controls::Control::PaddingProperty(); }, SetPropValue<winrt::Windows::UI::Xaml::Thickness>, ViewManagerPropertyType::Map },
{ MAKE_KEY("xyFocusDownNavigationStrategy"), AsType<winrt::Windows::UI::Xaml::UIElement>, []() { return winrt::Windows::UI::Xaml::UIElement::XYFocusDownNavigationStrategyProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("xyFocusDownNavigationStrategy"), AsUnwrappedType<winrt::Windows::UI::Xaml::Documents::ContentLink>, []() { return winrt::Windows::UI::Xaml::Documents::ContentLink::XYFocusDownNavigationStrategyProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
{ MAKE_KEY("xyFocusDownNavigationStrategy"), AsUnwrappedType<winrt::Windows::UI::Xaml::Documents::Hyperlink>, []() { return winrt::Windows::UI::Xaml::Documents::Hyperlink::XYFocusDownNavigationStrategyProperty(); }, SetPropValue<int32_t>, ViewManagerPropertyType::Number },
@ -1595,7 +1595,6 @@ void XamlMetadata::PopulateNativeProps(winrt::Windows::Foundation::Collections::
nativeProps.Insert(winrt::to_hstring("itemsSource"), ViewManagerPropertyType::Map);
nativeProps.Insert(winrt::to_hstring("itemTemplate"), ViewManagerPropertyType::String);
nativeProps.Insert(winrt::to_hstring("itemWidth"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("virtualKey"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("keyboardAcceleratorPlacementMode"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("keyboardAcceleratorTextOverride"), ViewManagerPropertyType::String);
nativeProps.Insert(winrt::to_hstring("keyTipHorizontalOffset"), ViewManagerPropertyType::Number);
@ -1617,6 +1616,7 @@ void XamlMetadata::PopulateNativeProps(winrt::Windows::Foundation::Collections::
nativeProps.Insert(winrt::to_hstring("manipulationMode"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("mapProjection"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("mapServiceToken"), ViewManagerPropertyType::String);
nativeProps.Insert(winrt::to_hstring("mapStyle"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("margin"), ViewManagerPropertyType::Map);
nativeProps.Insert(winrt::to_hstring("maxColumns"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("maxDropDownHeight"), ViewManagerPropertyType::Number);
@ -1795,7 +1795,6 @@ void XamlMetadata::PopulateNativeProps(winrt::Windows::Foundation::Collections::
nativeProps.Insert(winrt::to_hstring("strokeMiterLimit"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("strokeStartLineCap"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("strokeThickness"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("styleKey"), ViewManagerPropertyType::String);
nativeProps.Insert(winrt::to_hstring("styleSimulations"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("subtitle"), ViewManagerPropertyType::String);
nativeProps.Insert(winrt::to_hstring("symbol"), ViewManagerPropertyType::Number);
@ -1899,6 +1898,7 @@ void XamlMetadata::PopulateNativeProps(winrt::Windows::Foundation::Collections::
nativeProps.Insert(winrt::to_hstring("verticalSourceStartOffset"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("viewPadding"), ViewManagerPropertyType::Map);
nativeProps.Insert(winrt::to_hstring("viewportSize"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("virtualKey"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("visibility"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("volume"), ViewManagerPropertyType::Number);
nativeProps.Insert(winrt::to_hstring("watermarkMode"), ViewManagerPropertyType::Number);

Просмотреть файл

@ -76,13 +76,13 @@ namespace winrt::ReactNativeXaml {
else if (auto eventAttacher = m_xamlMetadata->AttachEvent(m_reactContext, propertyName, control, propertyValue.AsBoolean())) {
continue;
}
else if (propertyName == "type") { return; }
else if (propertyName == "type") { continue; }
else {
cdebug << "[react-native-xaml] Unhandled call to UpdateProperties " << propertyName << " on view: " << cn << "\n";
auto className = winrt::get_class_name(e);
if (IsDebuggerPresent()) {
assert(false && "unknown property");
}
//cdebug << "[react-native-xaml] Unhandled call to UpdateProperties " << propertyName << " on view: " << cn << "\n";
//auto className = winrt::get_class_name(e);
//if (IsDebuggerPresent()) {
// assert(false && "unknown property"); // this can happen e.g. for layout / style props, ignore unless debugging an issue
//}
}
}
}