win32more-Microsoft.WindowsAppSDK 0.6.1.8.251003001__py2.py3-none-any.whl → 0.7.1.5.240311000__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of win32more-Microsoft.WindowsAppSDK might be problematic. Click here for more details.

Files changed (89) hide show
  1. win32more/Microsoft/Foundation/__init__.py +2 -2
  2. win32more/Microsoft/Graphics/DirectX/__init__.py +1 -1
  3. win32more/Microsoft/Graphics/Display/__init__.py +9 -9
  4. win32more/Microsoft/UI/Composition/Core/__init__.py +9 -9
  5. win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +3 -3
  6. win32more/Microsoft/UI/Composition/Effects/__init__.py +11 -11
  7. win32more/Microsoft/UI/Composition/Interactions/__init__.py +95 -95
  8. win32more/Microsoft/UI/Composition/Scenes/__init__.py +81 -81
  9. win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +41 -41
  10. win32more/Microsoft/UI/Composition/__init__.py +261 -261
  11. win32more/Microsoft/UI/Content/__init__.py +55 -696
  12. win32more/Microsoft/UI/Dispatching/__init__.py +15 -15
  13. win32more/Microsoft/UI/Input/DragDrop/__init__.py +13 -13
  14. win32more/Microsoft/UI/Input/Interop/__init__.py +1 -1
  15. win32more/Microsoft/UI/Input/__init__.py +150 -376
  16. win32more/Microsoft/UI/System/__init__.py +5 -5
  17. win32more/Microsoft/UI/Text/__init__.py +26 -47
  18. win32more/Microsoft/UI/Windowing/__init__.py +42 -125
  19. win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +56 -78
  20. win32more/Microsoft/UI/Xaml/Automation/Provider/__init__.py +19 -19
  21. win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +1 -1
  22. win32more/Microsoft/UI/Xaml/Automation/__init__.py +41 -41
  23. win32more/Microsoft/UI/Xaml/Controls/AnimatedVisuals/__init__.py +17 -17
  24. win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +108 -107
  25. win32more/Microsoft/UI/Xaml/Controls/__init__.py +727 -1217
  26. win32more/Microsoft/UI/Xaml/Core/Direct/__init__.py +7 -0
  27. win32more/Microsoft/UI/Xaml/Data/__init__.py +31 -30
  28. win32more/Microsoft/UI/Xaml/Documents/__init__.py +38 -37
  29. win32more/Microsoft/UI/Xaml/Hosting/__init__.py +7 -7
  30. win32more/Microsoft/UI/Xaml/Input/__init__.py +38 -31
  31. win32more/Microsoft/UI/Xaml/Interop/__init__.py +3 -3
  32. win32more/Microsoft/UI/Xaml/Markup/__init__.py +19 -17
  33. win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +111 -109
  34. win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +11 -11
  35. win32more/Microsoft/UI/Xaml/Media/Media3D/__init__.py +2 -1
  36. win32more/Microsoft/UI/Xaml/Media/__init__.py +34 -28
  37. win32more/Microsoft/UI/Xaml/Navigation/__init__.py +1 -1
  38. win32more/Microsoft/UI/Xaml/Printing/__init__.py +7 -7
  39. win32more/Microsoft/UI/Xaml/Resources/__init__.py +3 -3
  40. win32more/Microsoft/UI/Xaml/Shapes/__init__.py +1 -1
  41. win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py +2 -2
  42. win32more/Microsoft/UI/Xaml/__init__.py +192 -260
  43. win32more/Microsoft/UI/__init__.py +6 -11
  44. win32more/Microsoft/Web/WebView2/Core/__init__.py +4686 -0
  45. win32more/Microsoft/Windows/AppLifecycle/__init__.py +21 -21
  46. win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +100 -100
  47. win32more/Microsoft/Windows/AppNotifications/__init__.py +46 -46
  48. win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +22 -21
  49. win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +60 -60
  50. win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +1 -118
  51. win32more/Microsoft/Windows/Management/Deployment/__init__.py +83 -143
  52. win32more/Microsoft/Windows/PushNotifications/__init__.py +6 -5
  53. win32more/Microsoft/Windows/Security/AccessControl/__init__.py +7 -6
  54. win32more/Microsoft/Windows/System/Power/__init__.py +23 -12
  55. win32more/Microsoft/Windows/System/__init__.py +15 -15
  56. win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +25 -292
  57. win32more/Microsoft/Windows/Widgets/Providers/__init__.py +49 -260
  58. win32more/Microsoft/Windows/Widgets/__init__.py +2 -2
  59. win32more/appsdk/versioninfo.py +2 -2
  60. win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  61. win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  62. win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  63. win32more_microsoft_windowsappsdk-0.7.1.5.240311000.dist-info/METADATA +5 -0
  64. win32more_microsoft_windowsappsdk-0.7.1.5.240311000.dist-info/RECORD +66 -0
  65. {win32more_microsoft_windowsappsdk-0.6.1.8.251003001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.5.240311000.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +3 -5
  66. win32more/Microsoft/Graphics/Imaging/__init__.py +0 -77
  67. win32more/Microsoft/Security/Authentication/OAuth/__init__.py +0 -591
  68. win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +0 -197
  69. win32more/Microsoft/Windows/AI/Foundation/__init__.py +0 -46
  70. win32more/Microsoft/Windows/AI/Imaging/__init__.py +0 -365
  71. win32more/Microsoft/Windows/AI/MachineLearning/__init__.py +0 -122
  72. win32more/Microsoft/Windows/AI/Text/__init__.py +0 -498
  73. win32more/Microsoft/Windows/AI/__init__.py +0 -49
  74. win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +0 -27
  75. win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +0 -65
  76. win32more/Microsoft/Windows/BadgeNotifications/__init__.py +0 -53
  77. win32more/Microsoft/Windows/Foundation/__init__.py +0 -220
  78. win32more/Microsoft/Windows/Globalization/__init__.py +0 -38
  79. win32more/Microsoft/Windows/Media/Capture/__init__.py +0 -196
  80. win32more/Microsoft/Windows/Storage/Pickers/__init__.py +0 -258
  81. win32more/Microsoft/Windows/Storage/__init__.py +0 -178
  82. win32more/Microsoft/Windows/Widgets/Notifications/__init__.py +0 -193
  83. win32more/Microsoft/Windows/Workloads/__init__.py +0 -11
  84. win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  85. win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  86. win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  87. win32more_microsoft_windowsappsdk-0.6.1.8.251003001.dist-info/METADATA +0 -6
  88. win32more_microsoft_windowsappsdk-0.6.1.8.251003001.dist-info/RECORD +0 -85
  89. {win32more_microsoft_windowsappsdk-0.6.1.8.251003001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.5.240311000.dist-info}/WHEEL +0 -0
@@ -1,5 +1,5 @@
1
1
  from __future__ import annotations
2
- from win32more.winrt.prelude import *
2
+ from win32more._prelude import *
3
3
  import win32more.Microsoft.UI.Composition
4
4
  import win32more.Microsoft.UI.Content
5
5
  import win32more.Microsoft.UI.Dispatching
@@ -123,8 +123,8 @@ class Application(ComPtr, metaclass=_Application_Meta_):
123
123
  RequestedTheme = property(get_RequestedTheme, put_RequestedTheme)
124
124
  Resources = property(get_Resources, put_Resources)
125
125
  _Application_Meta_.Current = property(get_Current, None)
126
- UnhandledException = event()
127
- ResourceManagerRequested = event()
126
+ ResourceManagerRequested = event(add_ResourceManagerRequested, remove_ResourceManagerRequested)
127
+ UnhandledException = event(add_UnhandledException, remove_UnhandledException)
128
128
  class ApplicationHighContrastAdjustment(Enum, UInt32):
129
129
  None_ = 0
130
130
  Auto = 4294967295
@@ -189,7 +189,7 @@ class BindingFailedEventArgs(ComPtr):
189
189
  default_interface: win32more.Microsoft.UI.Xaml.IBindingFailedEventArgs
190
190
  _classid_ = 'Microsoft.UI.Xaml.BindingFailedEventArgs'
191
191
  @winrt_mixinmethod
192
- def get_Message(self: win32more.Microsoft.UI.Xaml.IBindingFailedEventArgs) -> WinRT_String: ...
192
+ def get_Message(self: win32more.Microsoft.UI.Xaml.IBindingFailedEventArgs) -> hstr: ...
193
193
  Message = property(get_Message, None)
194
194
  class BindingFailedEventHandler(MulticastDelegate):
195
195
  extends: IUnknown
@@ -446,6 +446,7 @@ class ColorPaletteResources(ComPtr):
446
446
  ListLow = property(get_ListLow, put_ListLow)
447
447
  ListMedium = property(get_ListMedium, put_ListMedium)
448
448
  class CornerRadius(Structure):
449
+ _name_ = 'Microsoft.UI.Xaml.CornerRadius'
449
450
  TopLeft: Double
450
451
  TopRight: Double
451
452
  BottomRight: Double
@@ -572,8 +573,8 @@ class DebugSettings(ComPtr):
572
573
  IsXamlResourceReferenceTracingEnabled = property(get_IsXamlResourceReferenceTracingEnabled, put_IsXamlResourceReferenceTracingEnabled)
573
574
  LayoutCycleDebugBreakLevel = property(get_LayoutCycleDebugBreakLevel, put_LayoutCycleDebugBreakLevel)
574
575
  LayoutCycleTracingLevel = property(get_LayoutCycleTracingLevel, put_LayoutCycleTracingLevel)
575
- BindingFailed = event()
576
- XamlResourceReferenceFailed = event()
576
+ BindingFailed = event(add_BindingFailed, remove_BindingFailed)
577
+ XamlResourceReferenceFailed = event(add_XamlResourceReferenceFailed, remove_XamlResourceReferenceFailed)
577
578
  class DependencyObject(ComPtr):
578
579
  extends: IInspectable
579
580
  default_interface: win32more.Microsoft.UI.Xaml.IDependencyObject
@@ -652,7 +653,7 @@ class DependencyObjectCollection(ComPtr):
652
653
  @winrt_mixinmethod
653
654
  def First(self: win32more.Windows.Foundation.Collections.IIterable[win32more.Microsoft.UI.Xaml.DependencyObject]) -> win32more.Windows.Foundation.Collections.IIterator[win32more.Microsoft.UI.Xaml.DependencyObject]: ...
654
655
  Size = property(get_Size, None)
655
- VectorChanged = event()
656
+ VectorChanged = event(add_VectorChanged, remove_VectorChanged)
656
657
  class _DependencyProperty_Meta_(ComPtr.__class__):
657
658
  pass
658
659
  class DependencyProperty(ComPtr, metaclass=_DependencyProperty_Meta_):
@@ -664,9 +665,9 @@ class DependencyProperty(ComPtr, metaclass=_DependencyProperty_Meta_):
664
665
  @winrt_classmethod
665
666
  def get_UnsetValue(cls: win32more.Microsoft.UI.Xaml.IDependencyPropertyStatics) -> IInspectable: ...
666
667
  @winrt_classmethod
667
- def Register(cls: win32more.Microsoft.UI.Xaml.IDependencyPropertyStatics, name: WinRT_String, propertyType: win32more.Windows.UI.Xaml.Interop.TypeName, ownerType: win32more.Windows.UI.Xaml.Interop.TypeName, typeMetadata: win32more.Microsoft.UI.Xaml.PropertyMetadata) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
668
+ def Register(cls: win32more.Microsoft.UI.Xaml.IDependencyPropertyStatics, name: hstr, propertyType: win32more.Windows.UI.Xaml.Interop.TypeName, ownerType: win32more.Windows.UI.Xaml.Interop.TypeName, typeMetadata: win32more.Microsoft.UI.Xaml.PropertyMetadata) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
668
669
  @winrt_classmethod
669
- def RegisterAttached(cls: win32more.Microsoft.UI.Xaml.IDependencyPropertyStatics, name: WinRT_String, propertyType: win32more.Windows.UI.Xaml.Interop.TypeName, ownerType: win32more.Windows.UI.Xaml.Interop.TypeName, defaultMetadata: win32more.Microsoft.UI.Xaml.PropertyMetadata) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
670
+ def RegisterAttached(cls: win32more.Microsoft.UI.Xaml.IDependencyPropertyStatics, name: hstr, propertyType: win32more.Windows.UI.Xaml.Interop.TypeName, ownerType: win32more.Windows.UI.Xaml.Interop.TypeName, defaultMetadata: win32more.Microsoft.UI.Xaml.PropertyMetadata) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
670
671
  _DependencyProperty_Meta_.UnsetValue = property(get_UnsetValue, None)
671
672
  class DependencyPropertyChangedCallback(MulticastDelegate):
672
673
  extends: IUnknown
@@ -723,7 +724,7 @@ class DispatcherTimer(ComPtr):
723
724
  def Stop(self: win32more.Microsoft.UI.Xaml.IDispatcherTimer) -> Void: ...
724
725
  Interval = property(get_Interval, put_Interval)
725
726
  IsEnabled = property(get_IsEnabled, None)
726
- Tick = event()
727
+ Tick = event(add_Tick, remove_Tick)
727
728
  class DragEventArgs(ComPtr):
728
729
  extends: win32more.Microsoft.UI.Xaml.RoutedEventArgs
729
730
  default_interface: win32more.Microsoft.UI.Xaml.IDragEventArgs
@@ -813,9 +814,9 @@ class DragUIOverride(ComPtr):
813
814
  default_interface: win32more.Microsoft.UI.Xaml.IDragUIOverride
814
815
  _classid_ = 'Microsoft.UI.Xaml.DragUIOverride'
815
816
  @winrt_mixinmethod
816
- def get_Caption(self: win32more.Microsoft.UI.Xaml.IDragUIOverride) -> WinRT_String: ...
817
+ def get_Caption(self: win32more.Microsoft.UI.Xaml.IDragUIOverride) -> hstr: ...
817
818
  @winrt_mixinmethod
818
- def put_Caption(self: win32more.Microsoft.UI.Xaml.IDragUIOverride, value: WinRT_String) -> Void: ...
819
+ def put_Caption(self: win32more.Microsoft.UI.Xaml.IDragUIOverride, value: hstr) -> Void: ...
819
820
  @winrt_mixinmethod
820
821
  def get_IsContentVisible(self: win32more.Microsoft.UI.Xaml.IDragUIOverride) -> Boolean: ...
821
822
  @winrt_mixinmethod
@@ -850,6 +851,7 @@ class DropCompletedEventArgs(ComPtr):
850
851
  def get_DropResult(self: win32more.Microsoft.UI.Xaml.IDropCompletedEventArgs) -> win32more.Windows.ApplicationModel.DataTransfer.DataPackageOperation: ...
851
852
  DropResult = property(get_DropResult, None)
852
853
  class Duration(Structure):
854
+ _name_ = 'Microsoft.UI.Xaml.Duration'
853
855
  TimeSpan: win32more.Windows.Foundation.TimeSpan
854
856
  Type: win32more.Microsoft.UI.Xaml.DurationType
855
857
  class _DurationHelper_Meta_(ComPtr.__class__):
@@ -1024,7 +1026,7 @@ class ExceptionRoutedEventArgs(ComPtr):
1024
1026
  default_interface: win32more.Microsoft.UI.Xaml.IExceptionRoutedEventArgs
1025
1027
  _classid_ = 'Microsoft.UI.Xaml.ExceptionRoutedEventArgs'
1026
1028
  @winrt_mixinmethod
1027
- def get_ErrorMessage(self: win32more.Microsoft.UI.Xaml.IExceptionRoutedEventArgs) -> WinRT_String: ...
1029
+ def get_ErrorMessage(self: win32more.Microsoft.UI.Xaml.IExceptionRoutedEventArgs) -> hstr: ...
1028
1030
  ErrorMessage = property(get_ErrorMessage, None)
1029
1031
  class ExceptionRoutedEventHandler(MulticastDelegate):
1030
1032
  extends: IUnknown
@@ -1114,9 +1116,9 @@ class FrameworkElement(ComPtr, metaclass=_FrameworkElement_Meta_):
1114
1116
  @winrt_mixinmethod
1115
1117
  def put_Tag(self: win32more.Microsoft.UI.Xaml.IFrameworkElement, value: IInspectable) -> Void: ...
1116
1118
  @winrt_mixinmethod
1117
- def get_Language(self: win32more.Microsoft.UI.Xaml.IFrameworkElement) -> WinRT_String: ...
1119
+ def get_Language(self: win32more.Microsoft.UI.Xaml.IFrameworkElement) -> hstr: ...
1118
1120
  @winrt_mixinmethod
1119
- def put_Language(self: win32more.Microsoft.UI.Xaml.IFrameworkElement, value: WinRT_String) -> Void: ...
1121
+ def put_Language(self: win32more.Microsoft.UI.Xaml.IFrameworkElement, value: hstr) -> Void: ...
1120
1122
  @winrt_mixinmethod
1121
1123
  def get_ActualWidth(self: win32more.Microsoft.UI.Xaml.IFrameworkElement) -> Double: ...
1122
1124
  @winrt_mixinmethod
@@ -1158,9 +1160,9 @@ class FrameworkElement(ComPtr, metaclass=_FrameworkElement_Meta_):
1158
1160
  @winrt_mixinmethod
1159
1161
  def put_Margin(self: win32more.Microsoft.UI.Xaml.IFrameworkElement, value: win32more.Microsoft.UI.Xaml.Thickness) -> Void: ...
1160
1162
  @winrt_mixinmethod
1161
- def get_Name(self: win32more.Microsoft.UI.Xaml.IFrameworkElement) -> WinRT_String: ...
1163
+ def get_Name(self: win32more.Microsoft.UI.Xaml.IFrameworkElement) -> hstr: ...
1162
1164
  @winrt_mixinmethod
1163
- def put_Name(self: win32more.Microsoft.UI.Xaml.IFrameworkElement, value: WinRT_String) -> Void: ...
1165
+ def put_Name(self: win32more.Microsoft.UI.Xaml.IFrameworkElement, value: hstr) -> Void: ...
1164
1166
  @winrt_mixinmethod
1165
1167
  def get_BaseUri(self: win32more.Microsoft.UI.Xaml.IFrameworkElement) -> win32more.Windows.Foundation.Uri: ...
1166
1168
  @winrt_mixinmethod
@@ -1246,7 +1248,7 @@ class FrameworkElement(ComPtr, metaclass=_FrameworkElement_Meta_):
1246
1248
  @winrt_mixinmethod
1247
1249
  def remove_EffectiveViewportChanged(self: win32more.Microsoft.UI.Xaml.IFrameworkElement, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
1248
1250
  @winrt_mixinmethod
1249
- def FindName(self: win32more.Microsoft.UI.Xaml.IFrameworkElement, name: WinRT_String) -> IInspectable: ...
1251
+ def FindName(self: win32more.Microsoft.UI.Xaml.IFrameworkElement, name: hstr) -> IInspectable: ...
1250
1252
  @winrt_mixinmethod
1251
1253
  def SetBinding(self: win32more.Microsoft.UI.Xaml.IFrameworkElement, dp: win32more.Microsoft.UI.Xaml.DependencyProperty, binding: win32more.Microsoft.UI.Xaml.Data.BindingBase) -> Void: ...
1252
1254
  @winrt_mixinmethod
@@ -1260,7 +1262,7 @@ class FrameworkElement(ComPtr, metaclass=_FrameworkElement_Meta_):
1260
1262
  @winrt_mixinmethod
1261
1263
  def OnApplyTemplate(self: win32more.Microsoft.UI.Xaml.IFrameworkElementOverrides) -> Void: ...
1262
1264
  @winrt_mixinmethod
1263
- def GoToElementStateCore(self: win32more.Microsoft.UI.Xaml.IFrameworkElementOverrides, stateName: WinRT_String, useTransitions: Boolean) -> Boolean: ...
1265
+ def GoToElementStateCore(self: win32more.Microsoft.UI.Xaml.IFrameworkElementOverrides, stateName: hstr, useTransitions: Boolean) -> Boolean: ...
1264
1266
  @winrt_classmethod
1265
1267
  def get_TagProperty(cls: win32more.Microsoft.UI.Xaml.IFrameworkElementStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
1266
1268
  @winrt_classmethod
@@ -1372,14 +1374,14 @@ class FrameworkElement(ComPtr, metaclass=_FrameworkElement_Meta_):
1372
1374
  _FrameworkElement_Meta_.TagProperty = property(get_TagProperty, None)
1373
1375
  _FrameworkElement_Meta_.VerticalAlignmentProperty = property(get_VerticalAlignmentProperty, None)
1374
1376
  _FrameworkElement_Meta_.WidthProperty = property(get_WidthProperty, None)
1375
- Loaded = event()
1376
- Unloaded = event()
1377
- DataContextChanged = event()
1378
- SizeChanged = event()
1379
- LayoutUpdated = event()
1380
- Loading = event()
1381
- ActualThemeChanged = event()
1382
- EffectiveViewportChanged = event()
1377
+ ActualThemeChanged = event(add_ActualThemeChanged, remove_ActualThemeChanged)
1378
+ DataContextChanged = event(add_DataContextChanged, remove_DataContextChanged)
1379
+ EffectiveViewportChanged = event(add_EffectiveViewportChanged, remove_EffectiveViewportChanged)
1380
+ LayoutUpdated = event(add_LayoutUpdated, remove_LayoutUpdated)
1381
+ Loaded = event(add_Loaded, remove_Loaded)
1382
+ Loading = event(add_Loading, remove_Loading)
1383
+ SizeChanged = event(add_SizeChanged, remove_SizeChanged)
1384
+ Unloaded = event(add_Unloaded, remove_Unloaded)
1383
1385
  class FrameworkTemplate(ComPtr):
1384
1386
  extends: win32more.Microsoft.UI.Xaml.DependencyObject
1385
1387
  default_interface: win32more.Microsoft.UI.Xaml.IFrameworkTemplate
@@ -1411,7 +1413,7 @@ class FrameworkView(ComPtr):
1411
1413
  @winrt_mixinmethod
1412
1414
  def SetWindow(self: win32more.Windows.ApplicationModel.Core.IFrameworkView, window: win32more.Windows.UI.Core.CoreWindow) -> Void: ...
1413
1415
  @winrt_mixinmethod
1414
- def Load(self: win32more.Windows.ApplicationModel.Core.IFrameworkView, entryPoint: WinRT_String) -> Void: ...
1416
+ def Load(self: win32more.Windows.ApplicationModel.Core.IFrameworkView, entryPoint: hstr) -> Void: ...
1415
1417
  @winrt_mixinmethod
1416
1418
  def Run(self: win32more.Windows.ApplicationModel.Core.IFrameworkView) -> Void: ...
1417
1419
  @winrt_mixinmethod
@@ -1432,6 +1434,7 @@ class FrameworkViewSource(ComPtr):
1432
1434
  @winrt_mixinmethod
1433
1435
  def CreateView(self: win32more.Windows.ApplicationModel.Core.IFrameworkViewSource) -> win32more.Windows.ApplicationModel.Core.IFrameworkView: ...
1434
1436
  class GridLength(Structure):
1437
+ _name_ = 'Microsoft.UI.Xaml.GridLength'
1435
1438
  Value: Double
1436
1439
  GridUnitType: win32more.Microsoft.UI.Xaml.GridUnitType
1437
1440
  class _GridLengthHelper_Meta_(ComPtr.__class__):
@@ -1527,7 +1530,7 @@ class IApplication(ComPtr):
1527
1530
  HighContrastAdjustment = property(get_HighContrastAdjustment, put_HighContrastAdjustment)
1528
1531
  RequestedTheme = property(get_RequestedTheme, put_RequestedTheme)
1529
1532
  Resources = property(get_Resources, put_Resources)
1530
- UnhandledException = event()
1533
+ UnhandledException = event(add_UnhandledException, remove_UnhandledException)
1531
1534
  class IApplication2(ComPtr):
1532
1535
  extends: IInspectable
1533
1536
  _classid_ = 'Microsoft.UI.Xaml.IApplication2'
@@ -1536,7 +1539,7 @@ class IApplication2(ComPtr):
1536
1539
  def add_ResourceManagerRequested(self, handler: win32more.Windows.Foundation.TypedEventHandler[IInspectable, win32more.Microsoft.UI.Xaml.ResourceManagerRequestedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
1537
1540
  @winrt_commethod(7)
1538
1541
  def remove_ResourceManagerRequested(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
1539
- ResourceManagerRequested = event()
1542
+ ResourceManagerRequested = event(add_ResourceManagerRequested, remove_ResourceManagerRequested)
1540
1543
  class IApplication3(ComPtr):
1541
1544
  extends: IInspectable
1542
1545
  _classid_ = 'Microsoft.UI.Xaml.IApplication3'
@@ -1580,7 +1583,7 @@ class IBindingFailedEventArgs(ComPtr):
1580
1583
  _classid_ = 'Microsoft.UI.Xaml.IBindingFailedEventArgs'
1581
1584
  _iid_ = Guid('{a7bf50f3-dbc0-5b44-be74-56e8f80fd716}')
1582
1585
  @winrt_commethod(6)
1583
- def get_Message(self) -> WinRT_String: ...
1586
+ def get_Message(self) -> hstr: ...
1584
1587
  Message = property(get_Message, None)
1585
1588
  class IBringIntoViewOptions(ComPtr):
1586
1589
  extends: IInspectable
@@ -1918,7 +1921,7 @@ class IDebugSettings(ComPtr):
1918
1921
  FailFastOnErrors = property(get_FailFastOnErrors, put_FailFastOnErrors)
1919
1922
  IsBindingTracingEnabled = property(get_IsBindingTracingEnabled, put_IsBindingTracingEnabled)
1920
1923
  IsTextPerformanceVisualizationEnabled = property(get_IsTextPerformanceVisualizationEnabled, put_IsTextPerformanceVisualizationEnabled)
1921
- BindingFailed = event()
1924
+ BindingFailed = event(add_BindingFailed, remove_BindingFailed)
1922
1925
  class IDebugSettings2(ComPtr):
1923
1926
  extends: IInspectable
1924
1927
  _classid_ = 'Microsoft.UI.Xaml.IDebugSettings2'
@@ -1932,7 +1935,7 @@ class IDebugSettings2(ComPtr):
1932
1935
  @winrt_commethod(9)
1933
1936
  def remove_XamlResourceReferenceFailed(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
1934
1937
  IsXamlResourceReferenceTracingEnabled = property(get_IsXamlResourceReferenceTracingEnabled, put_IsXamlResourceReferenceTracingEnabled)
1935
- XamlResourceReferenceFailed = event()
1938
+ XamlResourceReferenceFailed = event(add_XamlResourceReferenceFailed, remove_XamlResourceReferenceFailed)
1936
1939
  class IDebugSettings3(ComPtr):
1937
1940
  extends: IInspectable
1938
1941
  _classid_ = 'Microsoft.UI.Xaml.IDebugSettings3'
@@ -2009,9 +2012,9 @@ class IDependencyPropertyStatics(ComPtr):
2009
2012
  @winrt_commethod(6)
2010
2013
  def get_UnsetValue(self) -> IInspectable: ...
2011
2014
  @winrt_commethod(7)
2012
- def Register(self, name: WinRT_String, propertyType: win32more.Windows.UI.Xaml.Interop.TypeName, ownerType: win32more.Windows.UI.Xaml.Interop.TypeName, typeMetadata: win32more.Microsoft.UI.Xaml.PropertyMetadata) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
2015
+ def Register(self, name: hstr, propertyType: win32more.Windows.UI.Xaml.Interop.TypeName, ownerType: win32more.Windows.UI.Xaml.Interop.TypeName, typeMetadata: win32more.Microsoft.UI.Xaml.PropertyMetadata) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
2013
2016
  @winrt_commethod(8)
2014
- def RegisterAttached(self, name: WinRT_String, propertyType: win32more.Windows.UI.Xaml.Interop.TypeName, ownerType: win32more.Windows.UI.Xaml.Interop.TypeName, defaultMetadata: win32more.Microsoft.UI.Xaml.PropertyMetadata) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
2017
+ def RegisterAttached(self, name: hstr, propertyType: win32more.Windows.UI.Xaml.Interop.TypeName, ownerType: win32more.Windows.UI.Xaml.Interop.TypeName, defaultMetadata: win32more.Microsoft.UI.Xaml.PropertyMetadata) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
2015
2018
  UnsetValue = property(get_UnsetValue, None)
2016
2019
  class IDispatcherTimer(ComPtr):
2017
2020
  extends: IInspectable
@@ -2033,7 +2036,7 @@ class IDispatcherTimer(ComPtr):
2033
2036
  def Stop(self) -> Void: ...
2034
2037
  Interval = property(get_Interval, put_Interval)
2035
2038
  IsEnabled = property(get_IsEnabled, None)
2036
- Tick = event()
2039
+ Tick = event(add_Tick, remove_Tick)
2037
2040
  class IDispatcherTimerFactory(ComPtr):
2038
2041
  extends: IInspectable
2039
2042
  _classid_ = 'Microsoft.UI.Xaml.IDispatcherTimerFactory'
@@ -2124,9 +2127,9 @@ class IDragUIOverride(ComPtr):
2124
2127
  _classid_ = 'Microsoft.UI.Xaml.IDragUIOverride'
2125
2128
  _iid_ = Guid('{3260b18b-70df-5df2-b98a-56beb0601f79}')
2126
2129
  @winrt_commethod(6)
2127
- def get_Caption(self) -> WinRT_String: ...
2130
+ def get_Caption(self) -> hstr: ...
2128
2131
  @winrt_commethod(7)
2129
- def put_Caption(self, value: WinRT_String) -> Void: ...
2132
+ def put_Caption(self, value: hstr) -> Void: ...
2130
2133
  @winrt_commethod(8)
2131
2134
  def get_IsContentVisible(self) -> Boolean: ...
2132
2135
  @winrt_commethod(9)
@@ -2292,7 +2295,7 @@ class IExceptionRoutedEventArgs(ComPtr):
2292
2295
  _classid_ = 'Microsoft.UI.Xaml.IExceptionRoutedEventArgs'
2293
2296
  _iid_ = Guid('{e8bcb6d2-d3f5-5393-a84f-dfcd44a2df34}')
2294
2297
  @winrt_commethod(6)
2295
- def get_ErrorMessage(self) -> WinRT_String: ...
2298
+ def get_ErrorMessage(self) -> hstr: ...
2296
2299
  ErrorMessage = property(get_ErrorMessage, None)
2297
2300
  class IExceptionRoutedEventArgsFactory(ComPtr):
2298
2301
  extends: IInspectable
@@ -2313,9 +2316,9 @@ class IFrameworkElement(ComPtr):
2313
2316
  @winrt_commethod(10)
2314
2317
  def put_Tag(self, value: IInspectable) -> Void: ...
2315
2318
  @winrt_commethod(11)
2316
- def get_Language(self) -> WinRT_String: ...
2319
+ def get_Language(self) -> hstr: ...
2317
2320
  @winrt_commethod(12)
2318
- def put_Language(self, value: WinRT_String) -> Void: ...
2321
+ def put_Language(self, value: hstr) -> Void: ...
2319
2322
  @winrt_commethod(13)
2320
2323
  def get_ActualWidth(self) -> Double: ...
2321
2324
  @winrt_commethod(14)
@@ -2357,9 +2360,9 @@ class IFrameworkElement(ComPtr):
2357
2360
  @winrt_commethod(32)
2358
2361
  def put_Margin(self, value: win32more.Microsoft.UI.Xaml.Thickness) -> Void: ...
2359
2362
  @winrt_commethod(33)
2360
- def get_Name(self) -> WinRT_String: ...
2363
+ def get_Name(self) -> hstr: ...
2361
2364
  @winrt_commethod(34)
2362
- def put_Name(self, value: WinRT_String) -> Void: ...
2365
+ def put_Name(self, value: hstr) -> Void: ...
2363
2366
  @winrt_commethod(35)
2364
2367
  def get_BaseUri(self) -> win32more.Windows.Foundation.Uri: ...
2365
2368
  @winrt_commethod(36)
@@ -2445,7 +2448,7 @@ class IFrameworkElement(ComPtr):
2445
2448
  @winrt_commethod(76)
2446
2449
  def remove_EffectiveViewportChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
2447
2450
  @winrt_commethod(77)
2448
- def FindName(self, name: WinRT_String) -> IInspectable: ...
2451
+ def FindName(self, name: hstr) -> IInspectable: ...
2449
2452
  @winrt_commethod(78)
2450
2453
  def SetBinding(self, dp: win32more.Microsoft.UI.Xaml.DependencyProperty, binding: win32more.Microsoft.UI.Xaml.Data.BindingBase) -> Void: ...
2451
2454
  @winrt_commethod(79)
@@ -2481,14 +2484,14 @@ class IFrameworkElement(ComPtr):
2481
2484
  Triggers = property(get_Triggers, None)
2482
2485
  VerticalAlignment = property(get_VerticalAlignment, put_VerticalAlignment)
2483
2486
  Width = property(get_Width, put_Width)
2484
- Loaded = event()
2485
- Unloaded = event()
2486
- DataContextChanged = event()
2487
- SizeChanged = event()
2488
- LayoutUpdated = event()
2489
- Loading = event()
2490
- ActualThemeChanged = event()
2491
- EffectiveViewportChanged = event()
2487
+ ActualThemeChanged = event(add_ActualThemeChanged, remove_ActualThemeChanged)
2488
+ DataContextChanged = event(add_DataContextChanged, remove_DataContextChanged)
2489
+ EffectiveViewportChanged = event(add_EffectiveViewportChanged, remove_EffectiveViewportChanged)
2490
+ LayoutUpdated = event(add_LayoutUpdated, remove_LayoutUpdated)
2491
+ Loaded = event(add_Loaded, remove_Loaded)
2492
+ Loading = event(add_Loading, remove_Loading)
2493
+ SizeChanged = event(add_SizeChanged, remove_SizeChanged)
2494
+ Unloaded = event(add_Unloaded, remove_Unloaded)
2492
2495
  class IFrameworkElementFactory(ComPtr):
2493
2496
  extends: IInspectable
2494
2497
  _classid_ = 'Microsoft.UI.Xaml.IFrameworkElementFactory'
@@ -2506,7 +2509,7 @@ class IFrameworkElementOverrides(ComPtr):
2506
2509
  @winrt_commethod(8)
2507
2510
  def OnApplyTemplate(self) -> Void: ...
2508
2511
  @winrt_commethod(9)
2509
- def GoToElementStateCore(self, stateName: WinRT_String, useTransitions: Boolean) -> Boolean: ...
2512
+ def GoToElementStateCore(self, stateName: hstr, useTransitions: Boolean) -> Boolean: ...
2510
2513
  class IFrameworkElementProtected(ComPtr):
2511
2514
  extends: IInspectable
2512
2515
  _classid_ = 'Microsoft.UI.Xaml.IFrameworkElementProtected'
@@ -2643,7 +2646,7 @@ class ILaunchActivatedEventArgs(ComPtr):
2643
2646
  _classid_ = 'Microsoft.UI.Xaml.ILaunchActivatedEventArgs'
2644
2647
  _iid_ = Guid('{d505cea9-1bcb-5b29-a8be-944e00f06f78}')
2645
2648
  @winrt_commethod(6)
2646
- def get_Arguments(self) -> WinRT_String: ...
2649
+ def get_Arguments(self) -> hstr: ...
2647
2650
  @winrt_commethod(7)
2648
2651
  def get_UWPLaunchActivatedEventArgs(self) -> win32more.Windows.ApplicationModel.Activation.LaunchActivatedEventArgs: ...
2649
2652
  Arguments = property(get_Arguments, None)
@@ -2653,7 +2656,7 @@ class IMediaFailedRoutedEventArgs(ComPtr):
2653
2656
  _classid_ = 'Microsoft.UI.Xaml.IMediaFailedRoutedEventArgs'
2654
2657
  _iid_ = Guid('{a1dce737-539b-5e54-99af-75ece428bf9b}')
2655
2658
  @winrt_commethod(6)
2656
- def get_ErrorTrace(self) -> WinRT_String: ...
2659
+ def get_ErrorTrace(self) -> hstr: ...
2657
2660
  ErrorTrace = property(get_ErrorTrace, None)
2658
2661
  class IPointHelper(ComPtr):
2659
2662
  extends: IInspectable
@@ -2700,14 +2703,14 @@ class IPropertyPath(ComPtr):
2700
2703
  _classid_ = 'Microsoft.UI.Xaml.IPropertyPath'
2701
2704
  _iid_ = Guid('{8b0712f6-9e57-53b0-80b1-966a79f60b96}')
2702
2705
  @winrt_commethod(6)
2703
- def get_Path(self) -> WinRT_String: ...
2706
+ def get_Path(self) -> hstr: ...
2704
2707
  Path = property(get_Path, None)
2705
2708
  class IPropertyPathFactory(ComPtr):
2706
2709
  extends: IInspectable
2707
2710
  _classid_ = 'Microsoft.UI.Xaml.IPropertyPathFactory'
2708
2711
  _iid_ = Guid('{08a8ccab-7ff8-5cec-bd3c-72c98804d989}')
2709
2712
  @winrt_commethod(6)
2710
- def CreateInstance(self, path: WinRT_String) -> win32more.Microsoft.UI.Xaml.PropertyPath: ...
2713
+ def CreateInstance(self, path: hstr) -> win32more.Microsoft.UI.Xaml.PropertyPath: ...
2711
2714
  class IRectHelper(ComPtr):
2712
2715
  extends: IInspectable
2713
2716
  _classid_ = 'Microsoft.UI.Xaml.IRectHelper'
@@ -3094,9 +3097,9 @@ class IUIElement(ComPtr):
3094
3097
  @winrt_commethod(57)
3095
3098
  def put_AccessKeyScopeOwner(self, value: win32more.Microsoft.UI.Xaml.DependencyObject) -> Void: ...
3096
3099
  @winrt_commethod(58)
3097
- def get_AccessKey(self) -> WinRT_String: ...
3100
+ def get_AccessKey(self) -> hstr: ...
3098
3101
  @winrt_commethod(59)
3099
- def put_AccessKey(self, value: WinRT_String) -> Void: ...
3102
+ def put_AccessKey(self, value: hstr) -> Void: ...
3100
3103
  @winrt_commethod(60)
3101
3104
  def get_KeyTipPlacementMode(self) -> win32more.Microsoft.UI.Xaml.Input.KeyTipPlacementMode: ...
3102
3105
  @winrt_commethod(61)
@@ -3501,46 +3504,46 @@ class IUIElement(ComPtr):
3501
3504
  XYFocusUp = property(get_XYFocusUp, put_XYFocusUp)
3502
3505
  XYFocusUpNavigationStrategy = property(get_XYFocusUpNavigationStrategy, put_XYFocusUpNavigationStrategy)
3503
3506
  XamlRoot = property(get_XamlRoot, put_XamlRoot)
3504
- KeyUp = event()
3505
- KeyDown = event()
3506
- GotFocus = event()
3507
- LostFocus = event()
3508
- DragStarting = event()
3509
- DropCompleted = event()
3510
- CharacterReceived = event()
3511
- DragEnter = event()
3512
- DragLeave = event()
3513
- DragOver = event()
3514
- Drop = event()
3515
- PointerPressed = event()
3516
- PointerMoved = event()
3517
- PointerReleased = event()
3518
- PointerEntered = event()
3519
- PointerExited = event()
3520
- PointerCaptureLost = event()
3521
- PointerCanceled = event()
3522
- PointerWheelChanged = event()
3523
- Tapped = event()
3524
- DoubleTapped = event()
3525
- Holding = event()
3526
- ContextRequested = event()
3527
- ContextCanceled = event()
3528
- RightTapped = event()
3529
- ManipulationStarting = event()
3530
- ManipulationInertiaStarting = event()
3531
- ManipulationStarted = event()
3532
- ManipulationDelta = event()
3533
- ManipulationCompleted = event()
3534
- AccessKeyDisplayRequested = event()
3535
- AccessKeyDisplayDismissed = event()
3536
- AccessKeyInvoked = event()
3537
- ProcessKeyboardAccelerators = event()
3538
- GettingFocus = event()
3539
- LosingFocus = event()
3540
- NoFocusCandidateFound = event()
3541
- PreviewKeyDown = event()
3542
- PreviewKeyUp = event()
3543
- BringIntoViewRequested = event()
3507
+ AccessKeyDisplayDismissed = event(add_AccessKeyDisplayDismissed, remove_AccessKeyDisplayDismissed)
3508
+ AccessKeyDisplayRequested = event(add_AccessKeyDisplayRequested, remove_AccessKeyDisplayRequested)
3509
+ AccessKeyInvoked = event(add_AccessKeyInvoked, remove_AccessKeyInvoked)
3510
+ BringIntoViewRequested = event(add_BringIntoViewRequested, remove_BringIntoViewRequested)
3511
+ CharacterReceived = event(add_CharacterReceived, remove_CharacterReceived)
3512
+ ContextCanceled = event(add_ContextCanceled, remove_ContextCanceled)
3513
+ ContextRequested = event(add_ContextRequested, remove_ContextRequested)
3514
+ DoubleTapped = event(add_DoubleTapped, remove_DoubleTapped)
3515
+ DragEnter = event(add_DragEnter, remove_DragEnter)
3516
+ DragLeave = event(add_DragLeave, remove_DragLeave)
3517
+ DragOver = event(add_DragOver, remove_DragOver)
3518
+ DragStarting = event(add_DragStarting, remove_DragStarting)
3519
+ Drop = event(add_Drop, remove_Drop)
3520
+ DropCompleted = event(add_DropCompleted, remove_DropCompleted)
3521
+ GettingFocus = event(add_GettingFocus, remove_GettingFocus)
3522
+ GotFocus = event(add_GotFocus, remove_GotFocus)
3523
+ Holding = event(add_Holding, remove_Holding)
3524
+ KeyDown = event(add_KeyDown, remove_KeyDown)
3525
+ KeyUp = event(add_KeyUp, remove_KeyUp)
3526
+ LosingFocus = event(add_LosingFocus, remove_LosingFocus)
3527
+ LostFocus = event(add_LostFocus, remove_LostFocus)
3528
+ ManipulationCompleted = event(add_ManipulationCompleted, remove_ManipulationCompleted)
3529
+ ManipulationDelta = event(add_ManipulationDelta, remove_ManipulationDelta)
3530
+ ManipulationInertiaStarting = event(add_ManipulationInertiaStarting, remove_ManipulationInertiaStarting)
3531
+ ManipulationStarted = event(add_ManipulationStarted, remove_ManipulationStarted)
3532
+ ManipulationStarting = event(add_ManipulationStarting, remove_ManipulationStarting)
3533
+ NoFocusCandidateFound = event(add_NoFocusCandidateFound, remove_NoFocusCandidateFound)
3534
+ PointerCanceled = event(add_PointerCanceled, remove_PointerCanceled)
3535
+ PointerCaptureLost = event(add_PointerCaptureLost, remove_PointerCaptureLost)
3536
+ PointerEntered = event(add_PointerEntered, remove_PointerEntered)
3537
+ PointerExited = event(add_PointerExited, remove_PointerExited)
3538
+ PointerMoved = event(add_PointerMoved, remove_PointerMoved)
3539
+ PointerPressed = event(add_PointerPressed, remove_PointerPressed)
3540
+ PointerReleased = event(add_PointerReleased, remove_PointerReleased)
3541
+ PointerWheelChanged = event(add_PointerWheelChanged, remove_PointerWheelChanged)
3542
+ PreviewKeyDown = event(add_PreviewKeyDown, remove_PreviewKeyDown)
3543
+ PreviewKeyUp = event(add_PreviewKeyUp, remove_PreviewKeyUp)
3544
+ ProcessKeyboardAccelerators = event(add_ProcessKeyboardAccelerators, remove_ProcessKeyboardAccelerators)
3545
+ RightTapped = event(add_RightTapped, remove_RightTapped)
3546
+ Tapped = event(add_Tapped, remove_Tapped)
3544
3547
  class IUIElementFactory(ComPtr):
3545
3548
  extends: IInspectable
3546
3549
  _classid_ = 'Microsoft.UI.Xaml.IUIElementFactory'
@@ -3564,7 +3567,7 @@ class IUIElementOverrides(ComPtr):
3564
3567
  @winrt_commethod(12)
3565
3568
  def OnBringIntoViewRequested(self, e: win32more.Microsoft.UI.Xaml.BringIntoViewRequestedEventArgs) -> Void: ...
3566
3569
  @winrt_commethod(13)
3567
- def PopulatePropertyInfoOverride(self, propertyName: WinRT_String, animationPropertyInfo: win32more.Microsoft.UI.Composition.AnimationPropertyInfo) -> Void: ...
3570
+ def PopulatePropertyInfoOverride(self, propertyName: hstr, animationPropertyInfo: win32more.Microsoft.UI.Composition.AnimationPropertyInfo) -> Void: ...
3568
3571
  class IUIElementProtected(ComPtr):
3569
3572
  extends: IInspectable
3570
3573
  _classid_ = 'Microsoft.UI.Xaml.IUIElementProtected'
@@ -3835,7 +3838,7 @@ class IUnhandledExceptionEventArgs(ComPtr):
3835
3838
  @winrt_commethod(6)
3836
3839
  def get_Exception(self) -> win32more.Windows.Foundation.HResult: ...
3837
3840
  @winrt_commethod(7)
3838
- def get_Message(self) -> WinRT_String: ...
3841
+ def get_Message(self) -> hstr: ...
3839
3842
  @winrt_commethod(8)
3840
3843
  def get_Handled(self) -> Boolean: ...
3841
3844
  @winrt_commethod(9)
@@ -3868,7 +3871,7 @@ class IVisualState(ComPtr):
3868
3871
  _classid_ = 'Microsoft.UI.Xaml.IVisualState'
3869
3872
  _iid_ = Guid('{4bb32ae8-0e28-5521-a7f5-66b661372994}')
3870
3873
  @winrt_commethod(6)
3871
- def get_Name(self) -> WinRT_String: ...
3874
+ def get_Name(self) -> hstr: ...
3872
3875
  @winrt_commethod(7)
3873
3876
  def get_Storyboard(self) -> win32more.Microsoft.UI.Xaml.Media.Animation.Storyboard: ...
3874
3877
  @winrt_commethod(8)
@@ -3905,7 +3908,7 @@ class IVisualStateGroup(ComPtr):
3905
3908
  _classid_ = 'Microsoft.UI.Xaml.IVisualStateGroup'
3906
3909
  _iid_ = Guid('{8dfd691b-710c-5d6d-b71a-7a7f5ed54ac7}')
3907
3910
  @winrt_commethod(6)
3908
- def get_Name(self) -> WinRT_String: ...
3911
+ def get_Name(self) -> hstr: ...
3909
3912
  @winrt_commethod(7)
3910
3913
  def get_Transitions(self) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.UI.Xaml.VisualTransition]: ...
3911
3914
  @winrt_commethod(8)
@@ -3924,8 +3927,8 @@ class IVisualStateGroup(ComPtr):
3924
3927
  Name = property(get_Name, None)
3925
3928
  States = property(get_States, None)
3926
3929
  Transitions = property(get_Transitions, None)
3927
- CurrentStateChanged = event()
3928
- CurrentStateChanging = event()
3930
+ CurrentStateChanged = event(add_CurrentStateChanged, remove_CurrentStateChanged)
3931
+ CurrentStateChanging = event(add_CurrentStateChanging, remove_CurrentStateChanging)
3929
3932
  class IVisualStateManager(ComPtr):
3930
3933
  extends: IInspectable
3931
3934
  _classid_ = 'Microsoft.UI.Xaml.IVisualStateManager'
@@ -3941,7 +3944,7 @@ class IVisualStateManagerOverrides(ComPtr):
3941
3944
  _classid_ = 'Microsoft.UI.Xaml.IVisualStateManagerOverrides'
3942
3945
  _iid_ = Guid('{e3f8e9c9-9432-514c-923e-142cd8c82730}')
3943
3946
  @winrt_commethod(6)
3944
- def GoToStateCore(self, control: win32more.Microsoft.UI.Xaml.Controls.Control, templateRoot: win32more.Microsoft.UI.Xaml.FrameworkElement, stateName: WinRT_String, group: win32more.Microsoft.UI.Xaml.VisualStateGroup, state: win32more.Microsoft.UI.Xaml.VisualState, useTransitions: Boolean) -> Boolean: ...
3947
+ def GoToStateCore(self, control: win32more.Microsoft.UI.Xaml.Controls.Control, templateRoot: win32more.Microsoft.UI.Xaml.FrameworkElement, stateName: hstr, group: win32more.Microsoft.UI.Xaml.VisualStateGroup, state: win32more.Microsoft.UI.Xaml.VisualState, useTransitions: Boolean) -> Boolean: ...
3945
3948
  class IVisualStateManagerProtected(ComPtr):
3946
3949
  extends: IInspectable
3947
3950
  _classid_ = 'Microsoft.UI.Xaml.IVisualStateManagerProtected'
@@ -3963,7 +3966,7 @@ class IVisualStateManagerStatics(ComPtr):
3963
3966
  @winrt_commethod(9)
3964
3967
  def SetCustomVisualStateManager(self, obj: win32more.Microsoft.UI.Xaml.FrameworkElement, value: win32more.Microsoft.UI.Xaml.VisualStateManager) -> Void: ...
3965
3968
  @winrt_commethod(10)
3966
- def GoToState(self, control: win32more.Microsoft.UI.Xaml.Controls.Control, stateName: WinRT_String, useTransitions: Boolean) -> Boolean: ...
3969
+ def GoToState(self, control: win32more.Microsoft.UI.Xaml.Controls.Control, stateName: hstr, useTransitions: Boolean) -> Boolean: ...
3967
3970
  CustomVisualStateManagerProperty = property(get_CustomVisualStateManagerProperty, None)
3968
3971
  class IVisualTransition(ComPtr):
3969
3972
  extends: IInspectable
@@ -3978,13 +3981,13 @@ class IVisualTransition(ComPtr):
3978
3981
  @winrt_commethod(9)
3979
3982
  def put_GeneratedEasingFunction(self, value: win32more.Microsoft.UI.Xaml.Media.Animation.EasingFunctionBase) -> Void: ...
3980
3983
  @winrt_commethod(10)
3981
- def get_To(self) -> WinRT_String: ...
3984
+ def get_To(self) -> hstr: ...
3982
3985
  @winrt_commethod(11)
3983
- def put_To(self, value: WinRT_String) -> Void: ...
3986
+ def put_To(self, value: hstr) -> Void: ...
3984
3987
  @winrt_commethod(12)
3985
- def get_From(self) -> WinRT_String: ...
3988
+ def get_From(self) -> hstr: ...
3986
3989
  @winrt_commethod(13)
3987
- def put_From(self, value: WinRT_String) -> Void: ...
3990
+ def put_From(self, value: hstr) -> Void: ...
3988
3991
  @winrt_commethod(14)
3989
3992
  def get_Storyboard(self) -> win32more.Microsoft.UI.Xaml.Media.Animation.Storyboard: ...
3990
3993
  @winrt_commethod(15)
@@ -4021,9 +4024,9 @@ class IWindow(ComPtr):
4021
4024
  @winrt_commethod(13)
4022
4025
  def get_DispatcherQueue(self) -> win32more.Microsoft.UI.Dispatching.DispatcherQueue: ...
4023
4026
  @winrt_commethod(14)
4024
- def get_Title(self) -> WinRT_String: ...
4027
+ def get_Title(self) -> hstr: ...
4025
4028
  @winrt_commethod(15)
4026
- def put_Title(self, value: WinRT_String) -> Void: ...
4029
+ def put_Title(self, value: hstr) -> Void: ...
4027
4030
  @winrt_commethod(16)
4028
4031
  def get_ExtendsContentIntoTitleBar(self) -> Boolean: ...
4029
4032
  @winrt_commethod(17)
@@ -4059,10 +4062,10 @@ class IWindow(ComPtr):
4059
4062
  ExtendsContentIntoTitleBar = property(get_ExtendsContentIntoTitleBar, put_ExtendsContentIntoTitleBar)
4060
4063
  Title = property(get_Title, put_Title)
4061
4064
  Visible = property(get_Visible, None)
4062
- Activated = event()
4063
- Closed = event()
4064
- SizeChanged = event()
4065
- VisibilityChanged = event()
4065
+ Activated = event(add_Activated, remove_Activated)
4066
+ Closed = event(add_Closed, remove_Closed)
4067
+ SizeChanged = event(add_SizeChanged, remove_SizeChanged)
4068
+ VisibilityChanged = event(add_VisibilityChanged, remove_VisibilityChanged)
4066
4069
  class IWindow2(ComPtr):
4067
4070
  extends: IInspectable
4068
4071
  _classid_ = 'Microsoft.UI.Xaml.IWindow2'
@@ -4133,35 +4136,12 @@ class IWindowVisibilityChangedEventArgs(ComPtr):
4133
4136
  def get_Visible(self) -> Boolean: ...
4134
4137
  Handled = property(get_Handled, put_Handled)
4135
4138
  Visible = property(get_Visible, None)
4136
- class IXamlIsland(ComPtr):
4137
- extends: IInspectable
4138
- _classid_ = 'Microsoft.UI.Xaml.IXamlIsland'
4139
- _iid_ = Guid('{845a5c62-b0f3-5db8-b4ff-4142bbd8a044}')
4140
- @winrt_commethod(6)
4141
- def get_Content(self) -> win32more.Microsoft.UI.Xaml.UIElement: ...
4142
- @winrt_commethod(7)
4143
- def put_Content(self, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
4144
- @winrt_commethod(8)
4145
- def get_ContentIsland(self) -> win32more.Microsoft.UI.Content.ContentIsland: ...
4146
- @winrt_commethod(9)
4147
- def get_SystemBackdrop(self) -> win32more.Microsoft.UI.Xaml.Media.SystemBackdrop: ...
4148
- @winrt_commethod(10)
4149
- def put_SystemBackdrop(self, value: win32more.Microsoft.UI.Xaml.Media.SystemBackdrop) -> Void: ...
4150
- Content = property(get_Content, put_Content)
4151
- ContentIsland = property(get_ContentIsland, None)
4152
- SystemBackdrop = property(get_SystemBackdrop, put_SystemBackdrop)
4153
- class IXamlIslandFactory(ComPtr):
4154
- extends: IInspectable
4155
- _classid_ = 'Microsoft.UI.Xaml.IXamlIslandFactory'
4156
- _iid_ = Guid('{267f707c-5e18-57b4-9ff7-d11da66e4a11}')
4157
- @winrt_commethod(6)
4158
- def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.XamlIsland: ...
4159
4139
  class IXamlResourceReferenceFailedEventArgs(ComPtr):
4160
4140
  extends: IInspectable
4161
4141
  _classid_ = 'Microsoft.UI.Xaml.IXamlResourceReferenceFailedEventArgs'
4162
4142
  _iid_ = Guid('{1b175ee6-d08b-50ff-8f89-a1ff27edef66}')
4163
4143
  @winrt_commethod(6)
4164
- def get_Message(self) -> WinRT_String: ...
4144
+ def get_Message(self) -> hstr: ...
4165
4145
  Message = property(get_Message, None)
4166
4146
  class IXamlRoot(ComPtr):
4167
4147
  extends: IInspectable
@@ -4183,7 +4163,7 @@ class IXamlRoot(ComPtr):
4183
4163
  IsHostVisible = property(get_IsHostVisible, None)
4184
4164
  RasterizationScale = property(get_RasterizationScale, None)
4185
4165
  Size = property(get_Size, None)
4186
- Changed = event()
4166
+ Changed = event(add_Changed, remove_Changed)
4187
4167
  class IXamlRoot2(ComPtr):
4188
4168
  extends: IInspectable
4189
4169
  _classid_ = 'Microsoft.UI.Xaml.IXamlRoot2'
@@ -4191,20 +4171,6 @@ class IXamlRoot2(ComPtr):
4191
4171
  @winrt_commethod(6)
4192
4172
  def get_ContentIslandEnvironment(self) -> win32more.Microsoft.UI.Content.ContentIslandEnvironment: ...
4193
4173
  ContentIslandEnvironment = property(get_ContentIslandEnvironment, None)
4194
- class IXamlRoot3(ComPtr):
4195
- extends: IInspectable
4196
- _classid_ = 'Microsoft.UI.Xaml.IXamlRoot3'
4197
- _iid_ = Guid('{b71dbf3b-2e0f-5de0-ac68-f0c1f65114c8}')
4198
- @winrt_commethod(6)
4199
- def get_CoordinateConverter(self) -> win32more.Microsoft.UI.Content.ContentCoordinateConverter: ...
4200
- CoordinateConverter = property(get_CoordinateConverter, None)
4201
- class IXamlRoot4(ComPtr):
4202
- extends: IInspectable
4203
- _classid_ = 'Microsoft.UI.Xaml.IXamlRoot4'
4204
- _iid_ = Guid('{377bec22-632b-52be-b26f-5edf7838e5ca}')
4205
- @winrt_commethod(6)
4206
- def get_ContentIsland(self) -> win32more.Microsoft.UI.Content.ContentIsland: ...
4207
- ContentIsland = property(get_ContentIsland, None)
4208
4174
  class IXamlRootChangedEventArgs(ComPtr):
4209
4175
  extends: IInspectable
4210
4176
  _classid_ = 'Microsoft.UI.Xaml.IXamlRootChangedEventArgs'
@@ -4220,7 +4186,7 @@ class LaunchActivatedEventArgs(ComPtr):
4220
4186
  default_interface: win32more.Microsoft.UI.Xaml.ILaunchActivatedEventArgs
4221
4187
  _classid_ = 'Microsoft.UI.Xaml.LaunchActivatedEventArgs'
4222
4188
  @winrt_mixinmethod
4223
- def get_Arguments(self: win32more.Microsoft.UI.Xaml.ILaunchActivatedEventArgs) -> WinRT_String: ...
4189
+ def get_Arguments(self: win32more.Microsoft.UI.Xaml.ILaunchActivatedEventArgs) -> hstr: ...
4224
4190
  @winrt_mixinmethod
4225
4191
  def get_UWPLaunchActivatedEventArgs(self: win32more.Microsoft.UI.Xaml.ILaunchActivatedEventArgs) -> win32more.Windows.ApplicationModel.Activation.LaunchActivatedEventArgs: ...
4226
4192
  Arguments = property(get_Arguments, None)
@@ -4247,7 +4213,7 @@ class MediaFailedRoutedEventArgs(ComPtr):
4247
4213
  default_interface: win32more.Microsoft.UI.Xaml.IMediaFailedRoutedEventArgs
4248
4214
  _classid_ = 'Microsoft.UI.Xaml.MediaFailedRoutedEventArgs'
4249
4215
  @winrt_mixinmethod
4250
- def get_ErrorTrace(self: win32more.Microsoft.UI.Xaml.IMediaFailedRoutedEventArgs) -> WinRT_String: ...
4216
+ def get_ErrorTrace(self: win32more.Microsoft.UI.Xaml.IMediaFailedRoutedEventArgs) -> hstr: ...
4251
4217
  ErrorTrace = property(get_ErrorTrace, None)
4252
4218
  class OpticalMarginAlignment(Enum, Int32):
4253
4219
  None_ = 0
@@ -4306,9 +4272,9 @@ class PropertyPath(ComPtr):
4306
4272
  else:
4307
4273
  raise ValueError('no matched constructor')
4308
4274
  @winrt_factorymethod
4309
- def CreateInstance(cls: win32more.Microsoft.UI.Xaml.IPropertyPathFactory, path: WinRT_String) -> win32more.Microsoft.UI.Xaml.PropertyPath: ...
4275
+ def CreateInstance(cls: win32more.Microsoft.UI.Xaml.IPropertyPathFactory, path: hstr) -> win32more.Microsoft.UI.Xaml.PropertyPath: ...
4310
4276
  @winrt_mixinmethod
4311
- def get_Path(self: win32more.Microsoft.UI.Xaml.IPropertyPath) -> WinRT_String: ...
4277
+ def get_Path(self: win32more.Microsoft.UI.Xaml.IPropertyPath) -> hstr: ...
4312
4278
  Path = property(get_Path, None)
4313
4279
  class _RectHelper_Meta_(ComPtr.__class__):
4314
4280
  pass
@@ -4690,6 +4656,7 @@ class TextWrapping(Enum, Int32):
4690
4656
  Wrap = 2
4691
4657
  WrapWholeWords = 3
4692
4658
  class Thickness(Structure):
4659
+ _name_ = 'Microsoft.UI.Xaml.Thickness'
4693
4660
  Left: Double
4694
4661
  Top: Double
4695
4662
  Right: Double
@@ -4894,9 +4861,9 @@ class UIElement(ComPtr, metaclass=_UIElement_Meta_):
4894
4861
  @winrt_mixinmethod
4895
4862
  def put_AccessKeyScopeOwner(self: win32more.Microsoft.UI.Xaml.IUIElement, value: win32more.Microsoft.UI.Xaml.DependencyObject) -> Void: ...
4896
4863
  @winrt_mixinmethod
4897
- def get_AccessKey(self: win32more.Microsoft.UI.Xaml.IUIElement) -> WinRT_String: ...
4864
+ def get_AccessKey(self: win32more.Microsoft.UI.Xaml.IUIElement) -> hstr: ...
4898
4865
  @winrt_mixinmethod
4899
- def put_AccessKey(self: win32more.Microsoft.UI.Xaml.IUIElement, value: WinRT_String) -> Void: ...
4866
+ def put_AccessKey(self: win32more.Microsoft.UI.Xaml.IUIElement, value: hstr) -> Void: ...
4900
4867
  @winrt_mixinmethod
4901
4868
  def get_KeyTipPlacementMode(self: win32more.Microsoft.UI.Xaml.IUIElement) -> win32more.Microsoft.UI.Xaml.Input.KeyTipPlacementMode: ...
4902
4869
  @winrt_mixinmethod
@@ -5254,9 +5221,9 @@ class UIElement(ComPtr, metaclass=_UIElement_Meta_):
5254
5221
  @winrt_mixinmethod
5255
5222
  def OnBringIntoViewRequested(self: win32more.Microsoft.UI.Xaml.IUIElementOverrides, e: win32more.Microsoft.UI.Xaml.BringIntoViewRequestedEventArgs) -> Void: ...
5256
5223
  @winrt_mixinmethod
5257
- def PopulatePropertyInfoOverride(self: win32more.Microsoft.UI.Xaml.IUIElementOverrides, propertyName: WinRT_String, animationPropertyInfo: win32more.Microsoft.UI.Composition.AnimationPropertyInfo) -> Void: ...
5224
+ def PopulatePropertyInfoOverride(self: win32more.Microsoft.UI.Xaml.IUIElementOverrides, propertyName: hstr, animationPropertyInfo: win32more.Microsoft.UI.Composition.AnimationPropertyInfo) -> Void: ...
5258
5225
  @winrt_mixinmethod
5259
- def PopulatePropertyInfo(self: win32more.Microsoft.UI.Composition.IAnimationObject, propertyName: WinRT_String, propertyInfo: win32more.Microsoft.UI.Composition.AnimationPropertyInfo) -> Void: ...
5226
+ def PopulatePropertyInfo(self: win32more.Microsoft.UI.Composition.IAnimationObject, propertyName: hstr, propertyInfo: win32more.Microsoft.UI.Composition.AnimationPropertyInfo) -> Void: ...
5260
5227
  @winrt_mixinmethod
5261
5228
  def GetVisualInternal(self: win32more.Microsoft.UI.Composition.IVisualElement2) -> win32more.Microsoft.UI.Composition.Visual: ...
5262
5229
  @winrt_classmethod
@@ -5570,46 +5537,46 @@ class UIElement(ComPtr, metaclass=_UIElement_Meta_):
5570
5537
  _UIElement_Meta_.XYFocusRightProperty = property(get_XYFocusRightProperty, None)
5571
5538
  _UIElement_Meta_.XYFocusUpNavigationStrategyProperty = property(get_XYFocusUpNavigationStrategyProperty, None)
5572
5539
  _UIElement_Meta_.XYFocusUpProperty = property(get_XYFocusUpProperty, None)
5573
- KeyUp = event()
5574
- KeyDown = event()
5575
- GotFocus = event()
5576
- LostFocus = event()
5577
- DragStarting = event()
5578
- DropCompleted = event()
5579
- CharacterReceived = event()
5580
- DragEnter = event()
5581
- DragLeave = event()
5582
- DragOver = event()
5583
- Drop = event()
5584
- PointerPressed = event()
5585
- PointerMoved = event()
5586
- PointerReleased = event()
5587
- PointerEntered = event()
5588
- PointerExited = event()
5589
- PointerCaptureLost = event()
5590
- PointerCanceled = event()
5591
- PointerWheelChanged = event()
5592
- Tapped = event()
5593
- DoubleTapped = event()
5594
- Holding = event()
5595
- ContextRequested = event()
5596
- ContextCanceled = event()
5597
- RightTapped = event()
5598
- ManipulationStarting = event()
5599
- ManipulationInertiaStarting = event()
5600
- ManipulationStarted = event()
5601
- ManipulationDelta = event()
5602
- ManipulationCompleted = event()
5603
- AccessKeyDisplayRequested = event()
5604
- AccessKeyDisplayDismissed = event()
5605
- AccessKeyInvoked = event()
5606
- ProcessKeyboardAccelerators = event()
5607
- GettingFocus = event()
5608
- LosingFocus = event()
5609
- NoFocusCandidateFound = event()
5610
- PreviewKeyDown = event()
5611
- PreviewKeyUp = event()
5612
- BringIntoViewRequested = event()
5540
+ AccessKeyDisplayDismissed = event(add_AccessKeyDisplayDismissed, remove_AccessKeyDisplayDismissed)
5541
+ AccessKeyDisplayRequested = event(add_AccessKeyDisplayRequested, remove_AccessKeyDisplayRequested)
5542
+ AccessKeyInvoked = event(add_AccessKeyInvoked, remove_AccessKeyInvoked)
5543
+ BringIntoViewRequested = event(add_BringIntoViewRequested, remove_BringIntoViewRequested)
5544
+ CharacterReceived = event(add_CharacterReceived, remove_CharacterReceived)
5545
+ ContextCanceled = event(add_ContextCanceled, remove_ContextCanceled)
5546
+ ContextRequested = event(add_ContextRequested, remove_ContextRequested)
5547
+ DoubleTapped = event(add_DoubleTapped, remove_DoubleTapped)
5548
+ DragEnter = event(add_DragEnter, remove_DragEnter)
5549
+ DragLeave = event(add_DragLeave, remove_DragLeave)
5550
+ DragOver = event(add_DragOver, remove_DragOver)
5551
+ DragStarting = event(add_DragStarting, remove_DragStarting)
5552
+ Drop = event(add_Drop, remove_Drop)
5553
+ DropCompleted = event(add_DropCompleted, remove_DropCompleted)
5554
+ GettingFocus = event(add_GettingFocus, remove_GettingFocus)
5555
+ GotFocus = event(add_GotFocus, remove_GotFocus)
5556
+ Holding = event(add_Holding, remove_Holding)
5557
+ KeyDown = event(add_KeyDown, remove_KeyDown)
5558
+ KeyUp = event(add_KeyUp, remove_KeyUp)
5559
+ LosingFocus = event(add_LosingFocus, remove_LosingFocus)
5560
+ LostFocus = event(add_LostFocus, remove_LostFocus)
5561
+ ManipulationCompleted = event(add_ManipulationCompleted, remove_ManipulationCompleted)
5562
+ ManipulationDelta = event(add_ManipulationDelta, remove_ManipulationDelta)
5563
+ ManipulationInertiaStarting = event(add_ManipulationInertiaStarting, remove_ManipulationInertiaStarting)
5564
+ ManipulationStarted = event(add_ManipulationStarted, remove_ManipulationStarted)
5565
+ ManipulationStarting = event(add_ManipulationStarting, remove_ManipulationStarting)
5566
+ NoFocusCandidateFound = event(add_NoFocusCandidateFound, remove_NoFocusCandidateFound)
5567
+ PointerCanceled = event(add_PointerCanceled, remove_PointerCanceled)
5568
+ PointerCaptureLost = event(add_PointerCaptureLost, remove_PointerCaptureLost)
5569
+ PointerEntered = event(add_PointerEntered, remove_PointerEntered)
5570
+ PointerExited = event(add_PointerExited, remove_PointerExited)
5571
+ PointerMoved = event(add_PointerMoved, remove_PointerMoved)
5572
+ PointerPressed = event(add_PointerPressed, remove_PointerPressed)
5573
+ PointerReleased = event(add_PointerReleased, remove_PointerReleased)
5574
+ PointerWheelChanged = event(add_PointerWheelChanged, remove_PointerWheelChanged)
5575
+ PreviewKeyDown = event(add_PreviewKeyDown, remove_PreviewKeyDown)
5576
+ PreviewKeyUp = event(add_PreviewKeyUp, remove_PreviewKeyUp)
5577
+ ProcessKeyboardAccelerators = event(add_ProcessKeyboardAccelerators, remove_ProcessKeyboardAccelerators)
5578
+ RightTapped = event(add_RightTapped, remove_RightTapped)
5579
+ Tapped = event(add_Tapped, remove_Tapped)
5613
5580
  class UIElementWeakCollection(ComPtr):
5614
5581
  extends: IInspectable
5615
5582
  implements: Tuple[SequenceProtocol[win32more.Microsoft.UI.Xaml.UIElement]]
@@ -5658,7 +5625,7 @@ class UnhandledExceptionEventArgs(ComPtr):
5658
5625
  @winrt_mixinmethod
5659
5626
  def get_Exception(self: win32more.Microsoft.UI.Xaml.IUnhandledExceptionEventArgs) -> win32more.Windows.Foundation.HResult: ...
5660
5627
  @winrt_mixinmethod
5661
- def get_Message(self: win32more.Microsoft.UI.Xaml.IUnhandledExceptionEventArgs) -> WinRT_String: ...
5628
+ def get_Message(self: win32more.Microsoft.UI.Xaml.IUnhandledExceptionEventArgs) -> hstr: ...
5662
5629
  @winrt_mixinmethod
5663
5630
  def get_Handled(self: win32more.Microsoft.UI.Xaml.IUnhandledExceptionEventArgs) -> Boolean: ...
5664
5631
  @winrt_mixinmethod
@@ -5720,7 +5687,7 @@ class VisualState(ComPtr):
5720
5687
  @winrt_activatemethod
5721
5688
  def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.VisualState: ...
5722
5689
  @winrt_mixinmethod
5723
- def get_Name(self: win32more.Microsoft.UI.Xaml.IVisualState) -> WinRT_String: ...
5690
+ def get_Name(self: win32more.Microsoft.UI.Xaml.IVisualState) -> hstr: ...
5724
5691
  @winrt_mixinmethod
5725
5692
  def get_Storyboard(self: win32more.Microsoft.UI.Xaml.IVisualState) -> win32more.Microsoft.UI.Xaml.Media.Animation.Storyboard: ...
5726
5693
  @winrt_mixinmethod
@@ -5780,7 +5747,7 @@ class VisualStateGroup(ComPtr):
5780
5747
  @winrt_activatemethod
5781
5748
  def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.VisualStateGroup: ...
5782
5749
  @winrt_mixinmethod
5783
- def get_Name(self: win32more.Microsoft.UI.Xaml.IVisualStateGroup) -> WinRT_String: ...
5750
+ def get_Name(self: win32more.Microsoft.UI.Xaml.IVisualStateGroup) -> hstr: ...
5784
5751
  @winrt_mixinmethod
5785
5752
  def get_Transitions(self: win32more.Microsoft.UI.Xaml.IVisualStateGroup) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.UI.Xaml.VisualTransition]: ...
5786
5753
  @winrt_mixinmethod
@@ -5799,8 +5766,8 @@ class VisualStateGroup(ComPtr):
5799
5766
  Name = property(get_Name, None)
5800
5767
  States = property(get_States, None)
5801
5768
  Transitions = property(get_Transitions, None)
5802
- CurrentStateChanged = event()
5803
- CurrentStateChanging = event()
5769
+ CurrentStateChanged = event(add_CurrentStateChanged, remove_CurrentStateChanged)
5770
+ CurrentStateChanging = event(add_CurrentStateChanging, remove_CurrentStateChanging)
5804
5771
  class _VisualStateManager_Meta_(ComPtr.__class__):
5805
5772
  pass
5806
5773
  class VisualStateManager(ComPtr, metaclass=_VisualStateManager_Meta_):
@@ -5821,7 +5788,7 @@ class VisualStateManager(ComPtr, metaclass=_VisualStateManager_Meta_):
5821
5788
  @winrt_mixinmethod
5822
5789
  def RaiseCurrentStateChanged(self: win32more.Microsoft.UI.Xaml.IVisualStateManagerProtected, stateGroup: win32more.Microsoft.UI.Xaml.VisualStateGroup, oldState: win32more.Microsoft.UI.Xaml.VisualState, newState: win32more.Microsoft.UI.Xaml.VisualState, control: win32more.Microsoft.UI.Xaml.Controls.Control) -> Void: ...
5823
5790
  @winrt_mixinmethod
5824
- def GoToStateCore(self: win32more.Microsoft.UI.Xaml.IVisualStateManagerOverrides, control: win32more.Microsoft.UI.Xaml.Controls.Control, templateRoot: win32more.Microsoft.UI.Xaml.FrameworkElement, stateName: WinRT_String, group: win32more.Microsoft.UI.Xaml.VisualStateGroup, state: win32more.Microsoft.UI.Xaml.VisualState, useTransitions: Boolean) -> Boolean: ...
5791
+ def GoToStateCore(self: win32more.Microsoft.UI.Xaml.IVisualStateManagerOverrides, control: win32more.Microsoft.UI.Xaml.Controls.Control, templateRoot: win32more.Microsoft.UI.Xaml.FrameworkElement, stateName: hstr, group: win32more.Microsoft.UI.Xaml.VisualStateGroup, state: win32more.Microsoft.UI.Xaml.VisualState, useTransitions: Boolean) -> Boolean: ...
5825
5792
  @winrt_classmethod
5826
5793
  def GetVisualStateGroups(cls: win32more.Microsoft.UI.Xaml.IVisualStateManagerStatics, obj: win32more.Microsoft.UI.Xaml.FrameworkElement) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.UI.Xaml.VisualStateGroup]: ...
5827
5794
  @winrt_classmethod
@@ -5831,7 +5798,7 @@ class VisualStateManager(ComPtr, metaclass=_VisualStateManager_Meta_):
5831
5798
  @winrt_classmethod
5832
5799
  def SetCustomVisualStateManager(cls: win32more.Microsoft.UI.Xaml.IVisualStateManagerStatics, obj: win32more.Microsoft.UI.Xaml.FrameworkElement, value: win32more.Microsoft.UI.Xaml.VisualStateManager) -> Void: ...
5833
5800
  @winrt_classmethod
5834
- def GoToState(cls: win32more.Microsoft.UI.Xaml.IVisualStateManagerStatics, control: win32more.Microsoft.UI.Xaml.Controls.Control, stateName: WinRT_String, useTransitions: Boolean) -> Boolean: ...
5801
+ def GoToState(cls: win32more.Microsoft.UI.Xaml.IVisualStateManagerStatics, control: win32more.Microsoft.UI.Xaml.Controls.Control, stateName: hstr, useTransitions: Boolean) -> Boolean: ...
5835
5802
  _VisualStateManager_Meta_.CustomVisualStateManagerProperty = property(get_CustomVisualStateManagerProperty, None)
5836
5803
  class VisualTransition(ComPtr):
5837
5804
  extends: win32more.Microsoft.UI.Xaml.DependencyObject
@@ -5855,13 +5822,13 @@ class VisualTransition(ComPtr):
5855
5822
  @winrt_mixinmethod
5856
5823
  def put_GeneratedEasingFunction(self: win32more.Microsoft.UI.Xaml.IVisualTransition, value: win32more.Microsoft.UI.Xaml.Media.Animation.EasingFunctionBase) -> Void: ...
5857
5824
  @winrt_mixinmethod
5858
- def get_To(self: win32more.Microsoft.UI.Xaml.IVisualTransition) -> WinRT_String: ...
5825
+ def get_To(self: win32more.Microsoft.UI.Xaml.IVisualTransition) -> hstr: ...
5859
5826
  @winrt_mixinmethod
5860
- def put_To(self: win32more.Microsoft.UI.Xaml.IVisualTransition, value: WinRT_String) -> Void: ...
5827
+ def put_To(self: win32more.Microsoft.UI.Xaml.IVisualTransition, value: hstr) -> Void: ...
5861
5828
  @winrt_mixinmethod
5862
- def get_From(self: win32more.Microsoft.UI.Xaml.IVisualTransition) -> WinRT_String: ...
5829
+ def get_From(self: win32more.Microsoft.UI.Xaml.IVisualTransition) -> hstr: ...
5863
5830
  @winrt_mixinmethod
5864
- def put_From(self: win32more.Microsoft.UI.Xaml.IVisualTransition, value: WinRT_String) -> Void: ...
5831
+ def put_From(self: win32more.Microsoft.UI.Xaml.IVisualTransition, value: hstr) -> Void: ...
5865
5832
  @winrt_mixinmethod
5866
5833
  def get_Storyboard(self: win32more.Microsoft.UI.Xaml.IVisualTransition) -> win32more.Microsoft.UI.Xaml.Media.Animation.Storyboard: ...
5867
5834
  @winrt_mixinmethod
@@ -5871,7 +5838,7 @@ class VisualTransition(ComPtr):
5871
5838
  GeneratedEasingFunction = property(get_GeneratedEasingFunction, put_GeneratedEasingFunction)
5872
5839
  Storyboard = property(get_Storyboard, put_Storyboard)
5873
5840
  To = property(get_To, put_To)
5874
- WinUIContract: UInt32 = 589824
5841
+ WinUIContract: UInt32 = 393216
5875
5842
  class _Window_Meta_(ComPtr.__class__):
5876
5843
  pass
5877
5844
  class Window(ComPtr, metaclass=_Window_Meta_):
@@ -5904,9 +5871,9 @@ class Window(ComPtr, metaclass=_Window_Meta_):
5904
5871
  @winrt_mixinmethod
5905
5872
  def get_DispatcherQueue(self: win32more.Microsoft.UI.Xaml.IWindow) -> win32more.Microsoft.UI.Dispatching.DispatcherQueue: ...
5906
5873
  @winrt_mixinmethod
5907
- def get_Title(self: win32more.Microsoft.UI.Xaml.IWindow) -> WinRT_String: ...
5874
+ def get_Title(self: win32more.Microsoft.UI.Xaml.IWindow) -> hstr: ...
5908
5875
  @winrt_mixinmethod
5909
- def put_Title(self: win32more.Microsoft.UI.Xaml.IWindow, value: WinRT_String) -> Void: ...
5876
+ def put_Title(self: win32more.Microsoft.UI.Xaml.IWindow, value: hstr) -> Void: ...
5910
5877
  @winrt_mixinmethod
5911
5878
  def get_ExtendsContentIntoTitleBar(self: win32more.Microsoft.UI.Xaml.IWindow) -> Boolean: ...
5912
5879
  @winrt_mixinmethod
@@ -5953,10 +5920,10 @@ class Window(ComPtr, metaclass=_Window_Meta_):
5953
5920
  Title = property(get_Title, put_Title)
5954
5921
  Visible = property(get_Visible, None)
5955
5922
  _Window_Meta_.Current = property(get_Current, None)
5956
- Activated = event()
5957
- Closed = event()
5958
- SizeChanged = event()
5959
- VisibilityChanged = event()
5923
+ Activated = event(add_Activated, remove_Activated)
5924
+ Closed = event(add_Closed, remove_Closed)
5925
+ SizeChanged = event(add_SizeChanged, remove_SizeChanged)
5926
+ VisibilityChanged = event(add_VisibilityChanged, remove_VisibilityChanged)
5960
5927
  class WindowActivatedEventArgs(ComPtr):
5961
5928
  extends: IInspectable
5962
5929
  default_interface: win32more.Microsoft.UI.Xaml.IWindowActivatedEventArgs
@@ -6006,42 +5973,13 @@ class WindowVisibilityChangedEventArgs(ComPtr):
6006
5973
  def get_Visible(self: win32more.Microsoft.UI.Xaml.IWindowVisibilityChangedEventArgs) -> Boolean: ...
6007
5974
  Handled = property(get_Handled, put_Handled)
6008
5975
  Visible = property(get_Visible, None)
6009
- XamlContract: UInt32 = 589824
6010
- class XamlIsland(ComPtr):
6011
- extends: IInspectable
6012
- implements: Tuple[ContextManagerProtocol]
6013
- default_interface: win32more.Microsoft.UI.Xaml.IXamlIsland
6014
- _classid_ = 'Microsoft.UI.Xaml.XamlIsland'
6015
- def __init__(self, *args, **kwargs):
6016
- if kwargs:
6017
- super().__init__(**kwargs)
6018
- elif len(args) == 0:
6019
- super().__init__(move=win32more.Microsoft.UI.Xaml.XamlIsland.CreateInstance(*args, None, None))
6020
- else:
6021
- raise ValueError('no matched constructor')
6022
- @winrt_factorymethod
6023
- def CreateInstance(cls: win32more.Microsoft.UI.Xaml.IXamlIslandFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.XamlIsland: ...
6024
- @winrt_mixinmethod
6025
- def get_Content(self: win32more.Microsoft.UI.Xaml.IXamlIsland) -> win32more.Microsoft.UI.Xaml.UIElement: ...
6026
- @winrt_mixinmethod
6027
- def put_Content(self: win32more.Microsoft.UI.Xaml.IXamlIsland, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
6028
- @winrt_mixinmethod
6029
- def get_ContentIsland(self: win32more.Microsoft.UI.Xaml.IXamlIsland) -> win32more.Microsoft.UI.Content.ContentIsland: ...
6030
- @winrt_mixinmethod
6031
- def get_SystemBackdrop(self: win32more.Microsoft.UI.Xaml.IXamlIsland) -> win32more.Microsoft.UI.Xaml.Media.SystemBackdrop: ...
6032
- @winrt_mixinmethod
6033
- def put_SystemBackdrop(self: win32more.Microsoft.UI.Xaml.IXamlIsland, value: win32more.Microsoft.UI.Xaml.Media.SystemBackdrop) -> Void: ...
6034
- @winrt_mixinmethod
6035
- def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
6036
- Content = property(get_Content, put_Content)
6037
- ContentIsland = property(get_ContentIsland, None)
6038
- SystemBackdrop = property(get_SystemBackdrop, put_SystemBackdrop)
5976
+ XamlContract: UInt32 = 393216
6039
5977
  class XamlResourceReferenceFailedEventArgs(ComPtr):
6040
5978
  extends: IInspectable
6041
5979
  default_interface: win32more.Microsoft.UI.Xaml.IXamlResourceReferenceFailedEventArgs
6042
5980
  _classid_ = 'Microsoft.UI.Xaml.XamlResourceReferenceFailedEventArgs'
6043
5981
  @winrt_mixinmethod
6044
- def get_Message(self: win32more.Microsoft.UI.Xaml.IXamlResourceReferenceFailedEventArgs) -> WinRT_String: ...
5982
+ def get_Message(self: win32more.Microsoft.UI.Xaml.IXamlResourceReferenceFailedEventArgs) -> hstr: ...
6045
5983
  Message = property(get_Message, None)
6046
5984
  class XamlRoot(ComPtr):
6047
5985
  extends: IInspectable
@@ -6061,18 +5999,12 @@ class XamlRoot(ComPtr):
6061
5999
  def remove_Changed(self: win32more.Microsoft.UI.Xaml.IXamlRoot, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
6062
6000
  @winrt_mixinmethod
6063
6001
  def get_ContentIslandEnvironment(self: win32more.Microsoft.UI.Xaml.IXamlRoot2) -> win32more.Microsoft.UI.Content.ContentIslandEnvironment: ...
6064
- @winrt_mixinmethod
6065
- def get_CoordinateConverter(self: win32more.Microsoft.UI.Xaml.IXamlRoot3) -> win32more.Microsoft.UI.Content.ContentCoordinateConverter: ...
6066
- @winrt_mixinmethod
6067
- def get_ContentIsland(self: win32more.Microsoft.UI.Xaml.IXamlRoot4) -> win32more.Microsoft.UI.Content.ContentIsland: ...
6068
6002
  Content = property(get_Content, None)
6069
- ContentIsland = property(get_ContentIsland, None)
6070
6003
  ContentIslandEnvironment = property(get_ContentIslandEnvironment, None)
6071
- CoordinateConverter = property(get_CoordinateConverter, None)
6072
6004
  IsHostVisible = property(get_IsHostVisible, None)
6073
6005
  RasterizationScale = property(get_RasterizationScale, None)
6074
6006
  Size = property(get_Size, None)
6075
- Changed = event()
6007
+ Changed = event(add_Changed, remove_Changed)
6076
6008
  class XamlRootChangedEventArgs(ComPtr):
6077
6009
  extends: IInspectable
6078
6010
  default_interface: win32more.Microsoft.UI.Xaml.IXamlRootChangedEventArgs