win32more-Microsoft.WindowsAppSDK 0.6.1.8.250916003__py2.py3-none-any.whl → 0.7.1.5.240227000__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.240227000.dist-info/METADATA +5 -0
  64. win32more_microsoft_windowsappsdk-0.7.1.5.240227000.dist-info/RECORD +66 -0
  65. {win32more_microsoft_windowsappsdk-0.6.1.8.250916003.dist-info → win32more_microsoft_windowsappsdk-0.7.1.5.240227000.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.250916003.dist-info/METADATA +0 -6
  88. win32more_microsoft_windowsappsdk-0.6.1.8.250916003.dist-info/RECORD +0 -85
  89. {win32more_microsoft_windowsappsdk-0.6.1.8.250916003.dist-info → win32more_microsoft_windowsappsdk-0.7.1.5.240227000.dist-info}/WHEEL +0 -0
@@ -1,11 +1,9 @@
1
1
  from __future__ import annotations
2
- from win32more.winrt.prelude import *
3
- import win32more.Microsoft.UI
2
+ from win32more._prelude import *
4
3
  import win32more.Microsoft.UI.Composition
5
4
  import win32more.Microsoft.UI.Input
6
5
  import win32more.Microsoft.UI.Text
7
6
  import win32more.Microsoft.UI.Xaml
8
- import win32more.Microsoft.UI.Xaml.Automation.Peers
9
7
  import win32more.Microsoft.UI.Xaml.Controls
10
8
  import win32more.Microsoft.UI.Xaml.Controls.Primitives
11
9
  import win32more.Microsoft.UI.Xaml.Data
@@ -71,9 +69,9 @@ class AnimatedIcon(ComPtr, metaclass=_AnimatedIcon_Meta_):
71
69
  @winrt_classmethod
72
70
  def get_StateProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IAnimatedIconStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
73
71
  @winrt_classmethod
74
- def SetState(cls: win32more.Microsoft.UI.Xaml.Controls.IAnimatedIconStatics, object: win32more.Microsoft.UI.Xaml.DependencyObject, value: WinRT_String) -> Void: ...
72
+ def SetState(cls: win32more.Microsoft.UI.Xaml.Controls.IAnimatedIconStatics, object: win32more.Microsoft.UI.Xaml.DependencyObject, value: hstr) -> Void: ...
75
73
  @winrt_classmethod
76
- def GetState(cls: win32more.Microsoft.UI.Xaml.Controls.IAnimatedIconStatics, object: win32more.Microsoft.UI.Xaml.DependencyObject) -> WinRT_String: ...
74
+ def GetState(cls: win32more.Microsoft.UI.Xaml.Controls.IAnimatedIconStatics, object: win32more.Microsoft.UI.Xaml.DependencyObject) -> hstr: ...
77
75
  @winrt_classmethod
78
76
  def get_SourceProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IAnimatedIconStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
79
77
  @winrt_classmethod
@@ -284,8 +282,8 @@ class AnnotatedScrollBar(ComPtr, metaclass=_AnnotatedScrollBar_Meta_):
284
282
  _AnnotatedScrollBar_Meta_.LabelTemplateProperty = property(get_LabelTemplateProperty, None)
285
283
  _AnnotatedScrollBar_Meta_.LabelsProperty = property(get_LabelsProperty, None)
286
284
  _AnnotatedScrollBar_Meta_.SmallChangeProperty = property(get_SmallChangeProperty, None)
287
- Scrolling = event()
288
- DetailLabelRequested = event()
285
+ DetailLabelRequested = event(add_DetailLabelRequested, remove_DetailLabelRequested)
286
+ Scrolling = event(add_Scrolling, remove_Scrolling)
289
287
  class AnnotatedScrollBarDetailLabelRequestedEventArgs(ComPtr):
290
288
  extends: IInspectable
291
289
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IAnnotatedScrollBarDetailLabelRequestedEventArgs
@@ -411,10 +409,10 @@ class AppBar(ComPtr, metaclass=_AppBar_Meta_):
411
409
  _AppBar_Meta_.IsOpenProperty = property(get_IsOpenProperty, None)
412
410
  _AppBar_Meta_.IsStickyProperty = property(get_IsStickyProperty, None)
413
411
  _AppBar_Meta_.LightDismissOverlayModeProperty = property(get_LightDismissOverlayModeProperty, None)
414
- Opening = event()
415
- Opened = event()
416
- Closing = event()
417
- Closed = event()
412
+ Closed = event(add_Closed, remove_Closed)
413
+ Closing = event(add_Closing, remove_Closing)
414
+ Opened = event(add_Opened, remove_Opened)
415
+ Opening = event(add_Opening, remove_Opening)
418
416
  class _AppBarButton_Meta_(ComPtr.__class__):
419
417
  pass
420
418
  class AppBarButton(ComPtr, metaclass=_AppBarButton_Meta_):
@@ -431,9 +429,9 @@ class AppBarButton(ComPtr, metaclass=_AppBarButton_Meta_):
431
429
  @winrt_factorymethod
432
430
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IAppBarButtonFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.AppBarButton: ...
433
431
  @winrt_mixinmethod
434
- def get_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton) -> WinRT_String: ...
432
+ def get_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton) -> hstr: ...
435
433
  @winrt_mixinmethod
436
- def put_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton, value: WinRT_String) -> Void: ...
434
+ def put_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton, value: hstr) -> Void: ...
437
435
  @winrt_mixinmethod
438
436
  def get_Icon(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
439
437
  @winrt_mixinmethod
@@ -443,9 +441,9 @@ class AppBarButton(ComPtr, metaclass=_AppBarButton_Meta_):
443
441
  @winrt_mixinmethod
444
442
  def put_LabelPosition(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton, value: win32more.Microsoft.UI.Xaml.Controls.CommandBarLabelPosition) -> Void: ...
445
443
  @winrt_mixinmethod
446
- def get_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton) -> WinRT_String: ...
444
+ def get_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton) -> hstr: ...
447
445
  @winrt_mixinmethod
448
- def put_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton, value: WinRT_String) -> Void: ...
446
+ def put_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton, value: hstr) -> Void: ...
449
447
  @winrt_mixinmethod
450
448
  def get_TemplateSettings(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.AppBarButtonTemplateSettings: ...
451
449
  @winrt_mixinmethod
@@ -581,9 +579,9 @@ class AppBarToggleButton(ComPtr, metaclass=_AppBarToggleButton_Meta_):
581
579
  @winrt_factorymethod
582
580
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButtonFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.AppBarToggleButton: ...
583
581
  @winrt_mixinmethod
584
- def get_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton) -> WinRT_String: ...
582
+ def get_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton) -> hstr: ...
585
583
  @winrt_mixinmethod
586
- def put_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton, value: WinRT_String) -> Void: ...
584
+ def put_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton, value: hstr) -> Void: ...
587
585
  @winrt_mixinmethod
588
586
  def get_Icon(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
589
587
  @winrt_mixinmethod
@@ -593,9 +591,9 @@ class AppBarToggleButton(ComPtr, metaclass=_AppBarToggleButton_Meta_):
593
591
  @winrt_mixinmethod
594
592
  def put_LabelPosition(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton, value: win32more.Microsoft.UI.Xaml.Controls.CommandBarLabelPosition) -> Void: ...
595
593
  @winrt_mixinmethod
596
- def get_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton) -> WinRT_String: ...
594
+ def get_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton) -> hstr: ...
597
595
  @winrt_mixinmethod
598
- def put_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton, value: WinRT_String) -> Void: ...
596
+ def put_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton, value: hstr) -> Void: ...
599
597
  @winrt_mixinmethod
600
598
  def get_TemplateSettings(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.AppBarToggleButtonTemplateSettings: ...
601
599
  @winrt_mixinmethod
@@ -661,21 +659,21 @@ class AutoSuggestBox(ComPtr, metaclass=_AutoSuggestBox_Meta_):
661
659
  @winrt_mixinmethod
662
660
  def put_IsSuggestionListOpen(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: Boolean) -> Void: ...
663
661
  @winrt_mixinmethod
664
- def get_TextMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> WinRT_String: ...
662
+ def get_TextMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> hstr: ...
665
663
  @winrt_mixinmethod
666
- def put_TextMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: WinRT_String) -> Void: ...
664
+ def put_TextMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: hstr) -> Void: ...
667
665
  @winrt_mixinmethod
668
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> WinRT_String: ...
666
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> hstr: ...
669
667
  @winrt_mixinmethod
670
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: WinRT_String) -> Void: ...
668
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: hstr) -> Void: ...
671
669
  @winrt_mixinmethod
672
670
  def get_UpdateTextOnSelect(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> Boolean: ...
673
671
  @winrt_mixinmethod
674
672
  def put_UpdateTextOnSelect(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: Boolean) -> Void: ...
675
673
  @winrt_mixinmethod
676
- def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> WinRT_String: ...
674
+ def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> hstr: ...
677
675
  @winrt_mixinmethod
678
- def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: WinRT_String) -> Void: ...
676
+ def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: hstr) -> Void: ...
679
677
  @winrt_mixinmethod
680
678
  def get_Header(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> IInspectable: ...
681
679
  @winrt_mixinmethod
@@ -760,9 +758,9 @@ class AutoSuggestBox(ComPtr, metaclass=_AutoSuggestBox_Meta_):
760
758
  _AutoSuggestBox_Meta_.TextMemberPathProperty = property(get_TextMemberPathProperty, None)
761
759
  _AutoSuggestBox_Meta_.TextProperty = property(get_TextProperty, None)
762
760
  _AutoSuggestBox_Meta_.UpdateTextOnSelectProperty = property(get_UpdateTextOnSelectProperty, None)
763
- SuggestionChosen = event()
764
- TextChanged = event()
765
- QuerySubmitted = event()
761
+ QuerySubmitted = event(add_QuerySubmitted, remove_QuerySubmitted)
762
+ SuggestionChosen = event(add_SuggestionChosen, remove_SuggestionChosen)
763
+ TextChanged = event(add_TextChanged, remove_TextChanged)
766
764
  class AutoSuggestBoxQuerySubmittedEventArgs(ComPtr):
767
765
  extends: win32more.Microsoft.UI.Xaml.DependencyObject
768
766
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBoxQuerySubmittedEventArgs
@@ -777,7 +775,7 @@ class AutoSuggestBoxQuerySubmittedEventArgs(ComPtr):
777
775
  @winrt_activatemethod
778
776
  def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Controls.AutoSuggestBoxQuerySubmittedEventArgs: ...
779
777
  @winrt_mixinmethod
780
- def get_QueryText(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBoxQuerySubmittedEventArgs) -> WinRT_String: ...
778
+ def get_QueryText(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBoxQuerySubmittedEventArgs) -> hstr: ...
781
779
  @winrt_mixinmethod
782
780
  def get_ChosenSuggestion(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBoxQuerySubmittedEventArgs) -> IInspectable: ...
783
781
  ChosenSuggestion = property(get_ChosenSuggestion, None)
@@ -1008,7 +1006,7 @@ class BreadcrumbBar(ComPtr, metaclass=_BreadcrumbBar_Meta_):
1008
1006
  ItemsSource = property(get_ItemsSource, put_ItemsSource)
1009
1007
  _BreadcrumbBar_Meta_.ItemTemplateProperty = property(get_ItemTemplateProperty, None)
1010
1008
  _BreadcrumbBar_Meta_.ItemsSourceProperty = property(get_ItemsSourceProperty, None)
1011
- ItemClicked = event()
1009
+ ItemClicked = event(add_ItemClicked, remove_ItemClicked)
1012
1010
  class BreadcrumbBarItem(ComPtr):
1013
1011
  extends: win32more.Microsoft.UI.Xaml.Controls.ContentControl
1014
1012
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IBreadcrumbBarItem
@@ -1079,13 +1077,13 @@ class CalendarDatePicker(ComPtr, metaclass=_CalendarDatePicker_Meta_):
1079
1077
  @winrt_mixinmethod
1080
1078
  def put_IsCalendarOpen(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: Boolean) -> Void: ...
1081
1079
  @winrt_mixinmethod
1082
- def get_DateFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> WinRT_String: ...
1080
+ def get_DateFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> hstr: ...
1083
1081
  @winrt_mixinmethod
1084
- def put_DateFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: WinRT_String) -> Void: ...
1082
+ def put_DateFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: hstr) -> Void: ...
1085
1083
  @winrt_mixinmethod
1086
- def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> WinRT_String: ...
1084
+ def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> hstr: ...
1087
1085
  @winrt_mixinmethod
1088
- def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: WinRT_String) -> Void: ...
1086
+ def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: hstr) -> Void: ...
1089
1087
  @winrt_mixinmethod
1090
1088
  def get_Header(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> IInspectable: ...
1091
1089
  @winrt_mixinmethod
@@ -1127,13 +1125,13 @@ class CalendarDatePicker(ComPtr, metaclass=_CalendarDatePicker_Meta_):
1127
1125
  @winrt_mixinmethod
1128
1126
  def put_FirstDayOfWeek(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: win32more.Windows.Globalization.DayOfWeek) -> Void: ...
1129
1127
  @winrt_mixinmethod
1130
- def get_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> WinRT_String: ...
1128
+ def get_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> hstr: ...
1131
1129
  @winrt_mixinmethod
1132
- def put_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: WinRT_String) -> Void: ...
1130
+ def put_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: hstr) -> Void: ...
1133
1131
  @winrt_mixinmethod
1134
- def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> WinRT_String: ...
1132
+ def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> hstr: ...
1135
1133
  @winrt_mixinmethod
1136
- def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: WinRT_String) -> Void: ...
1134
+ def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: hstr) -> Void: ...
1137
1135
  @winrt_mixinmethod
1138
1136
  def get_IsOutOfScopeEnabled(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> Boolean: ...
1139
1137
  @winrt_mixinmethod
@@ -1234,10 +1232,10 @@ class CalendarDatePicker(ComPtr, metaclass=_CalendarDatePicker_Meta_):
1234
1232
  _CalendarDatePicker_Meta_.MaxDateProperty = property(get_MaxDateProperty, None)
1235
1233
  _CalendarDatePicker_Meta_.MinDateProperty = property(get_MinDateProperty, None)
1236
1234
  _CalendarDatePicker_Meta_.PlaceholderTextProperty = property(get_PlaceholderTextProperty, None)
1237
- CalendarViewDayItemChanging = event()
1238
- DateChanged = event()
1239
- Opened = event()
1240
- Closed = event()
1235
+ CalendarViewDayItemChanging = event(add_CalendarViewDayItemChanging, remove_CalendarViewDayItemChanging)
1236
+ Closed = event(add_Closed, remove_Closed)
1237
+ DateChanged = event(add_DateChanged, remove_DateChanged)
1238
+ Opened = event(add_Opened, remove_Opened)
1241
1239
  class CalendarDatePickerDateChangedEventArgs(ComPtr):
1242
1240
  extends: IInspectable
1243
1241
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePickerDateChangedEventArgs
@@ -1264,13 +1262,13 @@ class CalendarView(ComPtr, metaclass=_CalendarView_Meta_):
1264
1262
  @winrt_factorymethod
1265
1263
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ICalendarViewFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.CalendarView: ...
1266
1264
  @winrt_mixinmethod
1267
- def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView) -> WinRT_String: ...
1265
+ def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView) -> hstr: ...
1268
1266
  @winrt_mixinmethod
1269
- def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView, value: WinRT_String) -> Void: ...
1267
+ def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView, value: hstr) -> Void: ...
1270
1268
  @winrt_mixinmethod
1271
- def get_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView) -> WinRT_String: ...
1269
+ def get_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView) -> hstr: ...
1272
1270
  @winrt_mixinmethod
1273
- def put_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView, value: WinRT_String) -> Void: ...
1271
+ def put_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView, value: hstr) -> Void: ...
1274
1272
  @winrt_mixinmethod
1275
1273
  def get_IsGroupLabelVisible(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView) -> Boolean: ...
1276
1274
  @winrt_mixinmethod
@@ -1871,8 +1869,8 @@ class CalendarView(ComPtr, metaclass=_CalendarView_Meta_):
1871
1869
  _CalendarView_Meta_.TodaySelectedInnerBorderBrushProperty = property(get_TodaySelectedInnerBorderBrushProperty, None)
1872
1870
  _CalendarView_Meta_.VerticalDayItemAlignmentProperty = property(get_VerticalDayItemAlignmentProperty, None)
1873
1871
  _CalendarView_Meta_.VerticalFirstOfMonthLabelAlignmentProperty = property(get_VerticalFirstOfMonthLabelAlignmentProperty, None)
1874
- CalendarViewDayItemChanging = event()
1875
- SelectedDatesChanged = event()
1872
+ CalendarViewDayItemChanging = event(add_CalendarViewDayItemChanging, remove_CalendarViewDayItemChanging)
1873
+ SelectedDatesChanged = event(add_SelectedDatesChanged, remove_SelectedDatesChanged)
1876
1874
  class _CalendarViewDayItem_Meta_(ComPtr.__class__):
1877
1875
  pass
1878
1876
  class CalendarViewDayItem(ComPtr, metaclass=_CalendarViewDayItem_Meta_):
@@ -2273,7 +2271,7 @@ class ColorPicker(ComPtr, metaclass=_ColorPicker_Meta_):
2273
2271
  _ColorPicker_Meta_.MinValueProperty = property(get_MinValueProperty, None)
2274
2272
  _ColorPicker_Meta_.OrientationProperty = property(get_OrientationProperty, None)
2275
2273
  _ColorPicker_Meta_.PreviousColorProperty = property(get_PreviousColorProperty, None)
2276
- ColorChanged = event()
2274
+ ColorChanged = event(add_ColorChanged, remove_ColorChanged)
2277
2275
  class ColorPickerHsvChannel(Enum, Int32):
2278
2276
  Hue = 0
2279
2277
  Saturation = 1
@@ -2407,9 +2405,9 @@ class ComboBox(ComPtr, metaclass=_ComboBox_Meta_):
2407
2405
  @winrt_mixinmethod
2408
2406
  def put_HeaderTemplate(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
2409
2407
  @winrt_mixinmethod
2410
- def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox) -> WinRT_String: ...
2408
+ def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox) -> hstr: ...
2411
2409
  @winrt_mixinmethod
2412
- def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox, value: WinRT_String) -> Void: ...
2410
+ def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox, value: hstr) -> Void: ...
2413
2411
  @winrt_mixinmethod
2414
2412
  def get_LightDismissOverlayMode(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox) -> win32more.Microsoft.UI.Xaml.Controls.LightDismissOverlayMode: ...
2415
2413
  @winrt_mixinmethod
@@ -2427,9 +2425,9 @@ class ComboBox(ComPtr, metaclass=_ComboBox_Meta_):
2427
2425
  @winrt_mixinmethod
2428
2426
  def put_PlaceholderForeground(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox, value: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
2429
2427
  @winrt_mixinmethod
2430
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox) -> WinRT_String: ...
2428
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox) -> hstr: ...
2431
2429
  @winrt_mixinmethod
2432
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox, value: WinRT_String) -> Void: ...
2430
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox, value: hstr) -> Void: ...
2433
2431
  @winrt_mixinmethod
2434
2432
  def get_TextBoxStyle(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox) -> win32more.Microsoft.UI.Xaml.Style: ...
2435
2433
  @winrt_mixinmethod
@@ -2510,9 +2508,9 @@ class ComboBox(ComPtr, metaclass=_ComboBox_Meta_):
2510
2508
  _ComboBox_Meta_.SelectionChangedTriggerProperty = property(get_SelectionChangedTriggerProperty, None)
2511
2509
  _ComboBox_Meta_.TextBoxStyleProperty = property(get_TextBoxStyleProperty, None)
2512
2510
  _ComboBox_Meta_.TextProperty = property(get_TextProperty, None)
2513
- DropDownClosed = event()
2514
- DropDownOpened = event()
2515
- TextSubmitted = event()
2511
+ DropDownClosed = event(add_DropDownClosed, remove_DropDownClosed)
2512
+ DropDownOpened = event(add_DropDownOpened, remove_DropDownOpened)
2513
+ TextSubmitted = event(add_TextSubmitted, remove_TextSubmitted)
2516
2514
  class ComboBoxItem(ComPtr):
2517
2515
  extends: win32more.Microsoft.UI.Xaml.Controls.Primitives.SelectorItem
2518
2516
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IComboBoxItem
@@ -2534,7 +2532,7 @@ class ComboBoxTextSubmittedEventArgs(ComPtr):
2534
2532
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IComboBoxTextSubmittedEventArgs
2535
2533
  _classid_ = 'Microsoft.UI.Xaml.Controls.ComboBoxTextSubmittedEventArgs'
2536
2534
  @winrt_mixinmethod
2537
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IComboBoxTextSubmittedEventArgs) -> WinRT_String: ...
2535
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IComboBoxTextSubmittedEventArgs) -> hstr: ...
2538
2536
  @winrt_mixinmethod
2539
2537
  def get_Handled(self: win32more.Microsoft.UI.Xaml.Controls.IComboBoxTextSubmittedEventArgs) -> Boolean: ...
2540
2538
  @winrt_mixinmethod
@@ -2607,7 +2605,7 @@ class CommandBar(ComPtr, metaclass=_CommandBar_Meta_):
2607
2605
  _CommandBar_Meta_.OverflowButtonVisibilityProperty = property(get_OverflowButtonVisibilityProperty, None)
2608
2606
  _CommandBar_Meta_.PrimaryCommandsProperty = property(get_PrimaryCommandsProperty, None)
2609
2607
  _CommandBar_Meta_.SecondaryCommandsProperty = property(get_SecondaryCommandsProperty, None)
2610
- DynamicOverflowItemsChanging = event()
2608
+ DynamicOverflowItemsChanging = event(add_DynamicOverflowItemsChanging, remove_DynamicOverflowItemsChanging)
2611
2609
  class CommandBarDefaultLabelPosition(Enum, Int32):
2612
2610
  Bottom = 0
2613
2611
  Right = 1
@@ -2780,17 +2778,17 @@ class ContentDialog(ComPtr, metaclass=_ContentDialog_Meta_):
2780
2778
  @winrt_mixinmethod
2781
2779
  def put_FullSizeDesired(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog, value: Boolean) -> Void: ...
2782
2780
  @winrt_mixinmethod
2783
- def get_PrimaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog) -> WinRT_String: ...
2781
+ def get_PrimaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog) -> hstr: ...
2784
2782
  @winrt_mixinmethod
2785
- def put_PrimaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog, value: WinRT_String) -> Void: ...
2783
+ def put_PrimaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog, value: hstr) -> Void: ...
2786
2784
  @winrt_mixinmethod
2787
- def get_SecondaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog) -> WinRT_String: ...
2785
+ def get_SecondaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog) -> hstr: ...
2788
2786
  @winrt_mixinmethod
2789
- def put_SecondaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog, value: WinRT_String) -> Void: ...
2787
+ def put_SecondaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog, value: hstr) -> Void: ...
2790
2788
  @winrt_mixinmethod
2791
- def get_CloseButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog) -> WinRT_String: ...
2789
+ def get_CloseButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog) -> hstr: ...
2792
2790
  @winrt_mixinmethod
2793
- def put_CloseButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog, value: WinRT_String) -> Void: ...
2791
+ def put_CloseButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog, value: hstr) -> Void: ...
2794
2792
  @winrt_mixinmethod
2795
2793
  def get_PrimaryButtonCommand(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog) -> win32more.Microsoft.UI.Xaml.Input.ICommand: ...
2796
2794
  @winrt_mixinmethod
@@ -2941,12 +2939,12 @@ class ContentDialog(ComPtr, metaclass=_ContentDialog_Meta_):
2941
2939
  _ContentDialog_Meta_.SecondaryButtonTextProperty = property(get_SecondaryButtonTextProperty, None)
2942
2940
  _ContentDialog_Meta_.TitleProperty = property(get_TitleProperty, None)
2943
2941
  _ContentDialog_Meta_.TitleTemplateProperty = property(get_TitleTemplateProperty, None)
2944
- Closing = event()
2945
- Closed = event()
2946
- Opened = event()
2947
- PrimaryButtonClick = event()
2948
- SecondaryButtonClick = event()
2949
- CloseButtonClick = event()
2942
+ CloseButtonClick = event(add_CloseButtonClick, remove_CloseButtonClick)
2943
+ Closed = event(add_Closed, remove_Closed)
2944
+ Closing = event(add_Closing, remove_Closing)
2945
+ Opened = event(add_Opened, remove_Opened)
2946
+ PrimaryButtonClick = event(add_PrimaryButtonClick, remove_PrimaryButtonClick)
2947
+ SecondaryButtonClick = event(add_SecondaryButtonClick, remove_SecondaryButtonClick)
2950
2948
  class ContentDialogButton(Enum, Int32):
2951
2949
  None_ = 0
2952
2950
  Primary = 1
@@ -3391,7 +3389,7 @@ class Control(ComPtr, metaclass=_Control_Meta_):
3391
3389
  @winrt_mixinmethod
3392
3390
  def put_DefaultStyleKey(self: win32more.Microsoft.UI.Xaml.Controls.IControlProtected, value: IInspectable) -> Void: ...
3393
3391
  @winrt_mixinmethod
3394
- def GetTemplateChild(self: win32more.Microsoft.UI.Xaml.Controls.IControlProtected, childName: WinRT_String) -> win32more.Microsoft.UI.Xaml.DependencyObject: ...
3392
+ def GetTemplateChild(self: win32more.Microsoft.UI.Xaml.Controls.IControlProtected, childName: hstr) -> win32more.Microsoft.UI.Xaml.DependencyObject: ...
3395
3393
  @winrt_mixinmethod
3396
3394
  def OnPointerEntered(self: win32more.Microsoft.UI.Xaml.Controls.IControlOverrides, e: win32more.Microsoft.UI.Xaml.Input.PointerRoutedEventArgs) -> Void: ...
3397
3395
  @winrt_mixinmethod
@@ -3562,9 +3560,9 @@ class Control(ComPtr, metaclass=_Control_Meta_):
3562
3560
  _Control_Meta_.TabNavigationProperty = property(get_TabNavigationProperty, None)
3563
3561
  _Control_Meta_.TemplateProperty = property(get_TemplateProperty, None)
3564
3562
  _Control_Meta_.VerticalContentAlignmentProperty = property(get_VerticalContentAlignmentProperty, None)
3565
- FocusEngaged = event()
3566
- FocusDisengaged = event()
3567
- IsEnabledChanged = event()
3563
+ FocusDisengaged = event(add_FocusDisengaged, remove_FocusDisengaged)
3564
+ FocusEngaged = event(add_FocusEngaged, remove_FocusEngaged)
3565
+ IsEnabledChanged = event(add_IsEnabledChanged, remove_IsEnabledChanged)
3568
3566
  class ControlTemplate(ComPtr):
3569
3567
  extends: win32more.Microsoft.UI.Xaml.FrameworkTemplate
3570
3568
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IControlTemplate
@@ -3658,9 +3656,9 @@ class DatePicker(ComPtr, metaclass=_DatePicker_Meta_):
3658
3656
  @winrt_mixinmethod
3659
3657
  def put_HeaderTemplate(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
3660
3658
  @winrt_mixinmethod
3661
- def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> WinRT_String: ...
3659
+ def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> hstr: ...
3662
3660
  @winrt_mixinmethod
3663
- def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: WinRT_String) -> Void: ...
3661
+ def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: hstr) -> Void: ...
3664
3662
  @winrt_mixinmethod
3665
3663
  def get_Date(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> win32more.Windows.Foundation.DateTime: ...
3666
3664
  @winrt_mixinmethod
@@ -3678,17 +3676,17 @@ class DatePicker(ComPtr, metaclass=_DatePicker_Meta_):
3678
3676
  @winrt_mixinmethod
3679
3677
  def put_YearVisible(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: Boolean) -> Void: ...
3680
3678
  @winrt_mixinmethod
3681
- def get_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> WinRT_String: ...
3679
+ def get_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> hstr: ...
3682
3680
  @winrt_mixinmethod
3683
- def put_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: WinRT_String) -> Void: ...
3681
+ def put_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: hstr) -> Void: ...
3684
3682
  @winrt_mixinmethod
3685
- def get_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> WinRT_String: ...
3683
+ def get_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> hstr: ...
3686
3684
  @winrt_mixinmethod
3687
- def put_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: WinRT_String) -> Void: ...
3685
+ def put_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: hstr) -> Void: ...
3688
3686
  @winrt_mixinmethod
3689
- def get_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> WinRT_String: ...
3687
+ def get_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> hstr: ...
3690
3688
  @winrt_mixinmethod
3691
- def put_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: WinRT_String) -> Void: ...
3689
+ def put_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: hstr) -> Void: ...
3692
3690
  @winrt_mixinmethod
3693
3691
  def get_MinYear(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> win32more.Windows.Foundation.DateTime: ...
3694
3692
  @winrt_mixinmethod
@@ -3777,8 +3775,8 @@ class DatePicker(ComPtr, metaclass=_DatePicker_Meta_):
3777
3775
  _DatePicker_Meta_.SelectedDateProperty = property(get_SelectedDateProperty, None)
3778
3776
  _DatePicker_Meta_.YearFormatProperty = property(get_YearFormatProperty, None)
3779
3777
  _DatePicker_Meta_.YearVisibleProperty = property(get_YearVisibleProperty, None)
3780
- DateChanged = event()
3781
- SelectedDateChanged = event()
3778
+ DateChanged = event(add_DateChanged, remove_DateChanged)
3779
+ SelectedDateChanged = event(add_SelectedDateChanged, remove_SelectedDateChanged)
3782
3780
  class _DatePickerFlyout_Meta_(ComPtr.__class__):
3783
3781
  pass
3784
3782
  class DatePickerFlyout(ComPtr, metaclass=_DatePickerFlyout_Meta_):
@@ -3795,9 +3793,9 @@ class DatePickerFlyout(ComPtr, metaclass=_DatePickerFlyout_Meta_):
3795
3793
  @winrt_activatemethod
3796
3794
  def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Controls.DatePickerFlyout: ...
3797
3795
  @winrt_mixinmethod
3798
- def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> WinRT_String: ...
3796
+ def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> hstr: ...
3799
3797
  @winrt_mixinmethod
3800
- def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: WinRT_String) -> Void: ...
3798
+ def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: hstr) -> Void: ...
3801
3799
  @winrt_mixinmethod
3802
3800
  def get_Date(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> win32more.Windows.Foundation.DateTime: ...
3803
3801
  @winrt_mixinmethod
@@ -3823,17 +3821,17 @@ class DatePickerFlyout(ComPtr, metaclass=_DatePickerFlyout_Meta_):
3823
3821
  @winrt_mixinmethod
3824
3822
  def put_MaxYear(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: win32more.Windows.Foundation.DateTime) -> Void: ...
3825
3823
  @winrt_mixinmethod
3826
- def get_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> WinRT_String: ...
3824
+ def get_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> hstr: ...
3827
3825
  @winrt_mixinmethod
3828
- def put_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: WinRT_String) -> Void: ...
3826
+ def put_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: hstr) -> Void: ...
3829
3827
  @winrt_mixinmethod
3830
- def get_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> WinRT_String: ...
3828
+ def get_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> hstr: ...
3831
3829
  @winrt_mixinmethod
3832
- def put_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: WinRT_String) -> Void: ...
3830
+ def put_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: hstr) -> Void: ...
3833
3831
  @winrt_mixinmethod
3834
- def get_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> WinRT_String: ...
3832
+ def get_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> hstr: ...
3835
3833
  @winrt_mixinmethod
3836
- def put_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: WinRT_String) -> Void: ...
3834
+ def put_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: hstr) -> Void: ...
3837
3835
  @winrt_mixinmethod
3838
3836
  def add_DatePicked(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.DatePickerFlyout, win32more.Microsoft.UI.Xaml.Controls.DatePickedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
3839
3837
  @winrt_mixinmethod
@@ -3880,7 +3878,7 @@ class DatePickerFlyout(ComPtr, metaclass=_DatePickerFlyout_Meta_):
3880
3878
  _DatePickerFlyout_Meta_.MonthVisibleProperty = property(get_MonthVisibleProperty, None)
3881
3879
  _DatePickerFlyout_Meta_.YearFormatProperty = property(get_YearFormatProperty, None)
3882
3880
  _DatePickerFlyout_Meta_.YearVisibleProperty = property(get_YearVisibleProperty, None)
3883
- DatePicked = event()
3881
+ DatePicked = event(add_DatePicked, remove_DatePicked)
3884
3882
  class _DatePickerFlyoutItem_Meta_(ComPtr.__class__):
3885
3883
  pass
3886
3884
  class DatePickerFlyoutItem(ComPtr, metaclass=_DatePickerFlyoutItem_Meta_):
@@ -3888,19 +3886,19 @@ class DatePickerFlyoutItem(ComPtr, metaclass=_DatePickerFlyoutItem_Meta_):
3888
3886
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem
3889
3887
  _classid_ = 'Microsoft.UI.Xaml.Controls.DatePickerFlyoutItem'
3890
3888
  @winrt_mixinmethod
3891
- def get_PrimaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem) -> WinRT_String: ...
3889
+ def get_PrimaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem) -> hstr: ...
3892
3890
  @winrt_mixinmethod
3893
- def put_PrimaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem, value: WinRT_String) -> Void: ...
3891
+ def put_PrimaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem, value: hstr) -> Void: ...
3894
3892
  @winrt_mixinmethod
3895
- def get_SecondaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem) -> WinRT_String: ...
3893
+ def get_SecondaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem) -> hstr: ...
3896
3894
  @winrt_mixinmethod
3897
- def put_SecondaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem, value: WinRT_String) -> Void: ...
3895
+ def put_SecondaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem, value: hstr) -> Void: ...
3898
3896
  @winrt_mixinmethod
3899
- def GetCustomProperty(self: win32more.Microsoft.UI.Xaml.Data.ICustomPropertyProvider, name: WinRT_String) -> win32more.Microsoft.UI.Xaml.Data.ICustomProperty: ...
3897
+ def GetCustomProperty(self: win32more.Microsoft.UI.Xaml.Data.ICustomPropertyProvider, name: hstr) -> win32more.Microsoft.UI.Xaml.Data.ICustomProperty: ...
3900
3898
  @winrt_mixinmethod
3901
- def GetIndexedProperty(self: win32more.Microsoft.UI.Xaml.Data.ICustomPropertyProvider, name: WinRT_String, type: win32more.Windows.UI.Xaml.Interop.TypeName) -> win32more.Microsoft.UI.Xaml.Data.ICustomProperty: ...
3899
+ def GetIndexedProperty(self: win32more.Microsoft.UI.Xaml.Data.ICustomPropertyProvider, name: hstr, type: win32more.Windows.UI.Xaml.Interop.TypeName) -> win32more.Microsoft.UI.Xaml.Data.ICustomProperty: ...
3902
3900
  @winrt_mixinmethod
3903
- def GetStringRepresentation(self: win32more.Microsoft.UI.Xaml.Data.ICustomPropertyProvider) -> WinRT_String: ...
3901
+ def GetStringRepresentation(self: win32more.Microsoft.UI.Xaml.Data.ICustomPropertyProvider) -> hstr: ...
3904
3902
  @winrt_mixinmethod
3905
3903
  def get_Type(self: win32more.Microsoft.UI.Xaml.Data.ICustomPropertyProvider) -> win32more.Windows.UI.Xaml.Interop.TypeName: ...
3906
3904
  @winrt_classmethod
@@ -4093,8 +4091,8 @@ class Expander(ComPtr, metaclass=_Expander_Meta_):
4093
4091
  _Expander_Meta_.HeaderTemplateProperty = property(get_HeaderTemplateProperty, None)
4094
4092
  _Expander_Meta_.HeaderTemplateSelectorProperty = property(get_HeaderTemplateSelectorProperty, None)
4095
4093
  _Expander_Meta_.IsExpandedProperty = property(get_IsExpandedProperty, None)
4096
- Expanding = event()
4097
- Collapsed = event()
4094
+ Collapsed = event(add_Collapsed, remove_Collapsed)
4095
+ Expanding = event(add_Expanding, remove_Expanding)
4098
4096
  class ExpanderCollapsedEventArgs(ComPtr):
4099
4097
  extends: IInspectable
4100
4098
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IExpanderCollapsedEventArgs
@@ -4232,9 +4230,9 @@ class FontIcon(ComPtr, metaclass=_FontIcon_Meta_):
4232
4230
  @winrt_factorymethod
4233
4231
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IFontIconFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.FontIcon: ...
4234
4232
  @winrt_mixinmethod
4235
- def get_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIcon) -> WinRT_String: ...
4233
+ def get_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIcon) -> hstr: ...
4236
4234
  @winrt_mixinmethod
4237
- def put_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIcon, value: WinRT_String) -> Void: ...
4235
+ def put_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIcon, value: hstr) -> Void: ...
4238
4236
  @winrt_mixinmethod
4239
4237
  def get_FontSize(self: win32more.Microsoft.UI.Xaml.Controls.IFontIcon) -> Double: ...
4240
4238
  @winrt_mixinmethod
@@ -4303,9 +4301,9 @@ class FontIconSource(ComPtr, metaclass=_FontIconSource_Meta_):
4303
4301
  @winrt_factorymethod
4304
4302
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IFontIconSourceFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.FontIconSource: ...
4305
4303
  @winrt_mixinmethod
4306
- def get_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIconSource) -> WinRT_String: ...
4304
+ def get_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIconSource) -> hstr: ...
4307
4305
  @winrt_mixinmethod
4308
- def put_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIconSource, value: WinRT_String) -> Void: ...
4306
+ def put_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIconSource, value: hstr) -> Void: ...
4309
4307
  @winrt_mixinmethod
4310
4308
  def get_FontSize(self: win32more.Microsoft.UI.Xaml.Controls.IFontIconSource) -> Double: ...
4311
4309
  @winrt_mixinmethod
@@ -4427,11 +4425,11 @@ class Frame(ComPtr, metaclass=_Frame_Meta_):
4427
4425
  @winrt_mixinmethod
4428
4426
  def NavigateToType(self: win32more.Microsoft.UI.Xaml.Controls.IFrame, sourcePageType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, navigationOptions: win32more.Microsoft.UI.Xaml.Navigation.FrameNavigationOptions) -> Boolean: ...
4429
4427
  @winrt_mixinmethod
4430
- def GetNavigationState(self: win32more.Microsoft.UI.Xaml.Controls.IFrame) -> WinRT_String: ...
4428
+ def GetNavigationState(self: win32more.Microsoft.UI.Xaml.Controls.IFrame) -> hstr: ...
4431
4429
  @winrt_mixinmethod
4432
- def SetNavigationState(self: win32more.Microsoft.UI.Xaml.Controls.IFrame, navigationState: WinRT_String) -> Void: ...
4430
+ def SetNavigationState(self: win32more.Microsoft.UI.Xaml.Controls.IFrame, navigationState: hstr) -> Void: ...
4433
4431
  @winrt_mixinmethod
4434
- def SetNavigationStateWithNavigationControl(self: win32more.Microsoft.UI.Xaml.Controls.IFrame, navigationState: WinRT_String, suppressNavigate: Boolean) -> Void: ...
4432
+ def SetNavigationStateWithNavigationControl(self: win32more.Microsoft.UI.Xaml.Controls.IFrame, navigationState: hstr, suppressNavigate: Boolean) -> Void: ...
4435
4433
  @Navigate.register
4436
4434
  @winrt_mixinmethod
4437
4435
  def Navigate(self: win32more.Microsoft.UI.Xaml.Controls.INavigate, sourcePageType: win32more.Windows.UI.Xaml.Interop.TypeName) -> Boolean: ...
@@ -4471,10 +4469,10 @@ class Frame(ComPtr, metaclass=_Frame_Meta_):
4471
4469
  _Frame_Meta_.ForwardStackProperty = property(get_ForwardStackProperty, None)
4472
4470
  _Frame_Meta_.IsNavigationStackEnabledProperty = property(get_IsNavigationStackEnabledProperty, None)
4473
4471
  _Frame_Meta_.SourcePageTypeProperty = property(get_SourcePageTypeProperty, None)
4474
- Navigated = event()
4475
- Navigating = event()
4476
- NavigationFailed = event()
4477
- NavigationStopped = event()
4472
+ Navigated = event(add_Navigated, remove_Navigated)
4473
+ Navigating = event(add_Navigating, remove_Navigating)
4474
+ NavigationFailed = event(add_NavigationFailed, remove_NavigationFailed)
4475
+ NavigationStopped = event(add_NavigationStopped, remove_NavigationStopped)
4478
4476
  class _Grid_Meta_(ComPtr.__class__):
4479
4477
  pass
4480
4478
  class Grid(ComPtr, metaclass=_Grid_Meta_):
@@ -4687,7 +4685,7 @@ class GroupStyle(ComPtr):
4687
4685
  HeaderTemplateSelector = property(get_HeaderTemplateSelector, put_HeaderTemplateSelector)
4688
4686
  HidesIfEmpty = property(get_HidesIfEmpty, put_HidesIfEmpty)
4689
4687
  Panel = property(get_Panel, put_Panel)
4690
- PropertyChanged = event()
4688
+ PropertyChanged = event(add_PropertyChanged, remove_PropertyChanged)
4691
4689
  class GroupStyleSelector(ComPtr):
4692
4690
  extends: IInspectable
4693
4691
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IGroupStyleSelector
@@ -4816,8 +4814,8 @@ class Hub(ComPtr, metaclass=_Hub_Meta_):
4816
4814
  _Hub_Meta_.IsZoomedInViewProperty = property(get_IsZoomedInViewProperty, None)
4817
4815
  _Hub_Meta_.OrientationProperty = property(get_OrientationProperty, None)
4818
4816
  _Hub_Meta_.SemanticZoomOwnerProperty = property(get_SemanticZoomOwnerProperty, None)
4819
- SectionHeaderClick = event()
4820
- SectionsInViewChanged = event()
4817
+ SectionHeaderClick = event(add_SectionHeaderClick, remove_SectionHeaderClick)
4818
+ SectionsInViewChanged = event(add_SectionsInViewChanged, remove_SectionsInViewChanged)
4821
4819
  class _HubSection_Meta_(ComPtr.__class__):
4822
4820
  pass
4823
4821
  class HubSection(ComPtr, metaclass=_HubSection_Meta_):
@@ -5023,9 +5021,9 @@ class IAnimatedIconStatics(ComPtr):
5023
5021
  @winrt_commethod(6)
5024
5022
  def get_StateProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
5025
5023
  @winrt_commethod(7)
5026
- def SetState(self, object: win32more.Microsoft.UI.Xaml.DependencyObject, value: WinRT_String) -> Void: ...
5024
+ def SetState(self, object: win32more.Microsoft.UI.Xaml.DependencyObject, value: hstr) -> Void: ...
5027
5025
  @winrt_commethod(8)
5028
- def GetState(self, object: win32more.Microsoft.UI.Xaml.DependencyObject) -> WinRT_String: ...
5026
+ def GetState(self, object: win32more.Microsoft.UI.Xaml.DependencyObject) -> hstr: ...
5029
5027
  @winrt_commethod(9)
5030
5028
  def get_SourceProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
5031
5029
  @winrt_commethod(10)
@@ -5177,9 +5175,9 @@ class IAnimatedVisualSource2(ComPtr):
5177
5175
  _classid_ = 'Microsoft.UI.Xaml.Controls.IAnimatedVisualSource2'
5178
5176
  _iid_ = Guid('{1a3b53a7-a8fe-59a1-b544-43a4d9c81ef2}')
5179
5177
  @winrt_commethod(6)
5180
- def get_Markers(self) -> win32more.Windows.Foundation.Collections.IMapView[WinRT_String, Double]: ...
5178
+ def get_Markers(self) -> win32more.Windows.Foundation.Collections.IMapView[hstr, Double]: ...
5181
5179
  @winrt_commethod(7)
5182
- def SetColorProperty(self, propertyName: WinRT_String, value: win32more.Windows.UI.Color) -> Void: ...
5180
+ def SetColorProperty(self, propertyName: hstr, value: win32more.Windows.UI.Color) -> Void: ...
5183
5181
  Markers = property(get_Markers, None)
5184
5182
  class IAnimatedVisualSource3(ComPtr):
5185
5183
  extends: IInspectable
@@ -5222,8 +5220,8 @@ class IAnnotatedScrollBar(ComPtr):
5222
5220
  Labels = property(get_Labels, put_Labels)
5223
5221
  ScrollController = property(get_ScrollController, None)
5224
5222
  SmallChange = property(get_SmallChange, put_SmallChange)
5225
- Scrolling = event()
5226
- DetailLabelRequested = event()
5223
+ DetailLabelRequested = event(add_DetailLabelRequested, remove_DetailLabelRequested)
5224
+ Scrolling = event(add_Scrolling, remove_Scrolling)
5227
5225
  class IAnnotatedScrollBarDetailLabelRequestedEventArgs(ComPtr):
5228
5226
  extends: IInspectable
5229
5227
  _classid_ = 'Microsoft.UI.Xaml.Controls.IAnnotatedScrollBarDetailLabelRequestedEventArgs'
@@ -5332,18 +5330,18 @@ class IAppBar(ComPtr):
5332
5330
  IsSticky = property(get_IsSticky, put_IsSticky)
5333
5331
  LightDismissOverlayMode = property(get_LightDismissOverlayMode, put_LightDismissOverlayMode)
5334
5332
  TemplateSettings = property(get_TemplateSettings, None)
5335
- Opening = event()
5336
- Opened = event()
5337
- Closing = event()
5338
- Closed = event()
5333
+ Closed = event(add_Closed, remove_Closed)
5334
+ Closing = event(add_Closing, remove_Closing)
5335
+ Opened = event(add_Opened, remove_Opened)
5336
+ Opening = event(add_Opening, remove_Opening)
5339
5337
  class IAppBarButton(ComPtr):
5340
5338
  extends: IInspectable
5341
5339
  _classid_ = 'Microsoft.UI.Xaml.Controls.IAppBarButton'
5342
5340
  _iid_ = Guid('{8ab0e278-b6ae-569e-8dcd-d293552fe4d5}')
5343
5341
  @winrt_commethod(6)
5344
- def get_Label(self) -> WinRT_String: ...
5342
+ def get_Label(self) -> hstr: ...
5345
5343
  @winrt_commethod(7)
5346
- def put_Label(self, value: WinRT_String) -> Void: ...
5344
+ def put_Label(self, value: hstr) -> Void: ...
5347
5345
  @winrt_commethod(8)
5348
5346
  def get_Icon(self) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
5349
5347
  @winrt_commethod(9)
@@ -5353,9 +5351,9 @@ class IAppBarButton(ComPtr):
5353
5351
  @winrt_commethod(11)
5354
5352
  def put_LabelPosition(self, value: win32more.Microsoft.UI.Xaml.Controls.CommandBarLabelPosition) -> Void: ...
5355
5353
  @winrt_commethod(12)
5356
- def get_KeyboardAcceleratorTextOverride(self) -> WinRT_String: ...
5354
+ def get_KeyboardAcceleratorTextOverride(self) -> hstr: ...
5357
5355
  @winrt_commethod(13)
5358
- def put_KeyboardAcceleratorTextOverride(self, value: WinRT_String) -> Void: ...
5356
+ def put_KeyboardAcceleratorTextOverride(self, value: hstr) -> Void: ...
5359
5357
  @winrt_commethod(14)
5360
5358
  def get_TemplateSettings(self) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.AppBarButtonTemplateSettings: ...
5361
5359
  Icon = property(get_Icon, put_Icon)
@@ -5479,9 +5477,9 @@ class IAppBarToggleButton(ComPtr):
5479
5477
  _classid_ = 'Microsoft.UI.Xaml.Controls.IAppBarToggleButton'
5480
5478
  _iid_ = Guid('{9687c0b1-c390-59be-acdc-4fc48f552823}')
5481
5479
  @winrt_commethod(6)
5482
- def get_Label(self) -> WinRT_String: ...
5480
+ def get_Label(self) -> hstr: ...
5483
5481
  @winrt_commethod(7)
5484
- def put_Label(self, value: WinRT_String) -> Void: ...
5482
+ def put_Label(self, value: hstr) -> Void: ...
5485
5483
  @winrt_commethod(8)
5486
5484
  def get_Icon(self) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
5487
5485
  @winrt_commethod(9)
@@ -5491,9 +5489,9 @@ class IAppBarToggleButton(ComPtr):
5491
5489
  @winrt_commethod(11)
5492
5490
  def put_LabelPosition(self, value: win32more.Microsoft.UI.Xaml.Controls.CommandBarLabelPosition) -> Void: ...
5493
5491
  @winrt_commethod(12)
5494
- def get_KeyboardAcceleratorTextOverride(self) -> WinRT_String: ...
5492
+ def get_KeyboardAcceleratorTextOverride(self) -> hstr: ...
5495
5493
  @winrt_commethod(13)
5496
- def put_KeyboardAcceleratorTextOverride(self, value: WinRT_String) -> Void: ...
5494
+ def put_KeyboardAcceleratorTextOverride(self, value: hstr) -> Void: ...
5497
5495
  @winrt_commethod(14)
5498
5496
  def get_TemplateSettings(self) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.AppBarToggleButtonTemplateSettings: ...
5499
5497
  Icon = property(get_Icon, put_Icon)
@@ -5545,21 +5543,21 @@ class IAutoSuggestBox(ComPtr):
5545
5543
  @winrt_commethod(9)
5546
5544
  def put_IsSuggestionListOpen(self, value: Boolean) -> Void: ...
5547
5545
  @winrt_commethod(10)
5548
- def get_TextMemberPath(self) -> WinRT_String: ...
5546
+ def get_TextMemberPath(self) -> hstr: ...
5549
5547
  @winrt_commethod(11)
5550
- def put_TextMemberPath(self, value: WinRT_String) -> Void: ...
5548
+ def put_TextMemberPath(self, value: hstr) -> Void: ...
5551
5549
  @winrt_commethod(12)
5552
- def get_Text(self) -> WinRT_String: ...
5550
+ def get_Text(self) -> hstr: ...
5553
5551
  @winrt_commethod(13)
5554
- def put_Text(self, value: WinRT_String) -> Void: ...
5552
+ def put_Text(self, value: hstr) -> Void: ...
5555
5553
  @winrt_commethod(14)
5556
5554
  def get_UpdateTextOnSelect(self) -> Boolean: ...
5557
5555
  @winrt_commethod(15)
5558
5556
  def put_UpdateTextOnSelect(self, value: Boolean) -> Void: ...
5559
5557
  @winrt_commethod(16)
5560
- def get_PlaceholderText(self) -> WinRT_String: ...
5558
+ def get_PlaceholderText(self) -> hstr: ...
5561
5559
  @winrt_commethod(17)
5562
- def put_PlaceholderText(self, value: WinRT_String) -> Void: ...
5560
+ def put_PlaceholderText(self, value: hstr) -> Void: ...
5563
5561
  @winrt_commethod(18)
5564
5562
  def get_Header(self) -> IInspectable: ...
5565
5563
  @winrt_commethod(19)
@@ -5608,15 +5606,15 @@ class IAutoSuggestBox(ComPtr):
5608
5606
  TextBoxStyle = property(get_TextBoxStyle, put_TextBoxStyle)
5609
5607
  TextMemberPath = property(get_TextMemberPath, put_TextMemberPath)
5610
5608
  UpdateTextOnSelect = property(get_UpdateTextOnSelect, put_UpdateTextOnSelect)
5611
- SuggestionChosen = event()
5612
- TextChanged = event()
5613
- QuerySubmitted = event()
5609
+ QuerySubmitted = event(add_QuerySubmitted, remove_QuerySubmitted)
5610
+ SuggestionChosen = event(add_SuggestionChosen, remove_SuggestionChosen)
5611
+ TextChanged = event(add_TextChanged, remove_TextChanged)
5614
5612
  class IAutoSuggestBoxQuerySubmittedEventArgs(ComPtr):
5615
5613
  extends: IInspectable
5616
5614
  _classid_ = 'Microsoft.UI.Xaml.Controls.IAutoSuggestBoxQuerySubmittedEventArgs'
5617
5615
  _iid_ = Guid('{26da5de4-57a6-57bf-acc9-aac599c0b22b}')
5618
5616
  @winrt_commethod(6)
5619
- def get_QueryText(self) -> WinRT_String: ...
5617
+ def get_QueryText(self) -> hstr: ...
5620
5618
  @winrt_commethod(7)
5621
5619
  def get_ChosenSuggestion(self) -> IInspectable: ...
5622
5620
  ChosenSuggestion = property(get_ChosenSuggestion, None)
@@ -5838,7 +5836,7 @@ class IBreadcrumbBar(ComPtr):
5838
5836
  def remove_ItemClicked(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
5839
5837
  ItemTemplate = property(get_ItemTemplate, put_ItemTemplate)
5840
5838
  ItemsSource = property(get_ItemsSource, put_ItemsSource)
5841
- ItemClicked = event()
5839
+ ItemClicked = event(add_ItemClicked, remove_ItemClicked)
5842
5840
  class IBreadcrumbBarFactory(ComPtr):
5843
5841
  extends: IInspectable
5844
5842
  _classid_ = 'Microsoft.UI.Xaml.Controls.IBreadcrumbBarFactory'
@@ -5910,13 +5908,13 @@ class ICalendarDatePicker(ComPtr):
5910
5908
  @winrt_commethod(9)
5911
5909
  def put_IsCalendarOpen(self, value: Boolean) -> Void: ...
5912
5910
  @winrt_commethod(10)
5913
- def get_DateFormat(self) -> WinRT_String: ...
5911
+ def get_DateFormat(self) -> hstr: ...
5914
5912
  @winrt_commethod(11)
5915
- def put_DateFormat(self, value: WinRT_String) -> Void: ...
5913
+ def put_DateFormat(self, value: hstr) -> Void: ...
5916
5914
  @winrt_commethod(12)
5917
- def get_PlaceholderText(self) -> WinRT_String: ...
5915
+ def get_PlaceholderText(self) -> hstr: ...
5918
5916
  @winrt_commethod(13)
5919
- def put_PlaceholderText(self, value: WinRT_String) -> Void: ...
5917
+ def put_PlaceholderText(self, value: hstr) -> Void: ...
5920
5918
  @winrt_commethod(14)
5921
5919
  def get_Header(self) -> IInspectable: ...
5922
5920
  @winrt_commethod(15)
@@ -5958,13 +5956,13 @@ class ICalendarDatePicker(ComPtr):
5958
5956
  @winrt_commethod(33)
5959
5957
  def put_FirstDayOfWeek(self, value: win32more.Windows.Globalization.DayOfWeek) -> Void: ...
5960
5958
  @winrt_commethod(34)
5961
- def get_DayOfWeekFormat(self) -> WinRT_String: ...
5959
+ def get_DayOfWeekFormat(self) -> hstr: ...
5962
5960
  @winrt_commethod(35)
5963
- def put_DayOfWeekFormat(self, value: WinRT_String) -> Void: ...
5961
+ def put_DayOfWeekFormat(self, value: hstr) -> Void: ...
5964
5962
  @winrt_commethod(36)
5965
- def get_CalendarIdentifier(self) -> WinRT_String: ...
5963
+ def get_CalendarIdentifier(self) -> hstr: ...
5966
5964
  @winrt_commethod(37)
5967
- def put_CalendarIdentifier(self, value: WinRT_String) -> Void: ...
5965
+ def put_CalendarIdentifier(self, value: hstr) -> Void: ...
5968
5966
  @winrt_commethod(38)
5969
5967
  def get_IsOutOfScopeEnabled(self) -> Boolean: ...
5970
5968
  @winrt_commethod(39)
@@ -6011,10 +6009,10 @@ class ICalendarDatePicker(ComPtr):
6011
6009
  MaxDate = property(get_MaxDate, put_MaxDate)
6012
6010
  MinDate = property(get_MinDate, put_MinDate)
6013
6011
  PlaceholderText = property(get_PlaceholderText, put_PlaceholderText)
6014
- CalendarViewDayItemChanging = event()
6015
- DateChanged = event()
6016
- Opened = event()
6017
- Closed = event()
6012
+ CalendarViewDayItemChanging = event(add_CalendarViewDayItemChanging, remove_CalendarViewDayItemChanging)
6013
+ Closed = event(add_Closed, remove_Closed)
6014
+ DateChanged = event(add_DateChanged, remove_DateChanged)
6015
+ Opened = event(add_Opened, remove_Opened)
6018
6016
  class ICalendarDatePickerDateChangedEventArgs(ComPtr):
6019
6017
  extends: IInspectable
6020
6018
  _classid_ = 'Microsoft.UI.Xaml.Controls.ICalendarDatePickerDateChangedEventArgs'
@@ -6094,13 +6092,13 @@ class ICalendarView(ComPtr):
6094
6092
  _classid_ = 'Microsoft.UI.Xaml.Controls.ICalendarView'
6095
6093
  _iid_ = Guid('{e786081e-b680-56ab-bfbb-52d5b17c365e}')
6096
6094
  @winrt_commethod(6)
6097
- def get_CalendarIdentifier(self) -> WinRT_String: ...
6095
+ def get_CalendarIdentifier(self) -> hstr: ...
6098
6096
  @winrt_commethod(7)
6099
- def put_CalendarIdentifier(self, value: WinRT_String) -> Void: ...
6097
+ def put_CalendarIdentifier(self, value: hstr) -> Void: ...
6100
6098
  @winrt_commethod(8)
6101
- def get_DayOfWeekFormat(self) -> WinRT_String: ...
6099
+ def get_DayOfWeekFormat(self) -> hstr: ...
6102
6100
  @winrt_commethod(9)
6103
- def put_DayOfWeekFormat(self, value: WinRT_String) -> Void: ...
6101
+ def put_DayOfWeekFormat(self, value: hstr) -> Void: ...
6104
6102
  @winrt_commethod(10)
6105
6103
  def get_IsGroupLabelVisible(self) -> Boolean: ...
6106
6104
  @winrt_commethod(11)
@@ -6476,8 +6474,8 @@ class ICalendarView(ComPtr):
6476
6474
  TodaySelectedInnerBorderBrush = property(get_TodaySelectedInnerBorderBrush, put_TodaySelectedInnerBorderBrush)
6477
6475
  VerticalDayItemAlignment = property(get_VerticalDayItemAlignment, put_VerticalDayItemAlignment)
6478
6476
  VerticalFirstOfMonthLabelAlignment = property(get_VerticalFirstOfMonthLabelAlignment, put_VerticalFirstOfMonthLabelAlignment)
6479
- CalendarViewDayItemChanging = event()
6480
- SelectedDatesChanged = event()
6477
+ CalendarViewDayItemChanging = event(add_CalendarViewDayItemChanging, remove_CalendarViewDayItemChanging)
6478
+ SelectedDatesChanged = event(add_SelectedDatesChanged, remove_SelectedDatesChanged)
6481
6479
  class ICalendarViewDayItem(ComPtr):
6482
6480
  extends: IInspectable
6483
6481
  _classid_ = 'Microsoft.UI.Xaml.Controls.ICalendarViewDayItem'
@@ -6985,7 +6983,7 @@ class IColorPicker(ComPtr):
6985
6983
  MinSaturation = property(get_MinSaturation, put_MinSaturation)
6986
6984
  MinValue = property(get_MinValue, put_MinValue)
6987
6985
  PreviousColor = property(get_PreviousColor, put_PreviousColor)
6988
- ColorChanged = event()
6986
+ ColorChanged = event(add_ColorChanged, remove_ColorChanged)
6989
6987
  class IColorPicker2(ComPtr):
6990
6988
  extends: IInspectable
6991
6989
  _classid_ = 'Microsoft.UI.Xaml.Controls.IColorPicker2'
@@ -7137,9 +7135,9 @@ class IComboBox(ComPtr):
7137
7135
  @winrt_commethod(19)
7138
7136
  def put_HeaderTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
7139
7137
  @winrt_commethod(20)
7140
- def get_PlaceholderText(self) -> WinRT_String: ...
7138
+ def get_PlaceholderText(self) -> hstr: ...
7141
7139
  @winrt_commethod(21)
7142
- def put_PlaceholderText(self, value: WinRT_String) -> Void: ...
7140
+ def put_PlaceholderText(self, value: hstr) -> Void: ...
7143
7141
  @winrt_commethod(22)
7144
7142
  def get_LightDismissOverlayMode(self) -> win32more.Microsoft.UI.Xaml.Controls.LightDismissOverlayMode: ...
7145
7143
  @winrt_commethod(23)
@@ -7157,9 +7155,9 @@ class IComboBox(ComPtr):
7157
7155
  @winrt_commethod(29)
7158
7156
  def put_PlaceholderForeground(self, value: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
7159
7157
  @winrt_commethod(30)
7160
- def get_Text(self) -> WinRT_String: ...
7158
+ def get_Text(self) -> hstr: ...
7161
7159
  @winrt_commethod(31)
7162
- def put_Text(self, value: WinRT_String) -> Void: ...
7160
+ def put_Text(self, value: hstr) -> Void: ...
7163
7161
  @winrt_commethod(32)
7164
7162
  def get_TextBoxStyle(self) -> win32more.Microsoft.UI.Xaml.Style: ...
7165
7163
  @winrt_commethod(33)
@@ -7197,9 +7195,9 @@ class IComboBox(ComPtr):
7197
7195
  TemplateSettings = property(get_TemplateSettings, None)
7198
7196
  Text = property(get_Text, put_Text)
7199
7197
  TextBoxStyle = property(get_TextBoxStyle, put_TextBoxStyle)
7200
- DropDownClosed = event()
7201
- DropDownOpened = event()
7202
- TextSubmitted = event()
7198
+ DropDownClosed = event(add_DropDownClosed, remove_DropDownClosed)
7199
+ DropDownOpened = event(add_DropDownOpened, remove_DropDownOpened)
7200
+ TextSubmitted = event(add_TextSubmitted, remove_TextSubmitted)
7203
7201
  class IComboBoxFactory(ComPtr):
7204
7202
  extends: IInspectable
7205
7203
  _classid_ = 'Microsoft.UI.Xaml.Controls.IComboBoxFactory'
@@ -7272,7 +7270,7 @@ class IComboBoxTextSubmittedEventArgs(ComPtr):
7272
7270
  _classid_ = 'Microsoft.UI.Xaml.Controls.IComboBoxTextSubmittedEventArgs'
7273
7271
  _iid_ = Guid('{0d7a9794-73b5-585e-bfbb-de6df7eb9fcf}')
7274
7272
  @winrt_commethod(6)
7275
- def get_Text(self) -> WinRT_String: ...
7273
+ def get_Text(self) -> hstr: ...
7276
7274
  @winrt_commethod(7)
7277
7275
  def get_Handled(self) -> Boolean: ...
7278
7276
  @winrt_commethod(8)
@@ -7316,7 +7314,7 @@ class ICommandBar(ComPtr):
7316
7314
  OverflowButtonVisibility = property(get_OverflowButtonVisibility, put_OverflowButtonVisibility)
7317
7315
  PrimaryCommands = property(get_PrimaryCommands, None)
7318
7316
  SecondaryCommands = property(get_SecondaryCommands, None)
7319
- DynamicOverflowItemsChanging = event()
7317
+ DynamicOverflowItemsChanging = event(add_DynamicOverflowItemsChanging, remove_DynamicOverflowItemsChanging)
7320
7318
  class ICommandBarElement(ComPtr):
7321
7319
  extends: IInspectable
7322
7320
  _classid_ = 'Microsoft.UI.Xaml.Controls.ICommandBarElement'
@@ -7501,17 +7499,17 @@ class IContentDialog(ComPtr):
7501
7499
  @winrt_commethod(11)
7502
7500
  def put_FullSizeDesired(self, value: Boolean) -> Void: ...
7503
7501
  @winrt_commethod(12)
7504
- def get_PrimaryButtonText(self) -> WinRT_String: ...
7502
+ def get_PrimaryButtonText(self) -> hstr: ...
7505
7503
  @winrt_commethod(13)
7506
- def put_PrimaryButtonText(self, value: WinRT_String) -> Void: ...
7504
+ def put_PrimaryButtonText(self, value: hstr) -> Void: ...
7507
7505
  @winrt_commethod(14)
7508
- def get_SecondaryButtonText(self) -> WinRT_String: ...
7506
+ def get_SecondaryButtonText(self) -> hstr: ...
7509
7507
  @winrt_commethod(15)
7510
- def put_SecondaryButtonText(self, value: WinRT_String) -> Void: ...
7508
+ def put_SecondaryButtonText(self, value: hstr) -> Void: ...
7511
7509
  @winrt_commethod(16)
7512
- def get_CloseButtonText(self) -> WinRT_String: ...
7510
+ def get_CloseButtonText(self) -> hstr: ...
7513
7511
  @winrt_commethod(17)
7514
- def put_CloseButtonText(self, value: WinRT_String) -> Void: ...
7512
+ def put_CloseButtonText(self, value: hstr) -> Void: ...
7515
7513
  @winrt_commethod(18)
7516
7514
  def get_PrimaryButtonCommand(self) -> win32more.Microsoft.UI.Xaml.Input.ICommand: ...
7517
7515
  @winrt_commethod(19)
@@ -7608,12 +7606,12 @@ class IContentDialog(ComPtr):
7608
7606
  SecondaryButtonText = property(get_SecondaryButtonText, put_SecondaryButtonText)
7609
7607
  Title = property(get_Title, put_Title)
7610
7608
  TitleTemplate = property(get_TitleTemplate, put_TitleTemplate)
7611
- Closing = event()
7612
- Closed = event()
7613
- Opened = event()
7614
- PrimaryButtonClick = event()
7615
- SecondaryButtonClick = event()
7616
- CloseButtonClick = event()
7609
+ CloseButtonClick = event(add_CloseButtonClick, remove_CloseButtonClick)
7610
+ Closed = event(add_Closed, remove_Closed)
7611
+ Closing = event(add_Closing, remove_Closing)
7612
+ Opened = event(add_Opened, remove_Opened)
7613
+ PrimaryButtonClick = event(add_PrimaryButtonClick, remove_PrimaryButtonClick)
7614
+ SecondaryButtonClick = event(add_SecondaryButtonClick, remove_SecondaryButtonClick)
7617
7615
  class IContentDialogButtonClickDeferral(ComPtr):
7618
7616
  extends: IInspectable
7619
7617
  _classid_ = 'Microsoft.UI.Xaml.Controls.IContentDialogButtonClickDeferral'
@@ -8116,9 +8114,9 @@ class IControl(ComPtr):
8116
8114
  TabNavigation = property(get_TabNavigation, put_TabNavigation)
8117
8115
  Template = property(get_Template, put_Template)
8118
8116
  VerticalContentAlignment = property(get_VerticalContentAlignment, put_VerticalContentAlignment)
8119
- FocusEngaged = event()
8120
- FocusDisengaged = event()
8121
- IsEnabledChanged = event()
8117
+ FocusDisengaged = event(add_FocusDisengaged, remove_FocusDisengaged)
8118
+ FocusEngaged = event(add_FocusEngaged, remove_FocusEngaged)
8119
+ IsEnabledChanged = event(add_IsEnabledChanged, remove_IsEnabledChanged)
8122
8120
  class IControlFactory(ComPtr):
8123
8121
  extends: IInspectable
8124
8122
  _classid_ = 'Microsoft.UI.Xaml.Controls.IControlFactory'
@@ -8194,7 +8192,7 @@ class IControlProtected(ComPtr):
8194
8192
  @winrt_commethod(7)
8195
8193
  def put_DefaultStyleKey(self, value: IInspectable) -> Void: ...
8196
8194
  @winrt_commethod(8)
8197
- def GetTemplateChild(self, childName: WinRT_String) -> win32more.Microsoft.UI.Xaml.DependencyObject: ...
8195
+ def GetTemplateChild(self, childName: hstr) -> win32more.Microsoft.UI.Xaml.DependencyObject: ...
8198
8196
  DefaultStyleKey = property(get_DefaultStyleKey, put_DefaultStyleKey)
8199
8197
  class IControlStatics(ComPtr):
8200
8198
  extends: IInspectable
@@ -8350,9 +8348,9 @@ class IDatePicker(ComPtr):
8350
8348
  @winrt_commethod(9)
8351
8349
  def put_HeaderTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
8352
8350
  @winrt_commethod(10)
8353
- def get_CalendarIdentifier(self) -> WinRT_String: ...
8351
+ def get_CalendarIdentifier(self) -> hstr: ...
8354
8352
  @winrt_commethod(11)
8355
- def put_CalendarIdentifier(self, value: WinRT_String) -> Void: ...
8353
+ def put_CalendarIdentifier(self, value: hstr) -> Void: ...
8356
8354
  @winrt_commethod(12)
8357
8355
  def get_Date(self) -> win32more.Windows.Foundation.DateTime: ...
8358
8356
  @winrt_commethod(13)
@@ -8370,17 +8368,17 @@ class IDatePicker(ComPtr):
8370
8368
  @winrt_commethod(19)
8371
8369
  def put_YearVisible(self, value: Boolean) -> Void: ...
8372
8370
  @winrt_commethod(20)
8373
- def get_DayFormat(self) -> WinRT_String: ...
8371
+ def get_DayFormat(self) -> hstr: ...
8374
8372
  @winrt_commethod(21)
8375
- def put_DayFormat(self, value: WinRT_String) -> Void: ...
8373
+ def put_DayFormat(self, value: hstr) -> Void: ...
8376
8374
  @winrt_commethod(22)
8377
- def get_MonthFormat(self) -> WinRT_String: ...
8375
+ def get_MonthFormat(self) -> hstr: ...
8378
8376
  @winrt_commethod(23)
8379
- def put_MonthFormat(self, value: WinRT_String) -> Void: ...
8377
+ def put_MonthFormat(self, value: hstr) -> Void: ...
8380
8378
  @winrt_commethod(24)
8381
- def get_YearFormat(self) -> WinRT_String: ...
8379
+ def get_YearFormat(self) -> hstr: ...
8382
8380
  @winrt_commethod(25)
8383
- def put_YearFormat(self, value: WinRT_String) -> Void: ...
8381
+ def put_YearFormat(self, value: hstr) -> Void: ...
8384
8382
  @winrt_commethod(26)
8385
8383
  def get_MinYear(self) -> win32more.Windows.Foundation.DateTime: ...
8386
8384
  @winrt_commethod(27)
@@ -8424,8 +8422,8 @@ class IDatePicker(ComPtr):
8424
8422
  SelectedDate = property(get_SelectedDate, put_SelectedDate)
8425
8423
  YearFormat = property(get_YearFormat, put_YearFormat)
8426
8424
  YearVisible = property(get_YearVisible, put_YearVisible)
8427
- DateChanged = event()
8428
- SelectedDateChanged = event()
8425
+ DateChanged = event(add_DateChanged, remove_DateChanged)
8426
+ SelectedDateChanged = event(add_SelectedDateChanged, remove_SelectedDateChanged)
8429
8427
  class IDatePickerFactory(ComPtr):
8430
8428
  extends: IInspectable
8431
8429
  _classid_ = 'Microsoft.UI.Xaml.Controls.IDatePickerFactory'
@@ -8437,9 +8435,9 @@ class IDatePickerFlyout(ComPtr):
8437
8435
  _classid_ = 'Microsoft.UI.Xaml.Controls.IDatePickerFlyout'
8438
8436
  _iid_ = Guid('{ba7ecf3c-edb1-593b-a4ac-c09802eace99}')
8439
8437
  @winrt_commethod(6)
8440
- def get_CalendarIdentifier(self) -> WinRT_String: ...
8438
+ def get_CalendarIdentifier(self) -> hstr: ...
8441
8439
  @winrt_commethod(7)
8442
- def put_CalendarIdentifier(self, value: WinRT_String) -> Void: ...
8440
+ def put_CalendarIdentifier(self, value: hstr) -> Void: ...
8443
8441
  @winrt_commethod(8)
8444
8442
  def get_Date(self) -> win32more.Windows.Foundation.DateTime: ...
8445
8443
  @winrt_commethod(9)
@@ -8465,17 +8463,17 @@ class IDatePickerFlyout(ComPtr):
8465
8463
  @winrt_commethod(19)
8466
8464
  def put_MaxYear(self, value: win32more.Windows.Foundation.DateTime) -> Void: ...
8467
8465
  @winrt_commethod(20)
8468
- def get_DayFormat(self) -> WinRT_String: ...
8466
+ def get_DayFormat(self) -> hstr: ...
8469
8467
  @winrt_commethod(21)
8470
- def put_DayFormat(self, value: WinRT_String) -> Void: ...
8468
+ def put_DayFormat(self, value: hstr) -> Void: ...
8471
8469
  @winrt_commethod(22)
8472
- def get_MonthFormat(self) -> WinRT_String: ...
8470
+ def get_MonthFormat(self) -> hstr: ...
8473
8471
  @winrt_commethod(23)
8474
- def put_MonthFormat(self, value: WinRT_String) -> Void: ...
8472
+ def put_MonthFormat(self, value: hstr) -> Void: ...
8475
8473
  @winrt_commethod(24)
8476
- def get_YearFormat(self) -> WinRT_String: ...
8474
+ def get_YearFormat(self) -> hstr: ...
8477
8475
  @winrt_commethod(25)
8478
- def put_YearFormat(self, value: WinRT_String) -> Void: ...
8476
+ def put_YearFormat(self, value: hstr) -> Void: ...
8479
8477
  @winrt_commethod(26)
8480
8478
  def add_DatePicked(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.DatePickerFlyout, win32more.Microsoft.UI.Xaml.Controls.DatePickedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
8481
8479
  @winrt_commethod(27)
@@ -8492,19 +8490,19 @@ class IDatePickerFlyout(ComPtr):
8492
8490
  MonthVisible = property(get_MonthVisible, put_MonthVisible)
8493
8491
  YearFormat = property(get_YearFormat, put_YearFormat)
8494
8492
  YearVisible = property(get_YearVisible, put_YearVisible)
8495
- DatePicked = event()
8493
+ DatePicked = event(add_DatePicked, remove_DatePicked)
8496
8494
  class IDatePickerFlyoutItem(ComPtr):
8497
8495
  extends: IInspectable
8498
8496
  _classid_ = 'Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem'
8499
8497
  _iid_ = Guid('{eb7d591e-1314-5409-9231-5b8e3be187a7}')
8500
8498
  @winrt_commethod(6)
8501
- def get_PrimaryText(self) -> WinRT_String: ...
8499
+ def get_PrimaryText(self) -> hstr: ...
8502
8500
  @winrt_commethod(7)
8503
- def put_PrimaryText(self, value: WinRT_String) -> Void: ...
8501
+ def put_PrimaryText(self, value: hstr) -> Void: ...
8504
8502
  @winrt_commethod(8)
8505
- def get_SecondaryText(self) -> WinRT_String: ...
8503
+ def get_SecondaryText(self) -> hstr: ...
8506
8504
  @winrt_commethod(9)
8507
- def put_SecondaryText(self, value: WinRT_String) -> Void: ...
8505
+ def put_SecondaryText(self, value: hstr) -> Void: ...
8508
8506
  PrimaryText = property(get_PrimaryText, put_PrimaryText)
8509
8507
  SecondaryText = property(get_SecondaryText, put_SecondaryText)
8510
8508
  class IDatePickerFlyoutItemStatics(ComPtr):
@@ -8679,7 +8677,7 @@ class IDynamicAnimatedVisualSource(ComPtr):
8679
8677
  def add_AnimatedVisualInvalidated(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.IDynamicAnimatedVisualSource, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
8680
8678
  @winrt_commethod(7)
8681
8679
  def remove_AnimatedVisualInvalidated(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
8682
- AnimatedVisualInvalidated = event()
8680
+ AnimatedVisualInvalidated = event(add_AnimatedVisualInvalidated, remove_AnimatedVisualInvalidated)
8683
8681
  class IDynamicOverflowItemsChangingEventArgs(ComPtr):
8684
8682
  extends: IInspectable
8685
8683
  _classid_ = 'Microsoft.UI.Xaml.Controls.IDynamicOverflowItemsChangingEventArgs'
@@ -8727,8 +8725,8 @@ class IExpander(ComPtr):
8727
8725
  HeaderTemplateSelector = property(get_HeaderTemplateSelector, put_HeaderTemplateSelector)
8728
8726
  IsExpanded = property(get_IsExpanded, put_IsExpanded)
8729
8727
  TemplateSettings = property(get_TemplateSettings, None)
8730
- Expanding = event()
8731
- Collapsed = event()
8728
+ Collapsed = event(add_Collapsed, remove_Collapsed)
8729
+ Expanding = event(add_Expanding, remove_Expanding)
8732
8730
  class IExpanderCollapsedEventArgs(ComPtr):
8733
8731
  extends: IInspectable
8734
8732
  _classid_ = 'Microsoft.UI.Xaml.Controls.IExpanderCollapsedEventArgs'
@@ -8874,9 +8872,9 @@ class IFontIcon(ComPtr):
8874
8872
  _classid_ = 'Microsoft.UI.Xaml.Controls.IFontIcon'
8875
8873
  _iid_ = Guid('{6eba5ed9-d233-5f5e-91a8-f5134292658a}')
8876
8874
  @winrt_commethod(6)
8877
- def get_Glyph(self) -> WinRT_String: ...
8875
+ def get_Glyph(self) -> hstr: ...
8878
8876
  @winrt_commethod(7)
8879
- def put_Glyph(self, value: WinRT_String) -> Void: ...
8877
+ def put_Glyph(self, value: hstr) -> Void: ...
8880
8878
  @winrt_commethod(8)
8881
8879
  def get_FontSize(self) -> Double: ...
8882
8880
  @winrt_commethod(9)
@@ -8919,9 +8917,9 @@ class IFontIconSource(ComPtr):
8919
8917
  _classid_ = 'Microsoft.UI.Xaml.Controls.IFontIconSource'
8920
8918
  _iid_ = Guid('{b89d614c-e9b5-5b6a-9bec-ad78b1a14b74}')
8921
8919
  @winrt_commethod(6)
8922
- def get_Glyph(self) -> WinRT_String: ...
8920
+ def get_Glyph(self) -> hstr: ...
8923
8921
  @winrt_commethod(7)
8924
- def put_Glyph(self, value: WinRT_String) -> Void: ...
8922
+ def put_Glyph(self, value: hstr) -> Void: ...
8925
8923
  @winrt_commethod(8)
8926
8924
  def get_FontSize(self) -> Double: ...
8927
8925
  @winrt_commethod(9)
@@ -9066,11 +9064,11 @@ class IFrame(ComPtr):
9066
9064
  @winrt_commethod(31)
9067
9065
  def NavigateToType(self, sourcePageType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, navigationOptions: win32more.Microsoft.UI.Xaml.Navigation.FrameNavigationOptions) -> Boolean: ...
9068
9066
  @winrt_commethod(32)
9069
- def GetNavigationState(self) -> WinRT_String: ...
9067
+ def GetNavigationState(self) -> hstr: ...
9070
9068
  @winrt_commethod(33)
9071
- def SetNavigationState(self, navigationState: WinRT_String) -> Void: ...
9069
+ def SetNavigationState(self, navigationState: hstr) -> Void: ...
9072
9070
  @winrt_commethod(34)
9073
- def SetNavigationStateWithNavigationControl(self, navigationState: WinRT_String, suppressNavigate: Boolean) -> Void: ...
9071
+ def SetNavigationStateWithNavigationControl(self, navigationState: hstr, suppressNavigate: Boolean) -> Void: ...
9074
9072
  BackStack = property(get_BackStack, None)
9075
9073
  BackStackDepth = property(get_BackStackDepth, None)
9076
9074
  CacheSize = property(get_CacheSize, put_CacheSize)
@@ -9080,10 +9078,10 @@ class IFrame(ComPtr):
9080
9078
  ForwardStack = property(get_ForwardStack, None)
9081
9079
  IsNavigationStackEnabled = property(get_IsNavigationStackEnabled, put_IsNavigationStackEnabled)
9082
9080
  SourcePageType = property(get_SourcePageType, put_SourcePageType)
9083
- Navigated = event()
9084
- Navigating = event()
9085
- NavigationFailed = event()
9086
- NavigationStopped = event()
9081
+ Navigated = event(add_Navigated, remove_Navigated)
9082
+ Navigating = event(add_Navigating, remove_Navigating)
9083
+ NavigationFailed = event(add_NavigationFailed, remove_NavigationFailed)
9084
+ NavigationStopped = event(add_NavigationStopped, remove_NavigationStopped)
9087
9085
  class IFrameFactory(ComPtr):
9088
9086
  extends: IInspectable
9089
9087
  _classid_ = 'Microsoft.UI.Xaml.Controls.IFrameFactory'
@@ -9381,8 +9379,8 @@ class IHub(ComPtr):
9381
9379
  SectionHeaders = property(get_SectionHeaders, None)
9382
9380
  Sections = property(get_Sections, None)
9383
9381
  SectionsInView = property(get_SectionsInView, None)
9384
- SectionHeaderClick = event()
9385
- SectionsInViewChanged = event()
9382
+ SectionHeaderClick = event(add_SectionHeaderClick, remove_SectionHeaderClick)
9383
+ SectionsInViewChanged = event(add_SectionsInViewChanged, remove_SectionsInViewChanged)
9386
9384
  class IHubFactory(ComPtr):
9387
9385
  extends: IInspectable
9388
9386
  _classid_ = 'Microsoft.UI.Xaml.Controls.IHubFactory'
@@ -9592,8 +9590,8 @@ class IImage(ComPtr):
9592
9590
  NineGrid = property(get_NineGrid, put_NineGrid)
9593
9591
  Source = property(get_Source, put_Source)
9594
9592
  Stretch = property(get_Stretch, put_Stretch)
9595
- ImageFailed = event()
9596
- ImageOpened = event()
9593
+ ImageFailed = event(add_ImageFailed, remove_ImageFailed)
9594
+ ImageOpened = event(add_ImageOpened, remove_ImageOpened)
9597
9595
  class IImageIcon(ComPtr):
9598
9596
  extends: IInspectable
9599
9597
  _classid_ = 'Microsoft.UI.Xaml.Controls.IImageIcon'
@@ -9726,13 +9724,13 @@ class IInfoBar(ComPtr):
9726
9724
  @winrt_commethod(7)
9727
9725
  def put_IsOpen(self, value: Boolean) -> Void: ...
9728
9726
  @winrt_commethod(8)
9729
- def get_Title(self) -> WinRT_String: ...
9727
+ def get_Title(self) -> hstr: ...
9730
9728
  @winrt_commethod(9)
9731
- def put_Title(self, value: WinRT_String) -> Void: ...
9729
+ def put_Title(self, value: hstr) -> Void: ...
9732
9730
  @winrt_commethod(10)
9733
- def get_Message(self) -> WinRT_String: ...
9731
+ def get_Message(self) -> hstr: ...
9734
9732
  @winrt_commethod(11)
9735
- def put_Message(self, value: WinRT_String) -> Void: ...
9733
+ def put_Message(self, value: hstr) -> Void: ...
9736
9734
  @winrt_commethod(12)
9737
9735
  def get_Severity(self) -> win32more.Microsoft.UI.Xaml.Controls.InfoBarSeverity: ...
9738
9736
  @winrt_commethod(13)
@@ -9801,9 +9799,9 @@ class IInfoBar(ComPtr):
9801
9799
  Severity = property(get_Severity, put_Severity)
9802
9800
  TemplateSettings = property(get_TemplateSettings, None)
9803
9801
  Title = property(get_Title, put_Title)
9804
- CloseButtonClick = event()
9805
- Closing = event()
9806
- Closed = event()
9802
+ CloseButtonClick = event(add_CloseButtonClick, remove_CloseButtonClick)
9803
+ Closed = event(add_Closed, remove_Closed)
9804
+ Closing = event(add_Closing, remove_Closing)
9807
9805
  class IInfoBarClosedEventArgs(ComPtr):
9808
9806
  extends: IInspectable
9809
9807
  _classid_ = 'Microsoft.UI.Xaml.Controls.IInfoBarClosedEventArgs'
@@ -9977,7 +9975,7 @@ class IItemCollectionTransitionProvider(ComPtr):
9977
9975
  def add_TransitionCompleted(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.ItemCollectionTransitionProvider, win32more.Microsoft.UI.Xaml.Controls.ItemCollectionTransitionCompletedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
9978
9976
  @winrt_commethod(9)
9979
9977
  def remove_TransitionCompleted(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
9980
- TransitionCompleted = event()
9978
+ TransitionCompleted = event(add_TransitionCompleted, remove_TransitionCompleted)
9981
9979
  class IItemCollectionTransitionProviderFactory(ComPtr):
9982
9980
  extends: IInspectable
9983
9981
  _classid_ = 'Microsoft.UI.Xaml.Controls.IItemCollectionTransitionProviderFactory'
@@ -10048,7 +10046,7 @@ class IItemContainerGenerator(ComPtr):
10048
10046
  def IndexFromGeneratorPosition(self, position: win32more.Microsoft.UI.Xaml.Controls.Primitives.GeneratorPosition) -> Int32: ...
10049
10047
  @winrt_commethod(21)
10050
10048
  def Recycle(self, position: win32more.Microsoft.UI.Xaml.Controls.Primitives.GeneratorPosition, count: Int32) -> Void: ...
10051
- ItemsChanged = event()
10049
+ ItemsChanged = event(add_ItemsChanged, remove_ItemsChanged)
10052
10050
  class IItemContainerMapping(ComPtr):
10053
10051
  extends: IInspectable
10054
10052
  _classid_ = 'Microsoft.UI.Xaml.Controls.IItemContainerMapping'
@@ -10094,9 +10092,9 @@ class IItemsControl(ComPtr):
10094
10092
  @winrt_commethod(14)
10095
10093
  def put_ItemsPanel(self, value: win32more.Microsoft.UI.Xaml.Controls.ItemsPanelTemplate) -> Void: ...
10096
10094
  @winrt_commethod(15)
10097
- def get_DisplayMemberPath(self) -> WinRT_String: ...
10095
+ def get_DisplayMemberPath(self) -> hstr: ...
10098
10096
  @winrt_commethod(16)
10099
- def put_DisplayMemberPath(self, value: WinRT_String) -> Void: ...
10097
+ def put_DisplayMemberPath(self, value: hstr) -> Void: ...
10100
10098
  @winrt_commethod(17)
10101
10099
  def get_ItemsPanelRoot(self) -> win32more.Microsoft.UI.Xaml.Controls.Panel: ...
10102
10100
  @winrt_commethod(18)
@@ -10338,9 +10336,9 @@ class IItemsRepeater(ComPtr):
10338
10336
  ItemsSourceView = property(get_ItemsSourceView, None)
10339
10337
  Layout = property(get_Layout, put_Layout)
10340
10338
  VerticalCacheLength = property(get_VerticalCacheLength, put_VerticalCacheLength)
10341
- ElementPrepared = event()
10342
- ElementClearing = event()
10343
- ElementIndexChanged = event()
10339
+ ElementClearing = event(add_ElementClearing, remove_ElementClearing)
10340
+ ElementIndexChanged = event(add_ElementIndexChanged, remove_ElementIndexChanged)
10341
+ ElementPrepared = event(add_ElementPrepared, remove_ElementPrepared)
10344
10342
  class IItemsRepeater2(ComPtr):
10345
10343
  extends: IInspectable
10346
10344
  _classid_ = 'Microsoft.UI.Xaml.Controls.IItemsRepeater2'
@@ -10448,9 +10446,9 @@ class IItemsSourceView(ComPtr):
10448
10446
  @winrt_commethod(8)
10449
10447
  def get_HasKeyIndexMapping(self) -> Boolean: ...
10450
10448
  @winrt_commethod(9)
10451
- def KeyFromIndex(self, index: Int32) -> WinRT_String: ...
10449
+ def KeyFromIndex(self, index: Int32) -> hstr: ...
10452
10450
  @winrt_commethod(10)
10453
- def IndexFromKey(self, key: WinRT_String) -> Int32: ...
10451
+ def IndexFromKey(self, key: hstr) -> Int32: ...
10454
10452
  @winrt_commethod(11)
10455
10453
  def IndexOf(self, item: IInspectable) -> Int32: ...
10456
10454
  Count = property(get_Count, None)
@@ -10604,8 +10602,8 @@ class IItemsView(ComPtr):
10604
10602
  SelectedItems = property(get_SelectedItems, None)
10605
10603
  SelectionMode = property(get_SelectionMode, put_SelectionMode)
10606
10604
  VerticalScrollController = property(get_VerticalScrollController, put_VerticalScrollController)
10607
- ItemInvoked = event()
10608
- SelectionChanged = event()
10605
+ ItemInvoked = event(add_ItemInvoked, remove_ItemInvoked)
10606
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
10609
10607
  class IItemsViewFactory(ComPtr):
10610
10608
  extends: IInspectable
10611
10609
  _classid_ = 'Microsoft.UI.Xaml.Controls.IItemsViewFactory'
@@ -10716,12 +10714,6 @@ class IItemsWrapGrid(ComPtr):
10716
10714
  MaximumRowsOrColumns = property(get_MaximumRowsOrColumns, put_MaximumRowsOrColumns)
10717
10715
  Orientation = property(get_Orientation, put_Orientation)
10718
10716
  ScrollingDirection = property(get_ScrollingDirection, None)
10719
- class IItemsWrapGridFactory(ComPtr):
10720
- extends: IInspectable
10721
- _classid_ = 'Microsoft.UI.Xaml.Controls.IItemsWrapGridFactory'
10722
- _iid_ = Guid('{c2f96d8c-3a18-552e-b970-6c575652e92d}')
10723
- @winrt_commethod(6)
10724
- def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.ItemsWrapGrid: ...
10725
10717
  class IItemsWrapGridStatics(ComPtr):
10726
10718
  extends: IInspectable
10727
10719
  _classid_ = 'Microsoft.UI.Xaml.Controls.IItemsWrapGridStatics'
@@ -10755,9 +10747,9 @@ class IKeyIndexMapping(ComPtr):
10755
10747
  _classid_ = 'Microsoft.UI.Xaml.Controls.IKeyIndexMapping'
10756
10748
  _iid_ = Guid('{b1f3bba0-108e-560d-9681-26391b4bc30d}')
10757
10749
  @winrt_commethod(6)
10758
- def KeyFromIndex(self, index: Int32) -> WinRT_String: ...
10750
+ def KeyFromIndex(self, index: Int32) -> hstr: ...
10759
10751
  @winrt_commethod(7)
10760
- def IndexFromKey(self, key: WinRT_String) -> Int32: ...
10752
+ def IndexFromKey(self, key: hstr) -> Int32: ...
10761
10753
  class ILayout(ComPtr):
10762
10754
  extends: IInspectable
10763
10755
  _classid_ = 'Microsoft.UI.Xaml.Controls.ILayout'
@@ -10778,8 +10770,8 @@ class ILayout(ComPtr):
10778
10770
  def add_ArrangeInvalidated(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.Layout, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
10779
10771
  @winrt_commethod(13)
10780
10772
  def remove_ArrangeInvalidated(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
10781
- MeasureInvalidated = event()
10782
- ArrangeInvalidated = event()
10773
+ ArrangeInvalidated = event(add_ArrangeInvalidated, remove_ArrangeInvalidated)
10774
+ MeasureInvalidated = event(add_MeasureInvalidated, remove_MeasureInvalidated)
10783
10775
  class ILayout2(ComPtr):
10784
10776
  extends: IInspectable
10785
10777
  _classid_ = 'Microsoft.UI.Xaml.Controls.ILayout2'
@@ -10883,8 +10875,8 @@ class ILinedFlowLayout(ComPtr):
10883
10875
  MinItemSpacing = property(get_MinItemSpacing, put_MinItemSpacing)
10884
10876
  RequestedRangeLength = property(get_RequestedRangeLength, None)
10885
10877
  RequestedRangeStartIndex = property(get_RequestedRangeStartIndex, None)
10886
- ItemsInfoRequested = event()
10887
- ItemsUnlocked = event()
10878
+ ItemsInfoRequested = event(add_ItemsInfoRequested, remove_ItemsInfoRequested)
10879
+ ItemsUnlocked = event(add_ItemsUnlocked, remove_ItemsUnlocked)
10888
10880
  class ILinedFlowLayoutFactory(ComPtr):
10889
10881
  extends: IInspectable
10890
10882
  _classid_ = 'Microsoft.UI.Xaml.Controls.ILinedFlowLayoutFactory'
@@ -11011,9 +11003,9 @@ class IListPickerFlyout(ComPtr):
11011
11003
  @winrt_commethod(9)
11012
11004
  def put_ItemTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
11013
11005
  @winrt_commethod(10)
11014
- def get_DisplayMemberPath(self) -> WinRT_String: ...
11006
+ def get_DisplayMemberPath(self) -> hstr: ...
11015
11007
  @winrt_commethod(11)
11016
- def put_DisplayMemberPath(self, value: WinRT_String) -> Void: ...
11008
+ def put_DisplayMemberPath(self, value: hstr) -> Void: ...
11017
11009
  @winrt_commethod(12)
11018
11010
  def get_SelectionMode(self) -> win32more.Microsoft.UI.Xaml.Controls.ListPickerFlyoutSelectionMode: ...
11019
11011
  @winrt_commethod(13)
@@ -11031,9 +11023,9 @@ class IListPickerFlyout(ComPtr):
11031
11023
  @winrt_commethod(19)
11032
11024
  def put_SelectedValue(self, value: IInspectable) -> Void: ...
11033
11025
  @winrt_commethod(20)
11034
- def get_SelectedValuePath(self) -> WinRT_String: ...
11026
+ def get_SelectedValuePath(self) -> hstr: ...
11035
11027
  @winrt_commethod(21)
11036
- def put_SelectedValuePath(self, value: WinRT_String) -> Void: ...
11028
+ def put_SelectedValuePath(self, value: hstr) -> Void: ...
11037
11029
  @winrt_commethod(22)
11038
11030
  def get_SelectedItems(self) -> win32more.Windows.Foundation.Collections.IVector[IInspectable]: ...
11039
11031
  @winrt_commethod(23)
@@ -11051,7 +11043,7 @@ class IListPickerFlyout(ComPtr):
11051
11043
  SelectedValue = property(get_SelectedValue, put_SelectedValue)
11052
11044
  SelectedValuePath = property(get_SelectedValuePath, put_SelectedValuePath)
11053
11045
  SelectionMode = property(get_SelectionMode, put_SelectionMode)
11054
- ItemsPicked = event()
11046
+ ItemsPicked = event(add_ItemsPicked, remove_ItemsPicked)
11055
11047
  class IListPickerFlyoutPresenter(ComPtr):
11056
11048
  extends: IInspectable
11057
11049
  _classid_ = 'Microsoft.UI.Xaml.Controls.IListPickerFlyoutPresenter'
@@ -11185,9 +11177,9 @@ class IListViewBase(ComPtr):
11185
11177
  @winrt_commethod(51)
11186
11178
  def IsDragSource(self) -> Boolean: ...
11187
11179
  @winrt_commethod(52)
11188
- def TryStartConnectedAnimationAsync(self, animation: win32more.Microsoft.UI.Xaml.Media.Animation.ConnectedAnimation, item: IInspectable, elementName: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperation[Boolean]: ...
11180
+ def TryStartConnectedAnimationAsync(self, animation: win32more.Microsoft.UI.Xaml.Media.Animation.ConnectedAnimation, item: IInspectable, elementName: hstr) -> win32more.Windows.Foundation.IAsyncOperation[Boolean]: ...
11189
11181
  @winrt_commethod(53)
11190
- def PrepareConnectedAnimation(self, key: WinRT_String, item: IInspectable, elementName: WinRT_String) -> win32more.Microsoft.UI.Xaml.Media.Animation.ConnectedAnimation: ...
11182
+ def PrepareConnectedAnimation(self, key: hstr, item: IInspectable, elementName: hstr) -> win32more.Microsoft.UI.Xaml.Media.Animation.ConnectedAnimation: ...
11191
11183
  @winrt_commethod(54)
11192
11184
  def get_Header(self) -> IInspectable: ...
11193
11185
  @winrt_commethod(55)
@@ -11232,12 +11224,12 @@ class IListViewBase(ComPtr):
11232
11224
  SelectionMode = property(get_SelectionMode, put_SelectionMode)
11233
11225
  ShowsScrollingPlaceholders = property(get_ShowsScrollingPlaceholders, put_ShowsScrollingPlaceholders)
11234
11226
  SingleSelectionFollowsFocus = property(get_SingleSelectionFollowsFocus, put_SingleSelectionFollowsFocus)
11235
- ItemClick = event()
11236
- DragItemsStarting = event()
11237
- DragItemsCompleted = event()
11238
- ContainerContentChanging = event()
11239
- ChoosingItemContainer = event()
11240
- ChoosingGroupHeaderContainer = event()
11227
+ ChoosingGroupHeaderContainer = event(add_ChoosingGroupHeaderContainer, remove_ChoosingGroupHeaderContainer)
11228
+ ChoosingItemContainer = event(add_ChoosingItemContainer, remove_ChoosingItemContainer)
11229
+ ContainerContentChanging = event(add_ContainerContentChanging, remove_ContainerContentChanging)
11230
+ DragItemsCompleted = event(add_DragItemsCompleted, remove_DragItemsCompleted)
11231
+ DragItemsStarting = event(add_DragItemsStarting, remove_DragItemsStarting)
11232
+ ItemClick = event(add_ItemClick, remove_ItemClick)
11241
11233
  class IListViewBaseFactory(ComPtr):
11242
11234
  extends: IInspectable
11243
11235
  _classid_ = 'Microsoft.UI.Xaml.Controls.IListViewBaseFactory'
@@ -11357,17 +11349,17 @@ class IListViewPersistenceHelperStatics(ComPtr):
11357
11349
  _classid_ = 'Microsoft.UI.Xaml.Controls.IListViewPersistenceHelperStatics'
11358
11350
  _iid_ = Guid('{36b862bb-3882-59d8-9118-904de3fe00c2}')
11359
11351
  @winrt_commethod(6)
11360
- def GetRelativeScrollPosition(self, listViewBase: win32more.Microsoft.UI.Xaml.Controls.ListViewBase, itemToKeyHandler: win32more.Microsoft.UI.Xaml.Controls.ListViewItemToKeyHandler) -> WinRT_String: ...
11352
+ def GetRelativeScrollPosition(self, listViewBase: win32more.Microsoft.UI.Xaml.Controls.ListViewBase, itemToKeyHandler: win32more.Microsoft.UI.Xaml.Controls.ListViewItemToKeyHandler) -> hstr: ...
11361
11353
  @winrt_commethod(7)
11362
- def SetRelativeScrollPositionAsync(self, listViewBase: win32more.Microsoft.UI.Xaml.Controls.ListViewBase, relativeScrollPosition: WinRT_String, keyToItemHandler: win32more.Microsoft.UI.Xaml.Controls.ListViewKeyToItemHandler) -> win32more.Windows.Foundation.IAsyncAction: ...
11354
+ def SetRelativeScrollPositionAsync(self, listViewBase: win32more.Microsoft.UI.Xaml.Controls.ListViewBase, relativeScrollPosition: hstr, keyToItemHandler: win32more.Microsoft.UI.Xaml.Controls.ListViewKeyToItemHandler) -> win32more.Windows.Foundation.IAsyncAction: ...
11363
11355
  class IMapControl(ComPtr):
11364
11356
  extends: IInspectable
11365
11357
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMapControl'
11366
11358
  _iid_ = Guid('{85c67af2-2b9c-55ab-ae1f-635da713d68f}')
11367
11359
  @winrt_commethod(6)
11368
- def get_MapServiceToken(self) -> WinRT_String: ...
11360
+ def get_MapServiceToken(self) -> hstr: ...
11369
11361
  @winrt_commethod(7)
11370
- def put_MapServiceToken(self, value: WinRT_String) -> Void: ...
11362
+ def put_MapServiceToken(self, value: hstr) -> Void: ...
11371
11363
  @winrt_commethod(8)
11372
11364
  def get_Center(self) -> win32more.Windows.Devices.Geolocation.Geopoint: ...
11373
11365
  @winrt_commethod(9)
@@ -11397,8 +11389,8 @@ class IMapControl(ComPtr):
11397
11389
  Layers = property(get_Layers, put_Layers)
11398
11390
  MapServiceToken = property(get_MapServiceToken, put_MapServiceToken)
11399
11391
  ZoomLevel = property(get_ZoomLevel, put_ZoomLevel)
11400
- MapElementClick = event()
11401
- MapServiceErrorOccurred = event()
11392
+ MapElementClick = event(add_MapElementClick, remove_MapElementClick)
11393
+ MapServiceErrorOccurred = event(add_MapServiceErrorOccurred, remove_MapServiceErrorOccurred)
11402
11394
  class IMapControlFactory(ComPtr):
11403
11395
  extends: IInspectable
11404
11396
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMapControlFactory'
@@ -11410,7 +11402,7 @@ class IMapControlMapServiceErrorOccurredEventArgs(ComPtr):
11410
11402
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMapControlMapServiceErrorOccurredEventArgs'
11411
11403
  _iid_ = Guid('{b5493c70-799c-59c0-b823-aed5268194a9}')
11412
11404
  @winrt_commethod(6)
11413
- def get_DiagnosticMessage(self) -> WinRT_String: ...
11405
+ def get_DiagnosticMessage(self) -> hstr: ...
11414
11406
  DiagnosticMessage = property(get_DiagnosticMessage, None)
11415
11407
  class IMapControlStatics(ComPtr):
11416
11408
  extends: IInspectable
@@ -11462,7 +11454,7 @@ class IMapElementsLayer(ComPtr):
11462
11454
  @winrt_commethod(9)
11463
11455
  def remove_MapElementClick(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
11464
11456
  MapElements = property(get_MapElements, put_MapElements)
11465
- MapElementClick = event()
11457
+ MapElementClick = event(add_MapElementClick, remove_MapElementClick)
11466
11458
  class IMapElementsLayerFactory(ComPtr):
11467
11459
  extends: IInspectable
11468
11460
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMapElementsLayerFactory'
@@ -11756,7 +11748,7 @@ class IMediaTransportControls(ComPtr):
11756
11748
  IsZoomButtonVisible = property(get_IsZoomButtonVisible, put_IsZoomButtonVisible)
11757
11749
  IsZoomEnabled = property(get_IsZoomEnabled, put_IsZoomEnabled)
11758
11750
  ShowAndHideAutomatically = property(get_ShowAndHideAutomatically, put_ShowAndHideAutomatically)
11759
- ThumbnailRequested = event()
11751
+ ThumbnailRequested = event(add_ThumbnailRequested, remove_ThumbnailRequested)
11760
11752
  class IMediaTransportControlsFactory(ComPtr):
11761
11753
  extends: IInspectable
11762
11754
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMediaTransportControlsFactory'
@@ -11875,9 +11867,9 @@ class IMenuBarItem(ComPtr):
11875
11867
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMenuBarItem'
11876
11868
  _iid_ = Guid('{a7900980-51cc-531d-97c5-356b13573398}')
11877
11869
  @winrt_commethod(6)
11878
- def get_Title(self) -> WinRT_String: ...
11870
+ def get_Title(self) -> hstr: ...
11879
11871
  @winrt_commethod(7)
11880
- def put_Title(self, value: WinRT_String) -> Void: ...
11872
+ def put_Title(self, value: hstr) -> Void: ...
11881
11873
  @winrt_commethod(8)
11882
11874
  def get_Items(self) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.UI.Xaml.Controls.MenuFlyoutItemBase]: ...
11883
11875
  Items = property(get_Items, None)
@@ -11940,9 +11932,9 @@ class IMenuFlyoutItem(ComPtr):
11940
11932
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMenuFlyoutItem'
11941
11933
  _iid_ = Guid('{4252df5a-44f9-5ee8-b1cc-53de9aaa4095}')
11942
11934
  @winrt_commethod(6)
11943
- def get_Text(self) -> WinRT_String: ...
11935
+ def get_Text(self) -> hstr: ...
11944
11936
  @winrt_commethod(7)
11945
- def put_Text(self, value: WinRT_String) -> Void: ...
11937
+ def put_Text(self, value: hstr) -> Void: ...
11946
11938
  @winrt_commethod(8)
11947
11939
  def get_Command(self) -> win32more.Microsoft.UI.Xaml.Input.ICommand: ...
11948
11940
  @winrt_commethod(9)
@@ -11956,9 +11948,9 @@ class IMenuFlyoutItem(ComPtr):
11956
11948
  @winrt_commethod(13)
11957
11949
  def put_Icon(self, value: win32more.Microsoft.UI.Xaml.Controls.IconElement) -> Void: ...
11958
11950
  @winrt_commethod(14)
11959
- def get_KeyboardAcceleratorTextOverride(self) -> WinRT_String: ...
11951
+ def get_KeyboardAcceleratorTextOverride(self) -> hstr: ...
11960
11952
  @winrt_commethod(15)
11961
- def put_KeyboardAcceleratorTextOverride(self, value: WinRT_String) -> Void: ...
11953
+ def put_KeyboardAcceleratorTextOverride(self, value: hstr) -> Void: ...
11962
11954
  @winrt_commethod(16)
11963
11955
  def get_TemplateSettings(self) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.MenuFlyoutItemTemplateSettings: ...
11964
11956
  @winrt_commethod(17)
@@ -11971,7 +11963,7 @@ class IMenuFlyoutItem(ComPtr):
11971
11963
  KeyboardAcceleratorTextOverride = property(get_KeyboardAcceleratorTextOverride, put_KeyboardAcceleratorTextOverride)
11972
11964
  TemplateSettings = property(get_TemplateSettings, None)
11973
11965
  Text = property(get_Text, put_Text)
11974
- Click = event()
11966
+ Click = event(add_Click, remove_Click)
11975
11967
  class IMenuFlyoutItemBase(ComPtr):
11976
11968
  extends: IInspectable
11977
11969
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMenuFlyoutItemBase'
@@ -12070,9 +12062,9 @@ class IMenuFlyoutSubItem(ComPtr):
12070
12062
  @winrt_commethod(6)
12071
12063
  def get_Items(self) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.UI.Xaml.Controls.MenuFlyoutItemBase]: ...
12072
12064
  @winrt_commethod(7)
12073
- def get_Text(self) -> WinRT_String: ...
12065
+ def get_Text(self) -> hstr: ...
12074
12066
  @winrt_commethod(8)
12075
- def put_Text(self, value: WinRT_String) -> Void: ...
12067
+ def put_Text(self, value: hstr) -> Void: ...
12076
12068
  @winrt_commethod(9)
12077
12069
  def get_Icon(self) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
12078
12070
  @winrt_commethod(10)
@@ -12233,9 +12225,9 @@ class INavigationView(ComPtr):
12233
12225
  PaneToggleButtonStyle = property(get_PaneToggleButtonStyle, put_PaneToggleButtonStyle)
12234
12226
  SelectedItem = property(get_SelectedItem, put_SelectedItem)
12235
12227
  SettingsItem = property(get_SettingsItem, None)
12236
- SelectionChanged = event()
12237
- ItemInvoked = event()
12238
- DisplayModeChanged = event()
12228
+ DisplayModeChanged = event(add_DisplayModeChanged, remove_DisplayModeChanged)
12229
+ ItemInvoked = event(add_ItemInvoked, remove_ItemInvoked)
12230
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
12239
12231
  class INavigationView2(ComPtr):
12240
12232
  extends: IInspectable
12241
12233
  _classid_ = 'Microsoft.UI.Xaml.Controls.INavigationView2'
@@ -12249,9 +12241,9 @@ class INavigationView2(ComPtr):
12249
12241
  @winrt_commethod(9)
12250
12242
  def put_IsBackEnabled(self, value: Boolean) -> Void: ...
12251
12243
  @winrt_commethod(10)
12252
- def get_PaneTitle(self) -> WinRT_String: ...
12244
+ def get_PaneTitle(self) -> hstr: ...
12253
12245
  @winrt_commethod(11)
12254
- def put_PaneTitle(self, value: WinRT_String) -> Void: ...
12246
+ def put_PaneTitle(self, value: hstr) -> Void: ...
12255
12247
  @winrt_commethod(12)
12256
12248
  def add_BackRequested(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.NavigationView, win32more.Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
12257
12249
  @winrt_commethod(13)
@@ -12330,13 +12322,13 @@ class INavigationView2(ComPtr):
12330
12322
  SelectionFollowsFocus = property(get_SelectionFollowsFocus, put_SelectionFollowsFocus)
12331
12323
  ShoulderNavigationEnabled = property(get_ShoulderNavigationEnabled, put_ShoulderNavigationEnabled)
12332
12324
  TemplateSettings = property(get_TemplateSettings, None)
12333
- BackRequested = event()
12334
- PaneClosed = event()
12335
- PaneClosing = event()
12336
- PaneOpened = event()
12337
- PaneOpening = event()
12338
- Expanding = event()
12339
- Collapsed = event()
12325
+ BackRequested = event(add_BackRequested, remove_BackRequested)
12326
+ Collapsed = event(add_Collapsed, remove_Collapsed)
12327
+ Expanding = event(add_Expanding, remove_Expanding)
12328
+ PaneClosed = event(add_PaneClosed, remove_PaneClosed)
12329
+ PaneClosing = event(add_PaneClosing, remove_PaneClosing)
12330
+ PaneOpened = event(add_PaneOpened, remove_PaneOpened)
12331
+ PaneOpening = event(add_PaneOpening, remove_PaneOpening)
12340
12332
  class INavigationViewBackRequestedEventArgs(ComPtr):
12341
12333
  extends: IInspectable
12342
12334
  _classid_ = 'Microsoft.UI.Xaml.Controls.INavigationViewBackRequestedEventArgs'
@@ -12833,9 +12825,9 @@ class INumberBox(ComPtr):
12833
12825
  @winrt_commethod(15)
12834
12826
  def put_LargeChange(self, value: Double) -> Void: ...
12835
12827
  @winrt_commethod(16)
12836
- def get_Text(self) -> WinRT_String: ...
12828
+ def get_Text(self) -> hstr: ...
12837
12829
  @winrt_commethod(17)
12838
- def put_Text(self, value: WinRT_String) -> Void: ...
12830
+ def put_Text(self, value: hstr) -> Void: ...
12839
12831
  @winrt_commethod(18)
12840
12832
  def get_Header(self) -> IInspectable: ...
12841
12833
  @winrt_commethod(19)
@@ -12845,9 +12837,9 @@ class INumberBox(ComPtr):
12845
12837
  @winrt_commethod(21)
12846
12838
  def put_HeaderTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
12847
12839
  @winrt_commethod(22)
12848
- def get_PlaceholderText(self) -> WinRT_String: ...
12840
+ def get_PlaceholderText(self) -> hstr: ...
12849
12841
  @winrt_commethod(23)
12850
- def put_PlaceholderText(self, value: WinRT_String) -> Void: ...
12842
+ def put_PlaceholderText(self, value: hstr) -> Void: ...
12851
12843
  @winrt_commethod(24)
12852
12844
  def get_SelectionFlyout(self) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.FlyoutBase: ...
12853
12845
  @winrt_commethod(25)
@@ -12911,7 +12903,7 @@ class INumberBox(ComPtr):
12911
12903
  TextReadingOrder = property(get_TextReadingOrder, put_TextReadingOrder)
12912
12904
  ValidationMode = property(get_ValidationMode, put_ValidationMode)
12913
12905
  Value = property(get_Value, put_Value)
12914
- ValueChanged = event()
12906
+ ValueChanged = event(add_ValueChanged, remove_ValueChanged)
12915
12907
  class INumberBoxFactory(ComPtr):
12916
12908
  extends: IInspectable
12917
12909
  _classid_ = 'Microsoft.UI.Xaml.Controls.INumberBoxFactory'
@@ -13219,13 +13211,13 @@ class IPasswordBox(ComPtr):
13219
13211
  _classid_ = 'Microsoft.UI.Xaml.Controls.IPasswordBox'
13220
13212
  _iid_ = Guid('{6d3ccff7-aaee-5adc-8298-33300fa119da}')
13221
13213
  @winrt_commethod(6)
13222
- def get_Password(self) -> WinRT_String: ...
13214
+ def get_Password(self) -> hstr: ...
13223
13215
  @winrt_commethod(7)
13224
- def put_Password(self, value: WinRT_String) -> Void: ...
13216
+ def put_Password(self, value: hstr) -> Void: ...
13225
13217
  @winrt_commethod(8)
13226
- def get_PasswordChar(self) -> WinRT_String: ...
13218
+ def get_PasswordChar(self) -> hstr: ...
13227
13219
  @winrt_commethod(9)
13228
- def put_PasswordChar(self, value: WinRT_String) -> Void: ...
13220
+ def put_PasswordChar(self, value: hstr) -> Void: ...
13229
13221
  @winrt_commethod(10)
13230
13222
  def get_IsPasswordRevealButtonEnabled(self) -> Boolean: ...
13231
13223
  @winrt_commethod(11)
@@ -13243,9 +13235,9 @@ class IPasswordBox(ComPtr):
13243
13235
  @winrt_commethod(17)
13244
13236
  def put_HeaderTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
13245
13237
  @winrt_commethod(18)
13246
- def get_PlaceholderText(self) -> WinRT_String: ...
13238
+ def get_PlaceholderText(self) -> hstr: ...
13247
13239
  @winrt_commethod(19)
13248
- def put_PlaceholderText(self, value: WinRT_String) -> Void: ...
13240
+ def put_PlaceholderText(self, value: hstr) -> Void: ...
13249
13241
  @winrt_commethod(20)
13250
13242
  def get_SelectionHighlightColor(self) -> win32more.Microsoft.UI.Xaml.Media.SolidColorBrush: ...
13251
13243
  @winrt_commethod(21)
@@ -13311,10 +13303,10 @@ class IPasswordBox(ComPtr):
13311
13303
  SelectionFlyout = property(get_SelectionFlyout, put_SelectionFlyout)
13312
13304
  SelectionHighlightColor = property(get_SelectionHighlightColor, put_SelectionHighlightColor)
13313
13305
  TextReadingOrder = property(get_TextReadingOrder, put_TextReadingOrder)
13314
- PasswordChanged = event()
13315
- ContextMenuOpening = event()
13316
- Paste = event()
13317
- PasswordChanging = event()
13306
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
13307
+ PasswordChanged = event(add_PasswordChanged, remove_PasswordChanged)
13308
+ PasswordChanging = event(add_PasswordChanging, remove_PasswordChanging)
13309
+ Paste = event(add_Paste, remove_Paste)
13318
13310
  class IPasswordBoxPasswordChangingEventArgs(ComPtr):
13319
13311
  extends: IInspectable
13320
13312
  _classid_ = 'Microsoft.UI.Xaml.Controls.IPasswordBoxPasswordChangingEventArgs'
@@ -13424,17 +13416,17 @@ class IPersonPicture(ComPtr):
13424
13416
  @winrt_commethod(7)
13425
13417
  def put_BadgeNumber(self, value: Int32) -> Void: ...
13426
13418
  @winrt_commethod(8)
13427
- def get_BadgeGlyph(self) -> WinRT_String: ...
13419
+ def get_BadgeGlyph(self) -> hstr: ...
13428
13420
  @winrt_commethod(9)
13429
- def put_BadgeGlyph(self, value: WinRT_String) -> Void: ...
13421
+ def put_BadgeGlyph(self, value: hstr) -> Void: ...
13430
13422
  @winrt_commethod(10)
13431
13423
  def get_BadgeImageSource(self) -> win32more.Microsoft.UI.Xaml.Media.ImageSource: ...
13432
13424
  @winrt_commethod(11)
13433
13425
  def put_BadgeImageSource(self, value: win32more.Microsoft.UI.Xaml.Media.ImageSource) -> Void: ...
13434
13426
  @winrt_commethod(12)
13435
- def get_BadgeText(self) -> WinRT_String: ...
13427
+ def get_BadgeText(self) -> hstr: ...
13436
13428
  @winrt_commethod(13)
13437
- def put_BadgeText(self, value: WinRT_String) -> Void: ...
13429
+ def put_BadgeText(self, value: hstr) -> Void: ...
13438
13430
  @winrt_commethod(14)
13439
13431
  def get_IsGroup(self) -> Boolean: ...
13440
13432
  @winrt_commethod(15)
@@ -13444,13 +13436,13 @@ class IPersonPicture(ComPtr):
13444
13436
  @winrt_commethod(17)
13445
13437
  def put_Contact(self, value: win32more.Windows.ApplicationModel.Contacts.Contact) -> Void: ...
13446
13438
  @winrt_commethod(18)
13447
- def get_DisplayName(self) -> WinRT_String: ...
13439
+ def get_DisplayName(self) -> hstr: ...
13448
13440
  @winrt_commethod(19)
13449
- def put_DisplayName(self, value: WinRT_String) -> Void: ...
13441
+ def put_DisplayName(self, value: hstr) -> Void: ...
13450
13442
  @winrt_commethod(20)
13451
- def get_Initials(self) -> WinRT_String: ...
13443
+ def get_Initials(self) -> hstr: ...
13452
13444
  @winrt_commethod(21)
13453
- def put_Initials(self, value: WinRT_String) -> Void: ...
13445
+ def put_Initials(self, value: hstr) -> Void: ...
13454
13446
  @winrt_commethod(22)
13455
13447
  def get_PreferSmallImage(self) -> Boolean: ...
13456
13448
  @winrt_commethod(23)
@@ -13517,7 +13509,7 @@ class IPersonPictureTemplateSettings(ComPtr):
13517
13509
  _classid_ = 'Microsoft.UI.Xaml.Controls.IPersonPictureTemplateSettings'
13518
13510
  _iid_ = Guid('{e16df12f-c3c0-5f26-a381-08f2df052f29}')
13519
13511
  @winrt_commethod(6)
13520
- def get_ActualInitials(self) -> WinRT_String: ...
13512
+ def get_ActualInitials(self) -> hstr: ...
13521
13513
  @winrt_commethod(7)
13522
13514
  def get_ActualImageBrush(self) -> win32more.Microsoft.UI.Xaml.Media.ImageBrush: ...
13523
13515
  ActualImageBrush = property(get_ActualImageBrush, None)
@@ -13546,7 +13538,7 @@ class IPickerFlyout(ComPtr):
13546
13538
  def ShowAtAsync(self, target: win32more.Microsoft.UI.Xaml.FrameworkElement) -> win32more.Windows.Foundation.IAsyncOperation[Boolean]: ...
13547
13539
  ConfirmationButtonsVisible = property(get_ConfirmationButtonsVisible, put_ConfirmationButtonsVisible)
13548
13540
  Content = property(get_Content, put_Content)
13549
- Confirmed = event()
13541
+ Confirmed = event(add_Confirmed, remove_Confirmed)
13550
13542
  class IPickerFlyoutPresenter(ComPtr):
13551
13543
  extends: IInspectable
13552
13544
  _classid_ = 'Microsoft.UI.Xaml.Controls.IPickerFlyoutPresenter'
@@ -13622,16 +13614,7 @@ class IPipsPager(ComPtr):
13622
13614
  SelectedPageIndex = property(get_SelectedPageIndex, put_SelectedPageIndex)
13623
13615
  SelectedPipStyle = property(get_SelectedPipStyle, put_SelectedPipStyle)
13624
13616
  TemplateSettings = property(get_TemplateSettings, None)
13625
- SelectedIndexChanged = event()
13626
- class IPipsPager2(ComPtr):
13627
- extends: IInspectable
13628
- _classid_ = 'Microsoft.UI.Xaml.Controls.IPipsPager2'
13629
- _iid_ = Guid('{2ed8334b-4f00-5606-9f72-e6f7300746a0}')
13630
- @winrt_commethod(6)
13631
- def get_WrapMode(self) -> win32more.Microsoft.UI.Xaml.Controls.PipsPagerWrapMode: ...
13632
- @winrt_commethod(7)
13633
- def put_WrapMode(self, value: win32more.Microsoft.UI.Xaml.Controls.PipsPagerWrapMode) -> Void: ...
13634
- WrapMode = property(get_WrapMode, put_WrapMode)
13617
+ SelectedIndexChanged = event(add_SelectedIndexChanged, remove_SelectedIndexChanged)
13635
13618
  class IPipsPagerFactory(ComPtr):
13636
13619
  extends: IInspectable
13637
13620
  _classid_ = 'Microsoft.UI.Xaml.Controls.IPipsPagerFactory'
@@ -13676,13 +13659,6 @@ class IPipsPagerStatics(ComPtr):
13676
13659
  PreviousButtonVisibilityProperty = property(get_PreviousButtonVisibilityProperty, None)
13677
13660
  SelectedPageIndexProperty = property(get_SelectedPageIndexProperty, None)
13678
13661
  SelectedPipStyleProperty = property(get_SelectedPipStyleProperty, None)
13679
- class IPipsPagerStatics2(ComPtr):
13680
- extends: IInspectable
13681
- _classid_ = 'Microsoft.UI.Xaml.Controls.IPipsPagerStatics2'
13682
- _iid_ = Guid('{00143f5f-ef77-54a9-9bf3-5dae3799e4a4}')
13683
- @winrt_commethod(6)
13684
- def get_WrapModeProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
13685
- WrapModeProperty = property(get_WrapModeProperty, None)
13686
13662
  class IPipsPagerTemplateSettings(ComPtr):
13687
13663
  extends: IInspectable
13688
13664
  _classid_ = 'Microsoft.UI.Xaml.Controls.IPipsPagerTemplateSettings'
@@ -13774,11 +13750,11 @@ class IPivot(ComPtr):
13774
13750
  SelectedItem = property(get_SelectedItem, put_SelectedItem)
13775
13751
  Title = property(get_Title, put_Title)
13776
13752
  TitleTemplate = property(get_TitleTemplate, put_TitleTemplate)
13777
- SelectionChanged = event()
13778
- PivotItemLoading = event()
13779
- PivotItemLoaded = event()
13780
- PivotItemUnloading = event()
13781
- PivotItemUnloaded = event()
13753
+ PivotItemLoaded = event(add_PivotItemLoaded, remove_PivotItemLoaded)
13754
+ PivotItemLoading = event(add_PivotItemLoading, remove_PivotItemLoading)
13755
+ PivotItemUnloaded = event(add_PivotItemUnloaded, remove_PivotItemUnloaded)
13756
+ PivotItemUnloading = event(add_PivotItemUnloading, remove_PivotItemUnloading)
13757
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
13782
13758
  class IPivotFactory(ComPtr):
13783
13759
  extends: IInspectable
13784
13760
  _classid_ = 'Microsoft.UI.Xaml.Controls.IPivotFactory'
@@ -14016,9 +13992,9 @@ class IRadioButton(ComPtr):
14016
13992
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRadioButton'
14017
13993
  _iid_ = Guid('{38f30cee-e75a-5ba1-ae64-4474a3abeac7}')
14018
13994
  @winrt_commethod(6)
14019
- def get_GroupName(self) -> WinRT_String: ...
13995
+ def get_GroupName(self) -> hstr: ...
14020
13996
  @winrt_commethod(7)
14021
- def put_GroupName(self, value: WinRT_String) -> Void: ...
13997
+ def put_GroupName(self, value: hstr) -> Void: ...
14022
13998
  GroupName = property(get_GroupName, put_GroupName)
14023
13999
  class IRadioButtonFactory(ComPtr):
14024
14000
  extends: IInspectable
@@ -14081,7 +14057,7 @@ class IRadioButtons(ComPtr):
14081
14057
  MaxColumns = property(get_MaxColumns, put_MaxColumns)
14082
14058
  SelectedIndex = property(get_SelectedIndex, put_SelectedIndex)
14083
14059
  SelectedItem = property(get_SelectedItem, put_SelectedItem)
14084
- SelectionChanged = event()
14060
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
14085
14061
  class IRadioButtonsFactory(ComPtr):
14086
14062
  extends: IInspectable
14087
14063
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRadioButtonsFactory'
@@ -14125,9 +14101,9 @@ class IRadioMenuFlyoutItem(ComPtr):
14125
14101
  @winrt_commethod(7)
14126
14102
  def put_IsChecked(self, value: Boolean) -> Void: ...
14127
14103
  @winrt_commethod(8)
14128
- def get_GroupName(self) -> WinRT_String: ...
14104
+ def get_GroupName(self) -> hstr: ...
14129
14105
  @winrt_commethod(9)
14130
- def put_GroupName(self, value: WinRT_String) -> Void: ...
14106
+ def put_GroupName(self, value: hstr) -> Void: ...
14131
14107
  GroupName = property(get_GroupName, put_GroupName)
14132
14108
  IsChecked = property(get_IsChecked, put_IsChecked)
14133
14109
  class IRadioMenuFlyoutItemFactory(ComPtr):
@@ -14162,9 +14138,9 @@ class IRatingControl(ComPtr):
14162
14138
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRatingControl'
14163
14139
  _iid_ = Guid('{5488193b-ea4b-52c6-8544-c063219bcd90}')
14164
14140
  @winrt_commethod(6)
14165
- def get_Caption(self) -> WinRT_String: ...
14141
+ def get_Caption(self) -> hstr: ...
14166
14142
  @winrt_commethod(7)
14167
- def put_Caption(self, value: WinRT_String) -> Void: ...
14143
+ def put_Caption(self, value: hstr) -> Void: ...
14168
14144
  @winrt_commethod(8)
14169
14145
  def get_InitialSetValue(self) -> Int32: ...
14170
14146
  @winrt_commethod(9)
@@ -14205,7 +14181,7 @@ class IRatingControl(ComPtr):
14205
14181
  MaxRating = property(get_MaxRating, put_MaxRating)
14206
14182
  PlaceholderValue = property(get_PlaceholderValue, put_PlaceholderValue)
14207
14183
  Value = property(get_Value, put_Value)
14208
- ValueChanged = event()
14184
+ ValueChanged = event(add_ValueChanged, remove_ValueChanged)
14209
14185
  class IRatingControlFactory(ComPtr):
14210
14186
  extends: IInspectable
14211
14187
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRatingControlFactory'
@@ -14245,29 +14221,29 @@ class IRatingItemFontInfo(ComPtr):
14245
14221
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRatingItemFontInfo'
14246
14222
  _iid_ = Guid('{995a16dc-3a0f-5727-9f38-52cfc8143654}')
14247
14223
  @winrt_commethod(6)
14248
- def get_DisabledGlyph(self) -> WinRT_String: ...
14224
+ def get_DisabledGlyph(self) -> hstr: ...
14249
14225
  @winrt_commethod(7)
14250
- def put_DisabledGlyph(self, value: WinRT_String) -> Void: ...
14226
+ def put_DisabledGlyph(self, value: hstr) -> Void: ...
14251
14227
  @winrt_commethod(8)
14252
- def get_Glyph(self) -> WinRT_String: ...
14228
+ def get_Glyph(self) -> hstr: ...
14253
14229
  @winrt_commethod(9)
14254
- def put_Glyph(self, value: WinRT_String) -> Void: ...
14230
+ def put_Glyph(self, value: hstr) -> Void: ...
14255
14231
  @winrt_commethod(10)
14256
- def get_PointerOverGlyph(self) -> WinRT_String: ...
14232
+ def get_PointerOverGlyph(self) -> hstr: ...
14257
14233
  @winrt_commethod(11)
14258
- def put_PointerOverGlyph(self, value: WinRT_String) -> Void: ...
14234
+ def put_PointerOverGlyph(self, value: hstr) -> Void: ...
14259
14235
  @winrt_commethod(12)
14260
- def get_PointerOverPlaceholderGlyph(self) -> WinRT_String: ...
14236
+ def get_PointerOverPlaceholderGlyph(self) -> hstr: ...
14261
14237
  @winrt_commethod(13)
14262
- def put_PointerOverPlaceholderGlyph(self, value: WinRT_String) -> Void: ...
14238
+ def put_PointerOverPlaceholderGlyph(self, value: hstr) -> Void: ...
14263
14239
  @winrt_commethod(14)
14264
- def get_PlaceholderGlyph(self) -> WinRT_String: ...
14240
+ def get_PlaceholderGlyph(self) -> hstr: ...
14265
14241
  @winrt_commethod(15)
14266
- def put_PlaceholderGlyph(self, value: WinRT_String) -> Void: ...
14242
+ def put_PlaceholderGlyph(self, value: hstr) -> Void: ...
14267
14243
  @winrt_commethod(16)
14268
- def get_UnsetGlyph(self) -> WinRT_String: ...
14244
+ def get_UnsetGlyph(self) -> hstr: ...
14269
14245
  @winrt_commethod(17)
14270
- def put_UnsetGlyph(self, value: WinRT_String) -> Void: ...
14246
+ def put_UnsetGlyph(self, value: hstr) -> Void: ...
14271
14247
  DisabledGlyph = property(get_DisabledGlyph, put_DisabledGlyph)
14272
14248
  Glyph = property(get_Glyph, put_Glyph)
14273
14249
  PlaceholderGlyph = property(get_PlaceholderGlyph, put_PlaceholderGlyph)
@@ -14394,7 +14370,7 @@ class IRefreshContainer(ComPtr):
14394
14370
  def RequestRefresh(self) -> Void: ...
14395
14371
  PullDirection = property(get_PullDirection, put_PullDirection)
14396
14372
  Visualizer = property(get_Visualizer, put_Visualizer)
14397
- RefreshRequested = event()
14373
+ RefreshRequested = event(add_RefreshRequested, remove_RefreshRequested)
14398
14374
  class IRefreshContainerFactory(ComPtr):
14399
14375
  extends: IInspectable
14400
14376
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRefreshContainerFactory'
@@ -14461,8 +14437,8 @@ class IRefreshVisualizer(ComPtr):
14461
14437
  Content = property(get_Content, put_Content)
14462
14438
  Orientation = property(get_Orientation, put_Orientation)
14463
14439
  State = property(get_State, None)
14464
- RefreshRequested = event()
14465
- RefreshStateChanged = event()
14440
+ RefreshRequested = event(add_RefreshRequested, remove_RefreshRequested)
14441
+ RefreshStateChanged = event(add_RefreshStateChanged, remove_RefreshStateChanged)
14466
14442
  class IRefreshVisualizerFactory(ComPtr):
14467
14443
  extends: IInspectable
14468
14444
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRefreshVisualizerFactory'
@@ -14704,9 +14680,9 @@ class IRichEditBox(ComPtr):
14704
14680
  @winrt_commethod(24)
14705
14681
  def put_HeaderTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
14706
14682
  @winrt_commethod(25)
14707
- def get_PlaceholderText(self) -> WinRT_String: ...
14683
+ def get_PlaceholderText(self) -> hstr: ...
14708
14684
  @winrt_commethod(26)
14709
- def put_PlaceholderText(self, value: WinRT_String) -> Void: ...
14685
+ def put_PlaceholderText(self, value: hstr) -> Void: ...
14710
14686
  @winrt_commethod(27)
14711
14687
  def get_SelectionHighlightColor(self) -> win32more.Microsoft.UI.Xaml.Media.SolidColorBrush: ...
14712
14688
  @winrt_commethod(28)
@@ -14792,7 +14768,7 @@ class IRichEditBox(ComPtr):
14792
14768
  @winrt_commethod(68)
14793
14769
  def remove_SelectionChanging(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
14794
14770
  @winrt_commethod(69)
14795
- def GetLinguisticAlternativesAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[WinRT_String]]: ...
14771
+ def GetLinguisticAlternativesAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[hstr]]: ...
14796
14772
  @winrt_commethod(70)
14797
14773
  def get_TextReadingOrder(self) -> win32more.Microsoft.UI.Xaml.TextReadingOrder: ...
14798
14774
  @winrt_commethod(71)
@@ -14839,18 +14815,18 @@ class IRichEditBox(ComPtr):
14839
14815
  TextDocument = property(get_TextDocument, None)
14840
14816
  TextReadingOrder = property(get_TextReadingOrder, put_TextReadingOrder)
14841
14817
  TextWrapping = property(get_TextWrapping, put_TextWrapping)
14842
- TextChanged = event()
14843
- SelectionChanged = event()
14844
- ContextMenuOpening = event()
14845
- Paste = event()
14846
- TextCompositionStarted = event()
14847
- TextCompositionChanged = event()
14848
- TextCompositionEnded = event()
14849
- CopyingToClipboard = event()
14850
- CuttingToClipboard = event()
14851
- SelectionChanging = event()
14852
- CandidateWindowBoundsChanged = event()
14853
- TextChanging = event()
14818
+ CandidateWindowBoundsChanged = event(add_CandidateWindowBoundsChanged, remove_CandidateWindowBoundsChanged)
14819
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
14820
+ CopyingToClipboard = event(add_CopyingToClipboard, remove_CopyingToClipboard)
14821
+ CuttingToClipboard = event(add_CuttingToClipboard, remove_CuttingToClipboard)
14822
+ Paste = event(add_Paste, remove_Paste)
14823
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
14824
+ SelectionChanging = event(add_SelectionChanging, remove_SelectionChanging)
14825
+ TextChanged = event(add_TextChanged, remove_TextChanged)
14826
+ TextChanging = event(add_TextChanging, remove_TextChanging)
14827
+ TextCompositionChanged = event(add_TextCompositionChanged, remove_TextCompositionChanged)
14828
+ TextCompositionEnded = event(add_TextCompositionEnded, remove_TextCompositionEnded)
14829
+ TextCompositionStarted = event(add_TextCompositionStarted, remove_TextCompositionStarted)
14854
14830
  class IRichEditBoxFactory(ComPtr):
14855
14831
  extends: IInspectable
14856
14832
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRichEditBoxFactory'
@@ -15024,7 +15000,7 @@ class IRichTextBlock(ComPtr):
15024
15000
  @winrt_commethod(37)
15025
15001
  def get_HasOverflowContent(self) -> Boolean: ...
15026
15002
  @winrt_commethod(38)
15027
- def get_SelectedText(self) -> WinRT_String: ...
15003
+ def get_SelectedText(self) -> hstr: ...
15028
15004
  @winrt_commethod(39)
15029
15005
  def get_ContentStart(self) -> win32more.Microsoft.UI.Xaml.Documents.TextPointer: ...
15030
15006
  @winrt_commethod(40)
@@ -15139,9 +15115,9 @@ class IRichTextBlock(ComPtr):
15139
15115
  TextReadingOrder = property(get_TextReadingOrder, put_TextReadingOrder)
15140
15116
  TextTrimming = property(get_TextTrimming, put_TextTrimming)
15141
15117
  TextWrapping = property(get_TextWrapping, put_TextWrapping)
15142
- SelectionChanged = event()
15143
- ContextMenuOpening = event()
15144
- IsTextTrimmedChanged = event()
15118
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
15119
+ IsTextTrimmedChanged = event(add_IsTextTrimmedChanged, remove_IsTextTrimmedChanged)
15120
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
15145
15121
  class IRichTextBlockOverflow(ComPtr):
15146
15122
  extends: IInspectable
15147
15123
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRichTextBlockOverflow'
@@ -15185,7 +15161,7 @@ class IRichTextBlockOverflow(ComPtr):
15185
15161
  MaxLines = property(get_MaxLines, put_MaxLines)
15186
15162
  OverflowContentTarget = property(get_OverflowContentTarget, put_OverflowContentTarget)
15187
15163
  Padding = property(get_Padding, put_Padding)
15188
- IsTextTrimmedChanged = event()
15164
+ IsTextTrimmedChanged = event(add_IsTextTrimmedChanged, remove_IsTextTrimmedChanged)
15189
15165
  class IRichTextBlockOverflowStatics(ComPtr):
15190
15166
  extends: IInspectable
15191
15167
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRichTextBlockOverflowStatics'
@@ -15629,15 +15605,15 @@ class IScrollView(ComPtr):
15629
15605
  ZoomChainMode = property(get_ZoomChainMode, put_ZoomChainMode)
15630
15606
  ZoomFactor = property(get_ZoomFactor, None)
15631
15607
  ZoomMode = property(get_ZoomMode, put_ZoomMode)
15632
- ExtentChanged = event()
15633
- StateChanged = event()
15634
- ViewChanged = event()
15635
- ScrollAnimationStarting = event()
15636
- ZoomAnimationStarting = event()
15637
- ScrollCompleted = event()
15638
- ZoomCompleted = event()
15639
- BringingIntoView = event()
15640
- AnchorRequested = event()
15608
+ AnchorRequested = event(add_AnchorRequested, remove_AnchorRequested)
15609
+ BringingIntoView = event(add_BringingIntoView, remove_BringingIntoView)
15610
+ ExtentChanged = event(add_ExtentChanged, remove_ExtentChanged)
15611
+ ScrollAnimationStarting = event(add_ScrollAnimationStarting, remove_ScrollAnimationStarting)
15612
+ ScrollCompleted = event(add_ScrollCompleted, remove_ScrollCompleted)
15613
+ StateChanged = event(add_StateChanged, remove_StateChanged)
15614
+ ViewChanged = event(add_ViewChanged, remove_ViewChanged)
15615
+ ZoomAnimationStarting = event(add_ZoomAnimationStarting, remove_ZoomAnimationStarting)
15616
+ ZoomCompleted = event(add_ZoomCompleted, remove_ZoomCompleted)
15641
15617
  class IScrollViewFactory(ComPtr):
15642
15618
  extends: IInspectable
15643
15619
  _classid_ = 'Microsoft.UI.Xaml.Controls.IScrollViewFactory'
@@ -15926,11 +15902,11 @@ class IScrollViewer(ComPtr):
15926
15902
  ZoomMode = property(get_ZoomMode, put_ZoomMode)
15927
15903
  ZoomSnapPoints = property(get_ZoomSnapPoints, None)
15928
15904
  ZoomSnapPointsType = property(get_ZoomSnapPointsType, put_ZoomSnapPointsType)
15929
- AnchorRequested = event()
15930
- ViewChanging = event()
15931
- ViewChanged = event()
15932
- DirectManipulationStarted = event()
15933
- DirectManipulationCompleted = event()
15905
+ AnchorRequested = event(add_AnchorRequested, remove_AnchorRequested)
15906
+ DirectManipulationCompleted = event(add_DirectManipulationCompleted, remove_DirectManipulationCompleted)
15907
+ DirectManipulationStarted = event(add_DirectManipulationStarted, remove_DirectManipulationStarted)
15908
+ ViewChanged = event(add_ViewChanged, remove_ViewChanged)
15909
+ ViewChanging = event(add_ViewChanging, remove_ViewChanging)
15934
15910
  class IScrollViewerStatics(ComPtr):
15935
15911
  extends: IInspectable
15936
15912
  _classid_ = 'Microsoft.UI.Xaml.Controls.IScrollViewerStatics'
@@ -16329,7 +16305,7 @@ class ISelectorBar(ComPtr):
16329
16305
  def remove_SelectionChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
16330
16306
  Items = property(get_Items, None)
16331
16307
  SelectedItem = property(get_SelectedItem, put_SelectedItem)
16332
- SelectionChanged = event()
16308
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
16333
16309
  class ISelectorBarFactory(ComPtr):
16334
16310
  extends: IInspectable
16335
16311
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISelectorBarFactory'
@@ -16341,9 +16317,9 @@ class ISelectorBarItem(ComPtr):
16341
16317
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISelectorBarItem'
16342
16318
  _iid_ = Guid('{3cdba1f9-a13a-56a2-b9a9-f954998d3658}')
16343
16319
  @winrt_commethod(6)
16344
- def get_Text(self) -> WinRT_String: ...
16320
+ def get_Text(self) -> hstr: ...
16345
16321
  @winrt_commethod(7)
16346
- def put_Text(self, value: WinRT_String) -> Void: ...
16322
+ def put_Text(self, value: hstr) -> Void: ...
16347
16323
  @winrt_commethod(8)
16348
16324
  def get_Icon(self) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
16349
16325
  @winrt_commethod(9)
@@ -16419,8 +16395,8 @@ class ISemanticZoom(ComPtr):
16419
16395
  IsZoomedInViewActive = property(get_IsZoomedInViewActive, put_IsZoomedInViewActive)
16420
16396
  ZoomedInView = property(get_ZoomedInView, put_ZoomedInView)
16421
16397
  ZoomedOutView = property(get_ZoomedOutView, put_ZoomedOutView)
16422
- ViewChangeStarted = event()
16423
- ViewChangeCompleted = event()
16398
+ ViewChangeCompleted = event(add_ViewChangeCompleted, remove_ViewChangeCompleted)
16399
+ ViewChangeStarted = event(add_ViewChangeStarted, remove_ViewChangeStarted)
16424
16400
  class ISemanticZoomInformation(ComPtr):
16425
16401
  extends: IInspectable
16426
16402
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISemanticZoomInformation'
@@ -16631,7 +16607,7 @@ class ISplitButton(ComPtr):
16631
16607
  Command = property(get_Command, put_Command)
16632
16608
  CommandParameter = property(get_CommandParameter, put_CommandParameter)
16633
16609
  Flyout = property(get_Flyout, put_Flyout)
16634
- Click = event()
16610
+ Click = event(add_Click, remove_Click)
16635
16611
  class ISplitButtonClickEventArgs(ComPtr):
16636
16612
  extends: IInspectable
16637
16613
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISplitButtonClickEventArgs'
@@ -16723,10 +16699,10 @@ class ISplitView(ComPtr):
16723
16699
  PaneBackground = property(get_PaneBackground, put_PaneBackground)
16724
16700
  PanePlacement = property(get_PanePlacement, put_PanePlacement)
16725
16701
  TemplateSettings = property(get_TemplateSettings, None)
16726
- PaneClosing = event()
16727
- PaneClosed = event()
16728
- PaneOpening = event()
16729
- PaneOpened = event()
16702
+ PaneClosed = event(add_PaneClosed, remove_PaneClosed)
16703
+ PaneClosing = event(add_PaneClosing, remove_PaneClosing)
16704
+ PaneOpened = event(add_PaneOpened, remove_PaneOpened)
16705
+ PaneOpening = event(add_PaneOpening, remove_PaneOpening)
16730
16706
  class ISplitViewFactory(ComPtr):
16731
16707
  extends: IInspectable
16732
16708
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISplitViewFactory'
@@ -16928,7 +16904,7 @@ class ISwapChainPanel(ComPtr):
16928
16904
  def CreateCoreIndependentInputSource(self, deviceKinds: win32more.Microsoft.UI.Input.InputPointerSourceDeviceKinds) -> win32more.Microsoft.UI.Input.InputPointerSource: ...
16929
16905
  CompositionScaleX = property(get_CompositionScaleX, None)
16930
16906
  CompositionScaleY = property(get_CompositionScaleY, None)
16931
- CompositionScaleChanged = event()
16907
+ CompositionScaleChanged = event(add_CompositionScaleChanged, remove_CompositionScaleChanged)
16932
16908
  class ISwapChainPanelFactory(ComPtr):
16933
16909
  extends: IInspectable
16934
16910
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISwapChainPanelFactory'
@@ -16998,9 +16974,9 @@ class ISwipeItem(ComPtr):
16998
16974
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISwipeItem'
16999
16975
  _iid_ = Guid('{5e8d4950-b826-510a-b309-77afcdc65b1f}')
17000
16976
  @winrt_commethod(6)
17001
- def get_Text(self) -> WinRT_String: ...
16977
+ def get_Text(self) -> hstr: ...
17002
16978
  @winrt_commethod(7)
17003
- def put_Text(self, value: WinRT_String) -> Void: ...
16979
+ def put_Text(self, value: hstr) -> Void: ...
17004
16980
  @winrt_commethod(8)
17005
16981
  def get_IconSource(self) -> win32more.Microsoft.UI.Xaml.Controls.IconSource: ...
17006
16982
  @winrt_commethod(9)
@@ -17036,7 +17012,7 @@ class ISwipeItem(ComPtr):
17036
17012
  Foreground = property(get_Foreground, put_Foreground)
17037
17013
  IconSource = property(get_IconSource, put_IconSource)
17038
17014
  Text = property(get_Text, put_Text)
17039
- Invoked = event()
17015
+ Invoked = event(add_Invoked, remove_Invoked)
17040
17016
  class ISwipeItemFactory(ComPtr):
17041
17017
  extends: IInspectable
17042
17018
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISwipeItemFactory'
@@ -17273,75 +17249,15 @@ class ITabView(ComPtr):
17273
17249
  TabStripHeader = property(get_TabStripHeader, put_TabStripHeader)
17274
17250
  TabStripHeaderTemplate = property(get_TabStripHeaderTemplate, put_TabStripHeaderTemplate)
17275
17251
  TabWidthMode = property(get_TabWidthMode, put_TabWidthMode)
17276
- TabCloseRequested = event()
17277
- TabDroppedOutside = event()
17278
- AddTabButtonClick = event()
17279
- TabItemsChanged = event()
17280
- SelectionChanged = event()
17281
- TabDragStarting = event()
17282
- TabDragCompleted = event()
17283
- TabStripDragOver = event()
17284
- TabStripDrop = event()
17285
- class ITabView2(ComPtr):
17286
- extends: IInspectable
17287
- _classid_ = 'Microsoft.UI.Xaml.Controls.ITabView2'
17288
- _iid_ = Guid('{deaa552e-4e6c-5239-ac75-d9419a2309da}')
17289
- @winrt_commethod(6)
17290
- def get_CanTearOutTabs(self) -> Boolean: ...
17291
- @winrt_commethod(7)
17292
- def put_CanTearOutTabs(self, value: Boolean) -> Void: ...
17293
- @winrt_commethod(8)
17294
- def add_TabTearOutWindowRequested(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewTabTearOutWindowRequestedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
17295
- @winrt_commethod(9)
17296
- def remove_TabTearOutWindowRequested(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
17297
- @winrt_commethod(10)
17298
- def add_TabTearOutRequested(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewTabTearOutRequestedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
17299
- @winrt_commethod(11)
17300
- def remove_TabTearOutRequested(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
17301
- @winrt_commethod(12)
17302
- def add_ExternalTornOutTabsDropping(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewExternalTornOutTabsDroppingEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
17303
- @winrt_commethod(13)
17304
- def remove_ExternalTornOutTabsDropping(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
17305
- @winrt_commethod(14)
17306
- def add_ExternalTornOutTabsDropped(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewExternalTornOutTabsDroppedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
17307
- @winrt_commethod(15)
17308
- def remove_ExternalTornOutTabsDropped(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
17309
- CanTearOutTabs = property(get_CanTearOutTabs, put_CanTearOutTabs)
17310
- TabTearOutWindowRequested = event()
17311
- TabTearOutRequested = event()
17312
- ExternalTornOutTabsDropping = event()
17313
- ExternalTornOutTabsDropped = event()
17314
- class ITabViewExternalTornOutTabsDroppedEventArgs(ComPtr):
17315
- extends: IInspectable
17316
- _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppedEventArgs'
17317
- _iid_ = Guid('{69912428-34d9-5aac-85b7-a91d71c133aa}')
17318
- @winrt_commethod(6)
17319
- def get_Items(self) -> ReceiveArray[IInspectable]: ...
17320
- @winrt_commethod(7)
17321
- def get_Tabs(self) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
17322
- @winrt_commethod(8)
17323
- def get_DropIndex(self) -> Int32: ...
17324
- DropIndex = property(get_DropIndex, None)
17325
- Items = property(get_Items, None)
17326
- Tabs = property(get_Tabs, None)
17327
- class ITabViewExternalTornOutTabsDroppingEventArgs(ComPtr):
17328
- extends: IInspectable
17329
- _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppingEventArgs'
17330
- _iid_ = Guid('{b2378908-c5d7-560e-a2e2-46403e13e5ad}')
17331
- @winrt_commethod(6)
17332
- def get_Items(self) -> ReceiveArray[IInspectable]: ...
17333
- @winrt_commethod(7)
17334
- def get_Tabs(self) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
17335
- @winrt_commethod(8)
17336
- def get_DropIndex(self) -> Int32: ...
17337
- @winrt_commethod(9)
17338
- def get_AllowDrop(self) -> Boolean: ...
17339
- @winrt_commethod(10)
17340
- def put_AllowDrop(self, value: Boolean) -> Void: ...
17341
- AllowDrop = property(get_AllowDrop, put_AllowDrop)
17342
- DropIndex = property(get_DropIndex, None)
17343
- Items = property(get_Items, None)
17344
- Tabs = property(get_Tabs, None)
17252
+ AddTabButtonClick = event(add_AddTabButtonClick, remove_AddTabButtonClick)
17253
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
17254
+ TabCloseRequested = event(add_TabCloseRequested, remove_TabCloseRequested)
17255
+ TabDragCompleted = event(add_TabDragCompleted, remove_TabDragCompleted)
17256
+ TabDragStarting = event(add_TabDragStarting, remove_TabDragStarting)
17257
+ TabDroppedOutside = event(add_TabDroppedOutside, remove_TabDroppedOutside)
17258
+ TabItemsChanged = event(add_TabItemsChanged, remove_TabItemsChanged)
17259
+ TabStripDragOver = event(add_TabStripDragOver, remove_TabStripDragOver)
17260
+ TabStripDrop = event(add_TabStripDrop, remove_TabStripDrop)
17345
17261
  class ITabViewFactory(ComPtr):
17346
17262
  extends: IInspectable
17347
17263
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewFactory'
@@ -17379,7 +17295,7 @@ class ITabViewItem(ComPtr):
17379
17295
  IconSource = property(get_IconSource, put_IconSource)
17380
17296
  IsClosable = property(get_IsClosable, put_IsClosable)
17381
17297
  TabViewTemplateSettings = property(get_TabViewTemplateSettings, None)
17382
- CloseRequested = event()
17298
+ CloseRequested = event(add_CloseRequested, remove_CloseRequested)
17383
17299
  class ITabViewItemFactory(ComPtr):
17384
17300
  extends: IInspectable
17385
17301
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewItemFactory'
@@ -17501,13 +17417,6 @@ class ITabViewStatics(ComPtr):
17501
17417
  TabStripHeaderProperty = property(get_TabStripHeaderProperty, None)
17502
17418
  TabStripHeaderTemplateProperty = property(get_TabStripHeaderTemplateProperty, None)
17503
17419
  TabWidthModeProperty = property(get_TabWidthModeProperty, None)
17504
- class ITabViewStatics2(ComPtr):
17505
- extends: IInspectable
17506
- _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewStatics2'
17507
- _iid_ = Guid('{b589da39-25f2-517c-82d1-c51d8085550e}')
17508
- @winrt_commethod(6)
17509
- def get_CanTearOutTabsProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
17510
- CanTearOutTabsProperty = property(get_CanTearOutTabsProperty, None)
17511
17420
  class ITabViewTabCloseRequestedEventArgs(ComPtr):
17512
17421
  extends: IInspectable
17513
17422
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewTabCloseRequestedEventArgs'
@@ -17559,46 +17468,18 @@ class ITabViewTabDroppedOutsideEventArgs(ComPtr):
17559
17468
  def get_Tab(self) -> win32more.Microsoft.UI.Xaml.Controls.TabViewItem: ...
17560
17469
  Item = property(get_Item, None)
17561
17470
  Tab = property(get_Tab, None)
17562
- class ITabViewTabTearOutRequestedEventArgs(ComPtr):
17563
- extends: IInspectable
17564
- _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewTabTearOutRequestedEventArgs'
17565
- _iid_ = Guid('{e8a0c441-66c5-578a-8177-47dfffb97b83}')
17566
- @winrt_commethod(6)
17567
- def get_Items(self) -> ReceiveArray[IInspectable]: ...
17568
- @winrt_commethod(7)
17569
- def get_Tabs(self) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
17570
- @winrt_commethod(8)
17571
- def get_NewWindowId(self) -> win32more.Microsoft.UI.WindowId: ...
17572
- Items = property(get_Items, None)
17573
- NewWindowId = property(get_NewWindowId, None)
17574
- Tabs = property(get_Tabs, None)
17575
- class ITabViewTabTearOutWindowRequestedEventArgs(ComPtr):
17576
- extends: IInspectable
17577
- _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewTabTearOutWindowRequestedEventArgs'
17578
- _iid_ = Guid('{0c13afa7-f291-5bac-a6e8-cc67a69b04c9}')
17579
- @winrt_commethod(6)
17580
- def get_Items(self) -> ReceiveArray[IInspectable]: ...
17581
- @winrt_commethod(7)
17582
- def get_Tabs(self) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
17583
- @winrt_commethod(8)
17584
- def get_NewWindowId(self) -> win32more.Microsoft.UI.WindowId: ...
17585
- @winrt_commethod(9)
17586
- def put_NewWindowId(self, value: win32more.Microsoft.UI.WindowId) -> Void: ...
17587
- Items = property(get_Items, None)
17588
- NewWindowId = property(get_NewWindowId, put_NewWindowId)
17589
- Tabs = property(get_Tabs, None)
17590
17471
  class ITeachingTip(ComPtr):
17591
17472
  extends: IInspectable
17592
17473
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITeachingTip'
17593
17474
  _iid_ = Guid('{daebd5f7-3b47-5b12-b804-f4e1442b2113}')
17594
17475
  @winrt_commethod(6)
17595
- def get_Title(self) -> WinRT_String: ...
17476
+ def get_Title(self) -> hstr: ...
17596
17477
  @winrt_commethod(7)
17597
- def put_Title(self, value: WinRT_String) -> Void: ...
17478
+ def put_Title(self, value: hstr) -> Void: ...
17598
17479
  @winrt_commethod(8)
17599
- def get_Subtitle(self) -> WinRT_String: ...
17480
+ def get_Subtitle(self) -> hstr: ...
17600
17481
  @winrt_commethod(9)
17601
- def put_Subtitle(self, value: WinRT_String) -> Void: ...
17482
+ def put_Subtitle(self, value: hstr) -> Void: ...
17602
17483
  @winrt_commethod(10)
17603
17484
  def get_IsOpen(self) -> Boolean: ...
17604
17485
  @winrt_commethod(11)
@@ -17710,10 +17591,10 @@ class ITeachingTip(ComPtr):
17710
17591
  Target = property(get_Target, put_Target)
17711
17592
  TemplateSettings = property(get_TemplateSettings, None)
17712
17593
  Title = property(get_Title, put_Title)
17713
- ActionButtonClick = event()
17714
- CloseButtonClick = event()
17715
- Closing = event()
17716
- Closed = event()
17594
+ ActionButtonClick = event(add_ActionButtonClick, remove_ActionButtonClick)
17595
+ CloseButtonClick = event(add_CloseButtonClick, remove_CloseButtonClick)
17596
+ Closed = event(add_Closed, remove_Closed)
17597
+ Closing = event(add_Closing, remove_Closing)
17717
17598
  class ITeachingTipClosedEventArgs(ComPtr):
17718
17599
  extends: IInspectable
17719
17600
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITeachingTipClosedEventArgs'
@@ -17891,9 +17772,9 @@ class ITextBlock(ComPtr):
17891
17772
  @winrt_commethod(25)
17892
17773
  def put_TextAlignment(self, value: win32more.Microsoft.UI.Xaml.TextAlignment) -> Void: ...
17893
17774
  @winrt_commethod(26)
17894
- def get_Text(self) -> WinRT_String: ...
17775
+ def get_Text(self) -> hstr: ...
17895
17776
  @winrt_commethod(27)
17896
- def put_Text(self, value: WinRT_String) -> Void: ...
17777
+ def put_Text(self, value: hstr) -> Void: ...
17897
17778
  @winrt_commethod(28)
17898
17779
  def get_Inlines(self) -> win32more.Microsoft.UI.Xaml.Documents.InlineCollection: ...
17899
17780
  @winrt_commethod(29)
@@ -17913,7 +17794,7 @@ class ITextBlock(ComPtr):
17913
17794
  @winrt_commethod(36)
17914
17795
  def put_IsTextSelectionEnabled(self, value: Boolean) -> Void: ...
17915
17796
  @winrt_commethod(37)
17916
- def get_SelectedText(self) -> WinRT_String: ...
17797
+ def get_SelectedText(self) -> hstr: ...
17917
17798
  @winrt_commethod(38)
17918
17799
  def get_ContentStart(self) -> win32more.Microsoft.UI.Xaml.Documents.TextPointer: ...
17919
17800
  @winrt_commethod(39)
@@ -18022,9 +17903,9 @@ class ITextBlock(ComPtr):
18022
17903
  TextReadingOrder = property(get_TextReadingOrder, put_TextReadingOrder)
18023
17904
  TextTrimming = property(get_TextTrimming, put_TextTrimming)
18024
17905
  TextWrapping = property(get_TextWrapping, put_TextWrapping)
18025
- SelectionChanged = event()
18026
- ContextMenuOpening = event()
18027
- IsTextTrimmedChanged = event()
17906
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
17907
+ IsTextTrimmedChanged = event(add_IsTextTrimmedChanged, remove_IsTextTrimmedChanged)
17908
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
18028
17909
  class ITextBlockStatics(ComPtr):
18029
17910
  extends: IInspectable
18030
17911
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITextBlockStatics'
@@ -18115,13 +17996,13 @@ class ITextBox(ComPtr):
18115
17996
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITextBox'
18116
17997
  _iid_ = Guid('{873af7c2-ab89-5d76-8dbe-3d6325669df5}')
18117
17998
  @winrt_commethod(6)
18118
- def get_Text(self) -> WinRT_String: ...
17999
+ def get_Text(self) -> hstr: ...
18119
18000
  @winrt_commethod(7)
18120
- def put_Text(self, value: WinRT_String) -> Void: ...
18001
+ def put_Text(self, value: hstr) -> Void: ...
18121
18002
  @winrt_commethod(8)
18122
- def get_SelectedText(self) -> WinRT_String: ...
18003
+ def get_SelectedText(self) -> hstr: ...
18123
18004
  @winrt_commethod(9)
18124
- def put_SelectedText(self, value: WinRT_String) -> Void: ...
18005
+ def put_SelectedText(self, value: hstr) -> Void: ...
18125
18006
  @winrt_commethod(10)
18126
18007
  def get_SelectionLength(self) -> Int32: ...
18127
18008
  @winrt_commethod(11)
@@ -18171,9 +18052,9 @@ class ITextBox(ComPtr):
18171
18052
  @winrt_commethod(33)
18172
18053
  def put_HeaderTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
18173
18054
  @winrt_commethod(34)
18174
- def get_PlaceholderText(self) -> WinRT_String: ...
18055
+ def get_PlaceholderText(self) -> hstr: ...
18175
18056
  @winrt_commethod(35)
18176
- def put_PlaceholderText(self, value: WinRT_String) -> Void: ...
18057
+ def put_PlaceholderText(self, value: hstr) -> Void: ...
18177
18058
  @winrt_commethod(36)
18178
18059
  def get_SelectionHighlightColor(self) -> win32more.Microsoft.UI.Xaml.Media.SolidColorBrush: ...
18179
18060
  @winrt_commethod(37)
@@ -18269,7 +18150,7 @@ class ITextBox(ComPtr):
18269
18150
  @winrt_commethod(82)
18270
18151
  def GetRectFromCharacterIndex(self, charIndex: Int32, trailingEdge: Boolean) -> win32more.Windows.Foundation.Rect: ...
18271
18152
  @winrt_commethod(83)
18272
- def GetLinguisticAlternativesAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[WinRT_String]]: ...
18153
+ def GetLinguisticAlternativesAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[hstr]]: ...
18273
18154
  @winrt_commethod(84)
18274
18155
  def Undo(self) -> Void: ...
18275
18156
  @winrt_commethod(85)
@@ -18328,25 +18209,25 @@ class ITextBox(ComPtr):
18328
18209
  TextAlignment = property(get_TextAlignment, put_TextAlignment)
18329
18210
  TextReadingOrder = property(get_TextReadingOrder, put_TextReadingOrder)
18330
18211
  TextWrapping = property(get_TextWrapping, put_TextWrapping)
18331
- TextChanged = event()
18332
- SelectionChanged = event()
18333
- ContextMenuOpening = event()
18334
- Paste = event()
18335
- TextCompositionStarted = event()
18336
- TextCompositionChanged = event()
18337
- TextCompositionEnded = event()
18338
- CopyingToClipboard = event()
18339
- CuttingToClipboard = event()
18340
- BeforeTextChanging = event()
18341
- SelectionChanging = event()
18342
- CandidateWindowBoundsChanged = event()
18343
- TextChanging = event()
18212
+ BeforeTextChanging = event(add_BeforeTextChanging, remove_BeforeTextChanging)
18213
+ CandidateWindowBoundsChanged = event(add_CandidateWindowBoundsChanged, remove_CandidateWindowBoundsChanged)
18214
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
18215
+ CopyingToClipboard = event(add_CopyingToClipboard, remove_CopyingToClipboard)
18216
+ CuttingToClipboard = event(add_CuttingToClipboard, remove_CuttingToClipboard)
18217
+ Paste = event(add_Paste, remove_Paste)
18218
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
18219
+ SelectionChanging = event(add_SelectionChanging, remove_SelectionChanging)
18220
+ TextChanged = event(add_TextChanged, remove_TextChanged)
18221
+ TextChanging = event(add_TextChanging, remove_TextChanging)
18222
+ TextCompositionChanged = event(add_TextCompositionChanged, remove_TextCompositionChanged)
18223
+ TextCompositionEnded = event(add_TextCompositionEnded, remove_TextCompositionEnded)
18224
+ TextCompositionStarted = event(add_TextCompositionStarted, remove_TextCompositionStarted)
18344
18225
  class ITextBoxBeforeTextChangingEventArgs(ComPtr):
18345
18226
  extends: IInspectable
18346
18227
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITextBoxBeforeTextChangingEventArgs'
18347
18228
  _iid_ = Guid('{ba46105b-9a16-5237-a20f-5df750992a05}')
18348
18229
  @winrt_commethod(6)
18349
- def get_NewText(self) -> WinRT_String: ...
18230
+ def get_NewText(self) -> hstr: ...
18350
18231
  @winrt_commethod(7)
18351
18232
  def get_Cancel(self) -> Boolean: ...
18352
18233
  @winrt_commethod(8)
@@ -18560,9 +18441,9 @@ class ITimePicker(ComPtr):
18560
18441
  @winrt_commethod(9)
18561
18442
  def put_HeaderTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
18562
18443
  @winrt_commethod(10)
18563
- def get_ClockIdentifier(self) -> WinRT_String: ...
18444
+ def get_ClockIdentifier(self) -> hstr: ...
18564
18445
  @winrt_commethod(11)
18565
- def put_ClockIdentifier(self, value: WinRT_String) -> Void: ...
18446
+ def put_ClockIdentifier(self, value: hstr) -> Void: ...
18566
18447
  @winrt_commethod(12)
18567
18448
  def get_MinuteIncrement(self) -> Int32: ...
18568
18449
  @winrt_commethod(13)
@@ -18594,8 +18475,8 @@ class ITimePicker(ComPtr):
18594
18475
  MinuteIncrement = property(get_MinuteIncrement, put_MinuteIncrement)
18595
18476
  SelectedTime = property(get_SelectedTime, put_SelectedTime)
18596
18477
  Time = property(get_Time, put_Time)
18597
- TimeChanged = event()
18598
- SelectedTimeChanged = event()
18478
+ SelectedTimeChanged = event(add_SelectedTimeChanged, remove_SelectedTimeChanged)
18479
+ TimeChanged = event(add_TimeChanged, remove_TimeChanged)
18599
18480
  class ITimePickerFactory(ComPtr):
18600
18481
  extends: IInspectable
18601
18482
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITimePickerFactory'
@@ -18607,9 +18488,9 @@ class ITimePickerFlyout(ComPtr):
18607
18488
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITimePickerFlyout'
18608
18489
  _iid_ = Guid('{479799dc-700a-5a9c-ba0b-9ab2587ed2e8}')
18609
18490
  @winrt_commethod(6)
18610
- def get_ClockIdentifier(self) -> WinRT_String: ...
18491
+ def get_ClockIdentifier(self) -> hstr: ...
18611
18492
  @winrt_commethod(7)
18612
- def put_ClockIdentifier(self, value: WinRT_String) -> Void: ...
18493
+ def put_ClockIdentifier(self, value: hstr) -> Void: ...
18613
18494
  @winrt_commethod(8)
18614
18495
  def get_Time(self) -> win32more.Windows.Foundation.TimeSpan: ...
18615
18496
  @winrt_commethod(9)
@@ -18627,7 +18508,7 @@ class ITimePickerFlyout(ComPtr):
18627
18508
  ClockIdentifier = property(get_ClockIdentifier, put_ClockIdentifier)
18628
18509
  MinuteIncrement = property(get_MinuteIncrement, put_MinuteIncrement)
18629
18510
  Time = property(get_Time, put_Time)
18630
- TimePicked = event()
18511
+ TimePicked = event(add_TimePicked, remove_TimePicked)
18631
18512
  class ITimePickerFlyoutPresenter(ComPtr):
18632
18513
  extends: IInspectable
18633
18514
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITimePickerFlyoutPresenter'
@@ -18702,140 +18583,6 @@ class ITimePickerValueChangedEventArgs(ComPtr):
18702
18583
  def get_NewTime(self) -> win32more.Windows.Foundation.TimeSpan: ...
18703
18584
  NewTime = property(get_NewTime, None)
18704
18585
  OldTime = property(get_OldTime, None)
18705
- class ITitleBar(ComPtr):
18706
- extends: IInspectable
18707
- _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBar'
18708
- _iid_ = Guid('{c552714d-5d30-5a2b-9c7a-d68bea3dde8d}')
18709
- @winrt_commethod(6)
18710
- def get_Title(self) -> WinRT_String: ...
18711
- @winrt_commethod(7)
18712
- def put_Title(self, value: WinRT_String) -> Void: ...
18713
- @winrt_commethod(8)
18714
- def get_Subtitle(self) -> WinRT_String: ...
18715
- @winrt_commethod(9)
18716
- def put_Subtitle(self, value: WinRT_String) -> Void: ...
18717
- @winrt_commethod(10)
18718
- def get_IconSource(self) -> win32more.Microsoft.UI.Xaml.Controls.IconSource: ...
18719
- @winrt_commethod(11)
18720
- def put_IconSource(self, value: win32more.Microsoft.UI.Xaml.Controls.IconSource) -> Void: ...
18721
- @winrt_commethod(12)
18722
- def get_LeftHeader(self) -> win32more.Microsoft.UI.Xaml.UIElement: ...
18723
- @winrt_commethod(13)
18724
- def put_LeftHeader(self, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
18725
- @winrt_commethod(14)
18726
- def get_Content(self) -> win32more.Microsoft.UI.Xaml.UIElement: ...
18727
- @winrt_commethod(15)
18728
- def put_Content(self, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
18729
- @winrt_commethod(16)
18730
- def get_RightHeader(self) -> win32more.Microsoft.UI.Xaml.UIElement: ...
18731
- @winrt_commethod(17)
18732
- def put_RightHeader(self, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
18733
- @winrt_commethod(18)
18734
- def get_IsBackButtonVisible(self) -> Boolean: ...
18735
- @winrt_commethod(19)
18736
- def put_IsBackButtonVisible(self, value: Boolean) -> Void: ...
18737
- @winrt_commethod(20)
18738
- def get_IsBackButtonEnabled(self) -> Boolean: ...
18739
- @winrt_commethod(21)
18740
- def put_IsBackButtonEnabled(self, value: Boolean) -> Void: ...
18741
- @winrt_commethod(22)
18742
- def get_IsPaneToggleButtonVisible(self) -> Boolean: ...
18743
- @winrt_commethod(23)
18744
- def put_IsPaneToggleButtonVisible(self, value: Boolean) -> Void: ...
18745
- @winrt_commethod(24)
18746
- def get_TemplateSettings(self) -> win32more.Microsoft.UI.Xaml.Controls.TitleBarTemplateSettings: ...
18747
- @winrt_commethod(25)
18748
- def add_BackRequested(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TitleBar, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
18749
- @winrt_commethod(26)
18750
- def remove_BackRequested(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
18751
- @winrt_commethod(27)
18752
- def add_PaneToggleRequested(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TitleBar, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
18753
- @winrt_commethod(28)
18754
- def remove_PaneToggleRequested(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
18755
- Content = property(get_Content, put_Content)
18756
- IconSource = property(get_IconSource, put_IconSource)
18757
- IsBackButtonEnabled = property(get_IsBackButtonEnabled, put_IsBackButtonEnabled)
18758
- IsBackButtonVisible = property(get_IsBackButtonVisible, put_IsBackButtonVisible)
18759
- IsPaneToggleButtonVisible = property(get_IsPaneToggleButtonVisible, put_IsPaneToggleButtonVisible)
18760
- LeftHeader = property(get_LeftHeader, put_LeftHeader)
18761
- RightHeader = property(get_RightHeader, put_RightHeader)
18762
- Subtitle = property(get_Subtitle, put_Subtitle)
18763
- TemplateSettings = property(get_TemplateSettings, None)
18764
- Title = property(get_Title, put_Title)
18765
- BackRequested = event()
18766
- PaneToggleRequested = event()
18767
- class ITitleBarAutomationPeer(ComPtr):
18768
- extends: IInspectable
18769
- _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBarAutomationPeer'
18770
- _iid_ = Guid('{945f8144-68f1-5731-b850-3d0e664699ea}')
18771
- class ITitleBarAutomationPeerFactory(ComPtr):
18772
- extends: IInspectable
18773
- _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBarAutomationPeerFactory'
18774
- _iid_ = Guid('{fd01dfd8-41ff-5a4f-96ab-c5082262aecd}')
18775
- @winrt_commethod(6)
18776
- def CreateInstance(self, owner: win32more.Microsoft.UI.Xaml.Controls.TitleBar, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TitleBarAutomationPeer: ...
18777
- class ITitleBarFactory(ComPtr):
18778
- extends: IInspectable
18779
- _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBarFactory'
18780
- _iid_ = Guid('{c4452799-4606-59ef-9392-a0548d48b82e}')
18781
- @winrt_commethod(6)
18782
- def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TitleBar: ...
18783
- class ITitleBarStatics(ComPtr):
18784
- extends: IInspectable
18785
- _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBarStatics'
18786
- _iid_ = Guid('{f9ada39b-1f24-5955-9b5c-cacbfe9a41cf}')
18787
- @winrt_commethod(6)
18788
- def get_TitleProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18789
- @winrt_commethod(7)
18790
- def get_SubtitleProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18791
- @winrt_commethod(8)
18792
- def get_IconSourceProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18793
- @winrt_commethod(9)
18794
- def get_LeftHeaderProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18795
- @winrt_commethod(10)
18796
- def get_ContentProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18797
- @winrt_commethod(11)
18798
- def get_RightHeaderProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18799
- @winrt_commethod(12)
18800
- def get_IsBackButtonVisibleProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18801
- @winrt_commethod(13)
18802
- def get_IsBackButtonEnabledProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18803
- @winrt_commethod(14)
18804
- def get_IsPaneToggleButtonVisibleProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18805
- @winrt_commethod(15)
18806
- def get_TemplateSettingsProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18807
- ContentProperty = property(get_ContentProperty, None)
18808
- IconSourceProperty = property(get_IconSourceProperty, None)
18809
- IsBackButtonEnabledProperty = property(get_IsBackButtonEnabledProperty, None)
18810
- IsBackButtonVisibleProperty = property(get_IsBackButtonVisibleProperty, None)
18811
- IsPaneToggleButtonVisibleProperty = property(get_IsPaneToggleButtonVisibleProperty, None)
18812
- LeftHeaderProperty = property(get_LeftHeaderProperty, None)
18813
- RightHeaderProperty = property(get_RightHeaderProperty, None)
18814
- SubtitleProperty = property(get_SubtitleProperty, None)
18815
- TemplateSettingsProperty = property(get_TemplateSettingsProperty, None)
18816
- TitleProperty = property(get_TitleProperty, None)
18817
- class ITitleBarTemplateSettings(ComPtr):
18818
- extends: IInspectable
18819
- _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettings'
18820
- _iid_ = Guid('{be19011a-4957-5332-98b8-1704401b6a0e}')
18821
- @winrt_commethod(6)
18822
- def get_IconElement(self) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
18823
- @winrt_commethod(7)
18824
- def put_IconElement(self, value: win32more.Microsoft.UI.Xaml.Controls.IconElement) -> Void: ...
18825
- IconElement = property(get_IconElement, put_IconElement)
18826
- class ITitleBarTemplateSettingsFactory(ComPtr):
18827
- extends: IInspectable
18828
- _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettingsFactory'
18829
- _iid_ = Guid('{fcf9e48c-dfe4-55f3-b179-b900a7ae9c25}')
18830
- @winrt_commethod(6)
18831
- def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TitleBarTemplateSettings: ...
18832
- class ITitleBarTemplateSettingsStatics(ComPtr):
18833
- extends: IInspectable
18834
- _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettingsStatics'
18835
- _iid_ = Guid('{f568e19b-b9af-5f1f-a752-482f12887434}')
18836
- @winrt_commethod(6)
18837
- def get_IconElementProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
18838
- IconElementProperty = property(get_IconElementProperty, None)
18839
18586
  class IToggleMenuFlyoutItem(ComPtr):
18840
18587
  extends: IInspectable
18841
18588
  _classid_ = 'Microsoft.UI.Xaml.Controls.IToggleMenuFlyoutItem'
@@ -18871,7 +18618,7 @@ class IToggleSplitButton(ComPtr):
18871
18618
  @winrt_commethod(9)
18872
18619
  def remove_IsCheckedChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
18873
18620
  IsChecked = property(get_IsChecked, put_IsChecked)
18874
- IsCheckedChanged = event()
18621
+ IsCheckedChanged = event(add_IsCheckedChanged, remove_IsCheckedChanged)
18875
18622
  class IToggleSplitButtonFactory(ComPtr):
18876
18623
  extends: IInspectable
18877
18624
  _classid_ = 'Microsoft.UI.Xaml.Controls.IToggleSplitButtonFactory'
@@ -18935,7 +18682,7 @@ class IToggleSwitch(ComPtr):
18935
18682
  OnContent = property(get_OnContent, put_OnContent)
18936
18683
  OnContentTemplate = property(get_OnContentTemplate, put_OnContentTemplate)
18937
18684
  TemplateSettings = property(get_TemplateSettings, None)
18938
- Toggled = event()
18685
+ Toggled = event(add_Toggled, remove_Toggled)
18939
18686
  class IToggleSwitchOverrides(ComPtr):
18940
18687
  extends: IInspectable
18941
18688
  _classid_ = 'Microsoft.UI.Xaml.Controls.IToggleSwitchOverrides'
@@ -19018,8 +18765,8 @@ class IToolTip(ComPtr):
19018
18765
  PlacementTarget = property(get_PlacementTarget, put_PlacementTarget)
19019
18766
  TemplateSettings = property(get_TemplateSettings, None)
19020
18767
  VerticalOffset = property(get_VerticalOffset, put_VerticalOffset)
19021
- Closed = event()
19022
- Opened = event()
18768
+ Closed = event(add_Closed, remove_Closed)
18769
+ Opened = event(add_Opened, remove_Opened)
19023
18770
  class IToolTipFactory(ComPtr):
19024
18771
  extends: IInspectable
19025
18772
  _classid_ = 'Microsoft.UI.Xaml.Controls.IToolTipFactory'
@@ -19110,9 +18857,9 @@ class ITreeView(ComPtr):
19110
18857
  RootNodes = property(get_RootNodes, None)
19111
18858
  SelectedNodes = property(get_SelectedNodes, None)
19112
18859
  SelectionMode = property(get_SelectionMode, put_SelectionMode)
19113
- ItemInvoked = event()
19114
- Expanding = event()
19115
- Collapsed = event()
18860
+ Collapsed = event(add_Collapsed, remove_Collapsed)
18861
+ Expanding = event(add_Expanding, remove_Expanding)
18862
+ ItemInvoked = event(add_ItemInvoked, remove_ItemInvoked)
19116
18863
  class ITreeView2(ComPtr):
19117
18864
  extends: IInspectable
19118
18865
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITreeView2'
@@ -19186,8 +18933,8 @@ class ITreeView2(ComPtr):
19186
18933
  SelectedItem = property(get_SelectedItem, put_SelectedItem)
19187
18934
  SelectedItems = property(get_SelectedItems, None)
19188
18935
  SelectedNode = property(get_SelectedNode, put_SelectedNode)
19189
- DragItemsStarting = event()
19190
- DragItemsCompleted = event()
18936
+ DragItemsCompleted = event(add_DragItemsCompleted, remove_DragItemsCompleted)
18937
+ DragItemsStarting = event(add_DragItemsStarting, remove_DragItemsStarting)
19191
18938
  class ITreeView3(ComPtr):
19192
18939
  extends: IInspectable
19193
18940
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITreeView3'
@@ -19196,7 +18943,7 @@ class ITreeView3(ComPtr):
19196
18943
  def add_SelectionChanged(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TreeView, win32more.Microsoft.UI.Xaml.Controls.TreeViewSelectionChangedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
19197
18944
  @winrt_commethod(7)
19198
18945
  def remove_SelectionChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
19199
- SelectionChanged = event()
18946
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
19200
18947
  class ITreeViewCollapsedEventArgs(ComPtr):
19201
18948
  extends: IInspectable
19202
18949
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITreeViewCollapsedEventArgs'
@@ -19276,13 +19023,13 @@ class ITreeViewItem(ComPtr):
19276
19023
  @winrt_commethod(9)
19277
19024
  def put_GlyphBrush(self, value: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
19278
19025
  @winrt_commethod(10)
19279
- def get_ExpandedGlyph(self) -> WinRT_String: ...
19026
+ def get_ExpandedGlyph(self) -> hstr: ...
19280
19027
  @winrt_commethod(11)
19281
- def put_ExpandedGlyph(self, value: WinRT_String) -> Void: ...
19028
+ def put_ExpandedGlyph(self, value: hstr) -> Void: ...
19282
19029
  @winrt_commethod(12)
19283
- def get_CollapsedGlyph(self) -> WinRT_String: ...
19030
+ def get_CollapsedGlyph(self) -> hstr: ...
19284
19031
  @winrt_commethod(13)
19285
- def put_CollapsedGlyph(self, value: WinRT_String) -> Void: ...
19032
+ def put_CollapsedGlyph(self, value: hstr) -> Void: ...
19286
19033
  @winrt_commethod(14)
19287
19034
  def get_GlyphSize(self) -> Double: ...
19288
19035
  @winrt_commethod(15)
@@ -19572,7 +19319,7 @@ class ITwoPaneView(ComPtr):
19572
19319
  PanePriority = property(get_PanePriority, put_PanePriority)
19573
19320
  TallModeConfiguration = property(get_TallModeConfiguration, put_TallModeConfiguration)
19574
19321
  WideModeConfiguration = property(get_WideModeConfiguration, put_WideModeConfiguration)
19575
- ModeChanged = event()
19322
+ ModeChanged = event(add_ModeChanged, remove_ModeChanged)
19576
19323
  class ITwoPaneViewFactory(ComPtr):
19577
19324
  extends: IInspectable
19578
19325
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITwoPaneViewFactory'
@@ -19958,7 +19705,7 @@ class IVirtualizingStackPanel(ComPtr):
19958
19705
  def remove_CleanUpVirtualizedItemEvent(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
19959
19706
  AreScrollSnapPointsRegular = property(get_AreScrollSnapPointsRegular, put_AreScrollSnapPointsRegular)
19960
19707
  Orientation = property(get_Orientation, put_Orientation)
19961
- CleanUpVirtualizedItemEvent = event()
19708
+ CleanUpVirtualizedItemEvent = event(add_CleanUpVirtualizedItemEvent, remove_CleanUpVirtualizedItemEvent)
19962
19709
  class IVirtualizingStackPanelOverrides(ComPtr):
19963
19710
  extends: IInspectable
19964
19711
  _classid_ = 'Microsoft.UI.Xaml.Controls.IVirtualizingStackPanelOverrides'
@@ -19996,7 +19743,7 @@ class IWebView2(ComPtr):
19996
19743
  @winrt_commethod(7)
19997
19744
  def EnsureCoreWebView2Async(self) -> win32more.Windows.Foundation.IAsyncAction: ...
19998
19745
  @winrt_commethod(8)
19999
- def ExecuteScriptAsync(self, javascriptCode: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperation[WinRT_String]: ...
19746
+ def ExecuteScriptAsync(self, javascriptCode: hstr) -> win32more.Windows.Foundation.IAsyncOperation[hstr]: ...
20000
19747
  @winrt_commethod(9)
20001
19748
  def get_Source(self) -> win32more.Windows.Foundation.Uri: ...
20002
19749
  @winrt_commethod(10)
@@ -20020,7 +19767,7 @@ class IWebView2(ComPtr):
20020
19767
  @winrt_commethod(19)
20021
19768
  def GoBack(self) -> Void: ...
20022
19769
  @winrt_commethod(20)
20023
- def NavigateToString(self, htmlContent: WinRT_String) -> Void: ...
19770
+ def NavigateToString(self, htmlContent: hstr) -> Void: ...
20024
19771
  @winrt_commethod(21)
20025
19772
  def Close(self) -> Void: ...
20026
19773
  @winrt_commethod(22)
@@ -20048,11 +19795,11 @@ class IWebView2(ComPtr):
20048
19795
  CoreWebView2 = property(get_CoreWebView2, None)
20049
19796
  DefaultBackgroundColor = property(get_DefaultBackgroundColor, put_DefaultBackgroundColor)
20050
19797
  Source = property(get_Source, put_Source)
20051
- NavigationCompleted = event()
20052
- WebMessageReceived = event()
20053
- NavigationStarting = event()
20054
- CoreProcessFailed = event()
20055
- CoreWebView2Initialized = event()
19798
+ CoreProcessFailed = event(add_CoreProcessFailed, remove_CoreProcessFailed)
19799
+ CoreWebView2Initialized = event(add_CoreWebView2Initialized, remove_CoreWebView2Initialized)
19800
+ NavigationCompleted = event(add_NavigationCompleted, remove_NavigationCompleted)
19801
+ NavigationStarting = event(add_NavigationStarting, remove_NavigationStarting)
19802
+ WebMessageReceived = event(add_WebMessageReceived, remove_WebMessageReceived)
20056
19803
  class IWebView22(ComPtr):
20057
19804
  extends: IInspectable
20058
19805
  _classid_ = 'Microsoft.UI.Xaml.Controls.IWebView22'
@@ -20265,8 +20012,8 @@ class Image(ComPtr, metaclass=_Image_Meta_):
20265
20012
  _Image_Meta_.NineGridProperty = property(get_NineGridProperty, None)
20266
20013
  _Image_Meta_.SourceProperty = property(get_SourceProperty, None)
20267
20014
  _Image_Meta_.StretchProperty = property(get_StretchProperty, None)
20268
- ImageFailed = event()
20269
- ImageOpened = event()
20015
+ ImageFailed = event(add_ImageFailed, remove_ImageFailed)
20016
+ ImageOpened = event(add_ImageOpened, remove_ImageOpened)
20270
20017
  class _ImageIcon_Meta_(ComPtr.__class__):
20271
20018
  pass
20272
20019
  class ImageIcon(ComPtr, metaclass=_ImageIcon_Meta_):
@@ -20408,13 +20155,13 @@ class InfoBar(ComPtr, metaclass=_InfoBar_Meta_):
20408
20155
  @winrt_mixinmethod
20409
20156
  def put_IsOpen(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar, value: Boolean) -> Void: ...
20410
20157
  @winrt_mixinmethod
20411
- def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar) -> WinRT_String: ...
20158
+ def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar) -> hstr: ...
20412
20159
  @winrt_mixinmethod
20413
- def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar, value: WinRT_String) -> Void: ...
20160
+ def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar, value: hstr) -> Void: ...
20414
20161
  @winrt_mixinmethod
20415
- def get_Message(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar) -> WinRT_String: ...
20162
+ def get_Message(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar) -> hstr: ...
20416
20163
  @winrt_mixinmethod
20417
- def put_Message(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar, value: WinRT_String) -> Void: ...
20164
+ def put_Message(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar, value: hstr) -> Void: ...
20418
20165
  @winrt_mixinmethod
20419
20166
  def get_Severity(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar) -> win32more.Microsoft.UI.Xaml.Controls.InfoBarSeverity: ...
20420
20167
  @winrt_mixinmethod
@@ -20525,9 +20272,9 @@ class InfoBar(ComPtr, metaclass=_InfoBar_Meta_):
20525
20272
  _InfoBar_Meta_.SeverityProperty = property(get_SeverityProperty, None)
20526
20273
  _InfoBar_Meta_.TemplateSettingsProperty = property(get_TemplateSettingsProperty, None)
20527
20274
  _InfoBar_Meta_.TitleProperty = property(get_TitleProperty, None)
20528
- CloseButtonClick = event()
20529
- Closing = event()
20530
- Closed = event()
20275
+ CloseButtonClick = event(add_CloseButtonClick, remove_CloseButtonClick)
20276
+ Closed = event(add_Closed, remove_Closed)
20277
+ Closing = event(add_Closing, remove_Closing)
20531
20278
  class InfoBarCloseReason(Enum, Int32):
20532
20279
  CloseButton = 0
20533
20280
  Programmatic = 1
@@ -20639,7 +20386,7 @@ class ItemCollection(ComPtr):
20639
20386
  @winrt_mixinmethod
20640
20387
  def First(self: win32more.Windows.Foundation.Collections.IIterable[IInspectable]) -> win32more.Windows.Foundation.Collections.IIterator[IInspectable]: ...
20641
20388
  Size = property(get_Size, None)
20642
- VectorChanged = event()
20389
+ VectorChanged = event(add_VectorChanged, remove_VectorChanged)
20643
20390
  class ItemCollectionTransition(ComPtr):
20644
20391
  extends: IInspectable
20645
20392
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IItemCollectionTransition
@@ -20712,7 +20459,7 @@ class ItemCollectionTransitionProvider(ComPtr):
20712
20459
  def ShouldAnimateCore(self: win32more.Microsoft.UI.Xaml.Controls.IItemCollectionTransitionProviderOverrides, transition: win32more.Microsoft.UI.Xaml.Controls.ItemCollectionTransition) -> Boolean: ...
20713
20460
  @winrt_mixinmethod
20714
20461
  def StartTransitions(self: win32more.Microsoft.UI.Xaml.Controls.IItemCollectionTransitionProviderOverrides, transitions: win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.UI.Xaml.Controls.ItemCollectionTransition]) -> Void: ...
20715
- TransitionCompleted = event()
20462
+ TransitionCompleted = event(add_TransitionCompleted, remove_TransitionCompleted)
20716
20463
  class ItemCollectionTransitionTriggers(Enum, UInt32):
20717
20464
  CollectionChangeAdd = 1
20718
20465
  CollectionChangeRemove = 2
@@ -20785,7 +20532,7 @@ class ItemContainerGenerator(ComPtr):
20785
20532
  def IndexFromGeneratorPosition(self: win32more.Microsoft.UI.Xaml.Controls.IItemContainerGenerator, position: win32more.Microsoft.UI.Xaml.Controls.Primitives.GeneratorPosition) -> Int32: ...
20786
20533
  @winrt_mixinmethod
20787
20534
  def Recycle(self: win32more.Microsoft.UI.Xaml.Controls.IItemContainerGenerator, position: win32more.Microsoft.UI.Xaml.Controls.Primitives.GeneratorPosition, count: Int32) -> Void: ...
20788
- ItemsChanged = event()
20535
+ ItemsChanged = event(add_ItemsChanged, remove_ItemsChanged)
20789
20536
  class _ItemsControl_Meta_(ComPtr.__class__):
20790
20537
  pass
20791
20538
  class ItemsControl(ComPtr, metaclass=_ItemsControl_Meta_):
@@ -20820,9 +20567,9 @@ class ItemsControl(ComPtr, metaclass=_ItemsControl_Meta_):
20820
20567
  @winrt_mixinmethod
20821
20568
  def put_ItemsPanel(self: win32more.Microsoft.UI.Xaml.Controls.IItemsControl, value: win32more.Microsoft.UI.Xaml.Controls.ItemsPanelTemplate) -> Void: ...
20822
20569
  @winrt_mixinmethod
20823
- def get_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IItemsControl) -> WinRT_String: ...
20570
+ def get_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IItemsControl) -> hstr: ...
20824
20571
  @winrt_mixinmethod
20825
- def put_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IItemsControl, value: WinRT_String) -> Void: ...
20572
+ def put_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IItemsControl, value: hstr) -> Void: ...
20826
20573
  @winrt_mixinmethod
20827
20574
  def get_ItemsPanelRoot(self: win32more.Microsoft.UI.Xaml.Controls.IItemsControl) -> win32more.Microsoft.UI.Xaml.Controls.Panel: ...
20828
20575
  @winrt_mixinmethod
@@ -21046,8 +20793,8 @@ class ItemsPresenter(ComPtr, metaclass=_ItemsPresenter_Meta_):
21046
20793
  _ItemsPresenter_Meta_.HeaderTemplateProperty = property(get_HeaderTemplateProperty, None)
21047
20794
  _ItemsPresenter_Meta_.HeaderTransitionsProperty = property(get_HeaderTransitionsProperty, None)
21048
20795
  _ItemsPresenter_Meta_.PaddingProperty = property(get_PaddingProperty, None)
21049
- HorizontalSnapPointsChanged = event()
21050
- VerticalSnapPointsChanged = event()
20796
+ HorizontalSnapPointsChanged = event(add_HorizontalSnapPointsChanged, remove_HorizontalSnapPointsChanged)
20797
+ VerticalSnapPointsChanged = event(add_VerticalSnapPointsChanged, remove_VerticalSnapPointsChanged)
21051
20798
  class _ItemsRepeater_Meta_(ComPtr.__class__):
21052
20799
  pass
21053
20800
  class ItemsRepeater(ComPtr, metaclass=_ItemsRepeater_Meta_):
@@ -21140,9 +20887,9 @@ class ItemsRepeater(ComPtr, metaclass=_ItemsRepeater_Meta_):
21140
20887
  _ItemsRepeater_Meta_.ItemsSourceProperty = property(get_ItemsSourceProperty, None)
21141
20888
  _ItemsRepeater_Meta_.LayoutProperty = property(get_LayoutProperty, None)
21142
20889
  _ItemsRepeater_Meta_.VerticalCacheLengthProperty = property(get_VerticalCacheLengthProperty, None)
21143
- ElementPrepared = event()
21144
- ElementClearing = event()
21145
- ElementIndexChanged = event()
20890
+ ElementClearing = event(add_ElementClearing, remove_ElementClearing)
20891
+ ElementIndexChanged = event(add_ElementIndexChanged, remove_ElementIndexChanged)
20892
+ ElementPrepared = event(add_ElementPrepared, remove_ElementPrepared)
21146
20893
  class ItemsRepeaterElementClearingEventArgs(ComPtr):
21147
20894
  extends: IInspectable
21148
20895
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IItemsRepeaterElementClearingEventArgs
@@ -21224,9 +20971,9 @@ class ItemsSourceView(ComPtr):
21224
20971
  @winrt_mixinmethod
21225
20972
  def get_HasKeyIndexMapping(self: win32more.Microsoft.UI.Xaml.Controls.IItemsSourceView) -> Boolean: ...
21226
20973
  @winrt_mixinmethod
21227
- def KeyFromIndex(self: win32more.Microsoft.UI.Xaml.Controls.IItemsSourceView, index: Int32) -> WinRT_String: ...
20974
+ def KeyFromIndex(self: win32more.Microsoft.UI.Xaml.Controls.IItemsSourceView, index: Int32) -> hstr: ...
21228
20975
  @winrt_mixinmethod
21229
- def IndexFromKey(self: win32more.Microsoft.UI.Xaml.Controls.IItemsSourceView, key: WinRT_String) -> Int32: ...
20976
+ def IndexFromKey(self: win32more.Microsoft.UI.Xaml.Controls.IItemsSourceView, key: hstr) -> Int32: ...
21230
20977
  @winrt_mixinmethod
21231
20978
  def IndexOf(self: win32more.Microsoft.UI.Xaml.Controls.IItemsSourceView, item: IInspectable) -> Int32: ...
21232
20979
  @winrt_mixinmethod
@@ -21235,7 +20982,7 @@ class ItemsSourceView(ComPtr):
21235
20982
  def remove_CollectionChanged(self: win32more.Microsoft.UI.Xaml.Interop.INotifyCollectionChanged, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
21236
20983
  Count = property(get_Count, None)
21237
20984
  HasKeyIndexMapping = property(get_HasKeyIndexMapping, None)
21238
- CollectionChanged = event()
20985
+ CollectionChanged = event(add_CollectionChanged, remove_CollectionChanged)
21239
20986
  class _ItemsStackPanel_Meta_(ComPtr.__class__):
21240
20987
  pass
21241
20988
  class ItemsStackPanel(ComPtr, metaclass=_ItemsStackPanel_Meta_):
@@ -21431,8 +21178,8 @@ class ItemsView(ComPtr, metaclass=_ItemsView_Meta_):
21431
21178
  _ItemsView_Meta_.SelectedItemProperty = property(get_SelectedItemProperty, None)
21432
21179
  _ItemsView_Meta_.SelectionModeProperty = property(get_SelectionModeProperty, None)
21433
21180
  _ItemsView_Meta_.VerticalScrollControllerProperty = property(get_VerticalScrollControllerProperty, None)
21434
- ItemInvoked = event()
21435
- SelectionChanged = event()
21181
+ ItemInvoked = event(add_ItemInvoked, remove_ItemInvoked)
21182
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
21436
21183
  class ItemsViewItemInvokedEventArgs(ComPtr):
21437
21184
  extends: IInspectable
21438
21185
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IItemsViewItemInvokedEventArgs
@@ -21459,11 +21206,11 @@ class ItemsWrapGrid(ComPtr, metaclass=_ItemsWrapGrid_Meta_):
21459
21206
  if kwargs:
21460
21207
  super().__init__(**kwargs)
21461
21208
  elif len(args) == 0:
21462
- super().__init__(move=win32more.Microsoft.UI.Xaml.Controls.ItemsWrapGrid.CreateInstance(*args, None, None))
21209
+ super().__init__(move=win32more.Microsoft.UI.Xaml.Controls.ItemsWrapGrid.CreateInstance(*args))
21463
21210
  else:
21464
21211
  raise ValueError('no matched constructor')
21465
- @winrt_factorymethod
21466
- def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IItemsWrapGridFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.ItemsWrapGrid: ...
21212
+ @winrt_activatemethod
21213
+ def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Controls.ItemsWrapGrid: ...
21467
21214
  @winrt_mixinmethod
21468
21215
  def get_GroupPadding(self: win32more.Microsoft.UI.Xaml.Controls.IItemsWrapGrid) -> win32more.Microsoft.UI.Xaml.Thickness: ...
21469
21216
  @winrt_mixinmethod
@@ -21574,8 +21321,8 @@ class Layout(ComPtr):
21574
21321
  @winrt_mixinmethod
21575
21322
  def CreateDefaultItemTransitionProvider(self: win32more.Microsoft.UI.Xaml.Controls.ILayoutOverrides) -> win32more.Microsoft.UI.Xaml.Controls.ItemCollectionTransitionProvider: ...
21576
21323
  IndexBasedLayoutOrientation = property(get_IndexBasedLayoutOrientation, None)
21577
- MeasureInvalidated = event()
21578
- ArrangeInvalidated = event()
21324
+ ArrangeInvalidated = event(add_ArrangeInvalidated, remove_ArrangeInvalidated)
21325
+ MeasureInvalidated = event(add_MeasureInvalidated, remove_MeasureInvalidated)
21579
21326
  class LayoutContext(ComPtr):
21580
21327
  extends: win32more.Microsoft.UI.Xaml.DependencyObject
21581
21328
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ILayoutContext
@@ -21673,8 +21420,8 @@ class LinedFlowLayout(ComPtr, metaclass=_LinedFlowLayout_Meta_):
21673
21420
  _LinedFlowLayout_Meta_.LineHeightProperty = property(get_LineHeightProperty, None)
21674
21421
  _LinedFlowLayout_Meta_.LineSpacingProperty = property(get_LineSpacingProperty, None)
21675
21422
  _LinedFlowLayout_Meta_.MinItemSpacingProperty = property(get_MinItemSpacingProperty, None)
21676
- ItemsInfoRequested = event()
21677
- ItemsUnlocked = event()
21423
+ ItemsInfoRequested = event(add_ItemsInfoRequested, remove_ItemsInfoRequested)
21424
+ ItemsUnlocked = event(add_ItemsUnlocked, remove_ItemsUnlocked)
21678
21425
  class LinedFlowLayoutItemCollectionTransitionProvider(ComPtr):
21679
21426
  extends: win32more.Microsoft.UI.Xaml.Controls.ItemCollectionTransitionProvider
21680
21427
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ILinedFlowLayoutItemCollectionTransitionProvider
@@ -21801,9 +21548,9 @@ class ListPickerFlyout(ComPtr, metaclass=_ListPickerFlyout_Meta_):
21801
21548
  @winrt_mixinmethod
21802
21549
  def put_ItemTemplate(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
21803
21550
  @winrt_mixinmethod
21804
- def get_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout) -> WinRT_String: ...
21551
+ def get_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout) -> hstr: ...
21805
21552
  @winrt_mixinmethod
21806
- def put_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout, value: WinRT_String) -> Void: ...
21553
+ def put_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout, value: hstr) -> Void: ...
21807
21554
  @winrt_mixinmethod
21808
21555
  def get_SelectionMode(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout) -> win32more.Microsoft.UI.Xaml.Controls.ListPickerFlyoutSelectionMode: ...
21809
21556
  @winrt_mixinmethod
@@ -21821,9 +21568,9 @@ class ListPickerFlyout(ComPtr, metaclass=_ListPickerFlyout_Meta_):
21821
21568
  @winrt_mixinmethod
21822
21569
  def put_SelectedValue(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout, value: IInspectable) -> Void: ...
21823
21570
  @winrt_mixinmethod
21824
- def get_SelectedValuePath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout) -> WinRT_String: ...
21571
+ def get_SelectedValuePath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout) -> hstr: ...
21825
21572
  @winrt_mixinmethod
21826
- def put_SelectedValuePath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout, value: WinRT_String) -> Void: ...
21573
+ def put_SelectedValuePath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout, value: hstr) -> Void: ...
21827
21574
  @winrt_mixinmethod
21828
21575
  def get_SelectedItems(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout) -> win32more.Windows.Foundation.Collections.IVector[IInspectable]: ...
21829
21576
  @winrt_mixinmethod
@@ -21865,7 +21612,7 @@ class ListPickerFlyout(ComPtr, metaclass=_ListPickerFlyout_Meta_):
21865
21612
  _ListPickerFlyout_Meta_.SelectedValuePathProperty = property(get_SelectedValuePathProperty, None)
21866
21613
  _ListPickerFlyout_Meta_.SelectedValueProperty = property(get_SelectedValueProperty, None)
21867
21614
  _ListPickerFlyout_Meta_.SelectionModeProperty = property(get_SelectionModeProperty, None)
21868
- ItemsPicked = event()
21615
+ ItemsPicked = event(add_ItemsPicked, remove_ItemsPicked)
21869
21616
  class ListPickerFlyoutPresenter(ComPtr):
21870
21617
  extends: win32more.Microsoft.UI.Xaml.Controls.Control
21871
21618
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyoutPresenter
@@ -21994,9 +21741,9 @@ class ListViewBase(ComPtr, metaclass=_ListViewBase_Meta_):
21994
21741
  @winrt_mixinmethod
21995
21742
  def IsDragSource(self: win32more.Microsoft.UI.Xaml.Controls.IListViewBase) -> Boolean: ...
21996
21743
  @winrt_mixinmethod
21997
- def TryStartConnectedAnimationAsync(self: win32more.Microsoft.UI.Xaml.Controls.IListViewBase, animation: win32more.Microsoft.UI.Xaml.Media.Animation.ConnectedAnimation, item: IInspectable, elementName: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperation[Boolean]: ...
21744
+ def TryStartConnectedAnimationAsync(self: win32more.Microsoft.UI.Xaml.Controls.IListViewBase, animation: win32more.Microsoft.UI.Xaml.Media.Animation.ConnectedAnimation, item: IInspectable, elementName: hstr) -> win32more.Windows.Foundation.IAsyncOperation[Boolean]: ...
21998
21745
  @winrt_mixinmethod
21999
- def PrepareConnectedAnimation(self: win32more.Microsoft.UI.Xaml.Controls.IListViewBase, key: WinRT_String, item: IInspectable, elementName: WinRT_String) -> win32more.Microsoft.UI.Xaml.Media.Animation.ConnectedAnimation: ...
21746
+ def PrepareConnectedAnimation(self: win32more.Microsoft.UI.Xaml.Controls.IListViewBase, key: hstr, item: IInspectable, elementName: hstr) -> win32more.Microsoft.UI.Xaml.Media.Animation.ConnectedAnimation: ...
22000
21747
  @winrt_mixinmethod
22001
21748
  def get_Header(self: win32more.Microsoft.UI.Xaml.Controls.IListViewBase) -> IInspectable: ...
22002
21749
  @winrt_mixinmethod
@@ -22133,12 +21880,12 @@ class ListViewBase(ComPtr, metaclass=_ListViewBase_Meta_):
22133
21880
  _ListViewBase_Meta_.SemanticZoomOwnerProperty = property(get_SemanticZoomOwnerProperty, None)
22134
21881
  _ListViewBase_Meta_.ShowsScrollingPlaceholdersProperty = property(get_ShowsScrollingPlaceholdersProperty, None)
22135
21882
  _ListViewBase_Meta_.SingleSelectionFollowsFocusProperty = property(get_SingleSelectionFollowsFocusProperty, None)
22136
- ItemClick = event()
22137
- DragItemsStarting = event()
22138
- DragItemsCompleted = event()
22139
- ContainerContentChanging = event()
22140
- ChoosingItemContainer = event()
22141
- ChoosingGroupHeaderContainer = event()
21883
+ ChoosingGroupHeaderContainer = event(add_ChoosingGroupHeaderContainer, remove_ChoosingGroupHeaderContainer)
21884
+ ChoosingItemContainer = event(add_ChoosingItemContainer, remove_ChoosingItemContainer)
21885
+ ContainerContentChanging = event(add_ContainerContentChanging, remove_ContainerContentChanging)
21886
+ DragItemsCompleted = event(add_DragItemsCompleted, remove_DragItemsCompleted)
21887
+ DragItemsStarting = event(add_DragItemsStarting, remove_DragItemsStarting)
21888
+ ItemClick = event(add_ItemClick, remove_ItemClick)
22142
21889
  class ListViewBaseHeaderItem(ComPtr):
22143
21890
  extends: win32more.Microsoft.UI.Xaml.Controls.ContentControl
22144
21891
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IListViewBaseHeaderItem
@@ -22176,20 +21923,20 @@ class ListViewItemToKeyHandler(MulticastDelegate):
22176
21923
  extends: IUnknown
22177
21924
  _iid_ = Guid('{2a47f009-91fc-54ce-9861-344e80f7e9d7}')
22178
21925
  @winrt_commethod(3)
22179
- def Invoke(self, item: IInspectable) -> WinRT_String: ...
21926
+ def Invoke(self, item: IInspectable) -> hstr: ...
22180
21927
  class ListViewKeyToItemHandler(MulticastDelegate):
22181
21928
  extends: IUnknown
22182
21929
  _iid_ = Guid('{46c8e78e-b948-5ef3-b845-b278b5918ba9}')
22183
21930
  @winrt_commethod(3)
22184
- def Invoke(self, key: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperation[IInspectable]: ...
21931
+ def Invoke(self, key: hstr) -> win32more.Windows.Foundation.IAsyncOperation[IInspectable]: ...
22185
21932
  class ListViewPersistenceHelper(ComPtr):
22186
21933
  extends: IInspectable
22187
21934
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IListViewPersistenceHelper
22188
21935
  _classid_ = 'Microsoft.UI.Xaml.Controls.ListViewPersistenceHelper'
22189
21936
  @winrt_classmethod
22190
- def GetRelativeScrollPosition(cls: win32more.Microsoft.UI.Xaml.Controls.IListViewPersistenceHelperStatics, listViewBase: win32more.Microsoft.UI.Xaml.Controls.ListViewBase, itemToKeyHandler: win32more.Microsoft.UI.Xaml.Controls.ListViewItemToKeyHandler) -> WinRT_String: ...
21937
+ def GetRelativeScrollPosition(cls: win32more.Microsoft.UI.Xaml.Controls.IListViewPersistenceHelperStatics, listViewBase: win32more.Microsoft.UI.Xaml.Controls.ListViewBase, itemToKeyHandler: win32more.Microsoft.UI.Xaml.Controls.ListViewItemToKeyHandler) -> hstr: ...
22191
21938
  @winrt_classmethod
22192
- def SetRelativeScrollPositionAsync(cls: win32more.Microsoft.UI.Xaml.Controls.IListViewPersistenceHelperStatics, listViewBase: win32more.Microsoft.UI.Xaml.Controls.ListViewBase, relativeScrollPosition: WinRT_String, keyToItemHandler: win32more.Microsoft.UI.Xaml.Controls.ListViewKeyToItemHandler) -> win32more.Windows.Foundation.IAsyncAction: ...
21939
+ def SetRelativeScrollPositionAsync(cls: win32more.Microsoft.UI.Xaml.Controls.IListViewPersistenceHelperStatics, listViewBase: win32more.Microsoft.UI.Xaml.Controls.ListViewBase, relativeScrollPosition: hstr, keyToItemHandler: win32more.Microsoft.UI.Xaml.Controls.ListViewKeyToItemHandler) -> win32more.Windows.Foundation.IAsyncAction: ...
22193
21940
  class ListViewReorderMode(Enum, Int32):
22194
21941
  Disabled = 0
22195
21942
  Enabled = 1
@@ -22214,9 +21961,9 @@ class MapControl(ComPtr, metaclass=_MapControl_Meta_):
22214
21961
  @winrt_factorymethod
22215
21962
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IMapControlFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.MapControl: ...
22216
21963
  @winrt_mixinmethod
22217
- def get_MapServiceToken(self: win32more.Microsoft.UI.Xaml.Controls.IMapControl) -> WinRT_String: ...
21964
+ def get_MapServiceToken(self: win32more.Microsoft.UI.Xaml.Controls.IMapControl) -> hstr: ...
22218
21965
  @winrt_mixinmethod
22219
- def put_MapServiceToken(self: win32more.Microsoft.UI.Xaml.Controls.IMapControl, value: WinRT_String) -> Void: ...
21966
+ def put_MapServiceToken(self: win32more.Microsoft.UI.Xaml.Controls.IMapControl, value: hstr) -> Void: ...
22220
21967
  @winrt_mixinmethod
22221
21968
  def get_Center(self: win32more.Microsoft.UI.Xaml.Controls.IMapControl) -> win32more.Windows.Devices.Geolocation.Geopoint: ...
22222
21969
  @winrt_mixinmethod
@@ -22261,14 +22008,14 @@ class MapControl(ComPtr, metaclass=_MapControl_Meta_):
22261
22008
  _MapControl_Meta_.LayersProperty = property(get_LayersProperty, None)
22262
22009
  _MapControl_Meta_.MapServiceTokenProperty = property(get_MapServiceTokenProperty, None)
22263
22010
  _MapControl_Meta_.ZoomLevelProperty = property(get_ZoomLevelProperty, None)
22264
- MapElementClick = event()
22265
- MapServiceErrorOccurred = event()
22011
+ MapElementClick = event(add_MapElementClick, remove_MapElementClick)
22012
+ MapServiceErrorOccurred = event(add_MapServiceErrorOccurred, remove_MapServiceErrorOccurred)
22266
22013
  class MapControlMapServiceErrorOccurredEventArgs(ComPtr):
22267
22014
  extends: IInspectable
22268
22015
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IMapControlMapServiceErrorOccurredEventArgs
22269
22016
  _classid_ = 'Microsoft.UI.Xaml.Controls.MapControlMapServiceErrorOccurredEventArgs'
22270
22017
  @winrt_mixinmethod
22271
- def get_DiagnosticMessage(self: win32more.Microsoft.UI.Xaml.Controls.IMapControlMapServiceErrorOccurredEventArgs) -> WinRT_String: ...
22018
+ def get_DiagnosticMessage(self: win32more.Microsoft.UI.Xaml.Controls.IMapControlMapServiceErrorOccurredEventArgs) -> hstr: ...
22272
22019
  DiagnosticMessage = property(get_DiagnosticMessage, None)
22273
22020
  class MapElement(ComPtr):
22274
22021
  extends: win32more.Microsoft.UI.Xaml.DependencyObject
@@ -22311,7 +22058,7 @@ class MapElementsLayer(ComPtr, metaclass=_MapElementsLayer_Meta_):
22311
22058
  def get_MapElementsProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IMapElementsLayerStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
22312
22059
  MapElements = property(get_MapElements, put_MapElements)
22313
22060
  _MapElementsLayer_Meta_.MapElementsProperty = property(get_MapElementsProperty, None)
22314
- MapElementClick = event()
22061
+ MapElementClick = event(add_MapElementClick, remove_MapElementClick)
22315
22062
  class _MapIcon_Meta_(ComPtr.__class__):
22316
22063
  pass
22317
22064
  class MapIcon(ComPtr, metaclass=_MapIcon_Meta_):
@@ -22677,7 +22424,7 @@ class MediaTransportControls(ComPtr, metaclass=_MediaTransportControls_Meta_):
22677
22424
  _MediaTransportControls_Meta_.IsZoomButtonVisibleProperty = property(get_IsZoomButtonVisibleProperty, None)
22678
22425
  _MediaTransportControls_Meta_.IsZoomEnabledProperty = property(get_IsZoomEnabledProperty, None)
22679
22426
  _MediaTransportControls_Meta_.ShowAndHideAutomaticallyProperty = property(get_ShowAndHideAutomaticallyProperty, None)
22680
- ThumbnailRequested = event()
22427
+ ThumbnailRequested = event(add_ThumbnailRequested, remove_ThumbnailRequested)
22681
22428
  class _MediaTransportControlsHelper_Meta_(ComPtr.__class__):
22682
22429
  pass
22683
22430
  class MediaTransportControlsHelper(ComPtr, metaclass=_MediaTransportControlsHelper_Meta_):
@@ -22728,9 +22475,9 @@ class MenuBarItem(ComPtr, metaclass=_MenuBarItem_Meta_):
22728
22475
  @winrt_factorymethod
22729
22476
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IMenuBarItemFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.MenuBarItem: ...
22730
22477
  @winrt_mixinmethod
22731
- def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.IMenuBarItem) -> WinRT_String: ...
22478
+ def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.IMenuBarItem) -> hstr: ...
22732
22479
  @winrt_mixinmethod
22733
- def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.IMenuBarItem, value: WinRT_String) -> Void: ...
22480
+ def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.IMenuBarItem, value: hstr) -> Void: ...
22734
22481
  @winrt_mixinmethod
22735
22482
  def get_Items(self: win32more.Microsoft.UI.Xaml.Controls.IMenuBarItem) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.UI.Xaml.Controls.MenuFlyoutItemBase]: ...
22736
22483
  @winrt_classmethod
@@ -22798,9 +22545,9 @@ class MenuFlyoutItem(ComPtr, metaclass=_MenuFlyoutItem_Meta_):
22798
22545
  @winrt_factorymethod
22799
22546
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItemFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.MenuFlyoutItem: ...
22800
22547
  @winrt_mixinmethod
22801
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem) -> WinRT_String: ...
22548
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem) -> hstr: ...
22802
22549
  @winrt_mixinmethod
22803
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem, value: WinRT_String) -> Void: ...
22550
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem, value: hstr) -> Void: ...
22804
22551
  @winrt_mixinmethod
22805
22552
  def get_Command(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem) -> win32more.Microsoft.UI.Xaml.Input.ICommand: ...
22806
22553
  @winrt_mixinmethod
@@ -22814,9 +22561,9 @@ class MenuFlyoutItem(ComPtr, metaclass=_MenuFlyoutItem_Meta_):
22814
22561
  @winrt_mixinmethod
22815
22562
  def put_Icon(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem, value: win32more.Microsoft.UI.Xaml.Controls.IconElement) -> Void: ...
22816
22563
  @winrt_mixinmethod
22817
- def get_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem) -> WinRT_String: ...
22564
+ def get_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem) -> hstr: ...
22818
22565
  @winrt_mixinmethod
22819
- def put_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem, value: WinRT_String) -> Void: ...
22566
+ def put_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem, value: hstr) -> Void: ...
22820
22567
  @winrt_mixinmethod
22821
22568
  def get_TemplateSettings(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.MenuFlyoutItemTemplateSettings: ...
22822
22569
  @winrt_mixinmethod
@@ -22844,7 +22591,7 @@ class MenuFlyoutItem(ComPtr, metaclass=_MenuFlyoutItem_Meta_):
22844
22591
  _MenuFlyoutItem_Meta_.IconProperty = property(get_IconProperty, None)
22845
22592
  _MenuFlyoutItem_Meta_.KeyboardAcceleratorTextOverrideProperty = property(get_KeyboardAcceleratorTextOverrideProperty, None)
22846
22593
  _MenuFlyoutItem_Meta_.TextProperty = property(get_TextProperty, None)
22847
- Click = event()
22594
+ Click = event(add_Click, remove_Click)
22848
22595
  class MenuFlyoutItemBase(ComPtr):
22849
22596
  extends: win32more.Microsoft.UI.Xaml.Controls.Control
22850
22597
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItemBase
@@ -22914,9 +22661,9 @@ class MenuFlyoutSubItem(ComPtr, metaclass=_MenuFlyoutSubItem_Meta_):
22914
22661
  @winrt_mixinmethod
22915
22662
  def get_Items(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutSubItem) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.UI.Xaml.Controls.MenuFlyoutItemBase]: ...
22916
22663
  @winrt_mixinmethod
22917
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutSubItem) -> WinRT_String: ...
22664
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutSubItem) -> hstr: ...
22918
22665
  @winrt_mixinmethod
22919
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutSubItem, value: WinRT_String) -> Void: ...
22666
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutSubItem, value: hstr) -> Void: ...
22920
22667
  @winrt_mixinmethod
22921
22668
  def get_Icon(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutSubItem) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
22922
22669
  @winrt_mixinmethod
@@ -23062,9 +22809,9 @@ class NavigationView(ComPtr, metaclass=_NavigationView_Meta_):
23062
22809
  @winrt_mixinmethod
23063
22810
  def put_IsBackEnabled(self: win32more.Microsoft.UI.Xaml.Controls.INavigationView2, value: Boolean) -> Void: ...
23064
22811
  @winrt_mixinmethod
23065
- def get_PaneTitle(self: win32more.Microsoft.UI.Xaml.Controls.INavigationView2) -> WinRT_String: ...
22812
+ def get_PaneTitle(self: win32more.Microsoft.UI.Xaml.Controls.INavigationView2) -> hstr: ...
23066
22813
  @winrt_mixinmethod
23067
- def put_PaneTitle(self: win32more.Microsoft.UI.Xaml.Controls.INavigationView2, value: WinRT_String) -> Void: ...
22814
+ def put_PaneTitle(self: win32more.Microsoft.UI.Xaml.Controls.INavigationView2, value: hstr) -> Void: ...
23068
22815
  @winrt_mixinmethod
23069
22816
  def add_BackRequested(self: win32more.Microsoft.UI.Xaml.Controls.INavigationView2, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.NavigationView, win32more.Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
23070
22817
  @winrt_mixinmethod
@@ -23279,16 +23026,16 @@ class NavigationView(ComPtr, metaclass=_NavigationView_Meta_):
23279
23026
  _NavigationView_Meta_.SettingsItemProperty = property(get_SettingsItemProperty, None)
23280
23027
  _NavigationView_Meta_.ShoulderNavigationEnabledProperty = property(get_ShoulderNavigationEnabledProperty, None)
23281
23028
  _NavigationView_Meta_.TemplateSettingsProperty = property(get_TemplateSettingsProperty, None)
23282
- SelectionChanged = event()
23283
- ItemInvoked = event()
23284
- DisplayModeChanged = event()
23285
- BackRequested = event()
23286
- PaneClosed = event()
23287
- PaneClosing = event()
23288
- PaneOpened = event()
23289
- PaneOpening = event()
23290
- Expanding = event()
23291
- Collapsed = event()
23029
+ BackRequested = event(add_BackRequested, remove_BackRequested)
23030
+ Collapsed = event(add_Collapsed, remove_Collapsed)
23031
+ DisplayModeChanged = event(add_DisplayModeChanged, remove_DisplayModeChanged)
23032
+ Expanding = event(add_Expanding, remove_Expanding)
23033
+ ItemInvoked = event(add_ItemInvoked, remove_ItemInvoked)
23034
+ PaneClosed = event(add_PaneClosed, remove_PaneClosed)
23035
+ PaneClosing = event(add_PaneClosing, remove_PaneClosing)
23036
+ PaneOpened = event(add_PaneOpened, remove_PaneOpened)
23037
+ PaneOpening = event(add_PaneOpening, remove_PaneOpening)
23038
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
23292
23039
  class NavigationViewBackButtonVisible(Enum, Int32):
23293
23040
  Collapsed = 0
23294
23041
  Visible = 1
@@ -23668,9 +23415,9 @@ class NumberBox(ComPtr, metaclass=_NumberBox_Meta_):
23668
23415
  @winrt_mixinmethod
23669
23416
  def put_LargeChange(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox, value: Double) -> Void: ...
23670
23417
  @winrt_mixinmethod
23671
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox) -> WinRT_String: ...
23418
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox) -> hstr: ...
23672
23419
  @winrt_mixinmethod
23673
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox, value: WinRT_String) -> Void: ...
23420
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox, value: hstr) -> Void: ...
23674
23421
  @winrt_mixinmethod
23675
23422
  def get_Header(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox) -> IInspectable: ...
23676
23423
  @winrt_mixinmethod
@@ -23680,9 +23427,9 @@ class NumberBox(ComPtr, metaclass=_NumberBox_Meta_):
23680
23427
  @winrt_mixinmethod
23681
23428
  def put_HeaderTemplate(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
23682
23429
  @winrt_mixinmethod
23683
- def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox) -> WinRT_String: ...
23430
+ def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox) -> hstr: ...
23684
23431
  @winrt_mixinmethod
23685
- def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox, value: WinRT_String) -> Void: ...
23432
+ def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox, value: hstr) -> Void: ...
23686
23433
  @winrt_mixinmethod
23687
23434
  def get_SelectionFlyout(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.FlyoutBase: ...
23688
23435
  @winrt_mixinmethod
@@ -23803,7 +23550,7 @@ class NumberBox(ComPtr, metaclass=_NumberBox_Meta_):
23803
23550
  _NumberBox_Meta_.TextReadingOrderProperty = property(get_TextReadingOrderProperty, None)
23804
23551
  _NumberBox_Meta_.ValidationModeProperty = property(get_ValidationModeProperty, None)
23805
23552
  _NumberBox_Meta_.ValueProperty = property(get_ValueProperty, None)
23806
- ValueChanged = event()
23553
+ ValueChanged = event(add_ValueChanged, remove_ValueChanged)
23807
23554
  class NumberBoxSpinButtonPlacementMode(Enum, Int32):
23808
23555
  Hidden = 0
23809
23556
  Compact = 1
@@ -24071,13 +23818,13 @@ class PasswordBox(ComPtr, metaclass=_PasswordBox_Meta_):
24071
23818
  @winrt_activatemethod
24072
23819
  def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Controls.PasswordBox: ...
24073
23820
  @winrt_mixinmethod
24074
- def get_Password(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> WinRT_String: ...
23821
+ def get_Password(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> hstr: ...
24075
23822
  @winrt_mixinmethod
24076
- def put_Password(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox, value: WinRT_String) -> Void: ...
23823
+ def put_Password(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox, value: hstr) -> Void: ...
24077
23824
  @winrt_mixinmethod
24078
- def get_PasswordChar(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> WinRT_String: ...
23825
+ def get_PasswordChar(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> hstr: ...
24079
23826
  @winrt_mixinmethod
24080
- def put_PasswordChar(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox, value: WinRT_String) -> Void: ...
23827
+ def put_PasswordChar(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox, value: hstr) -> Void: ...
24081
23828
  @winrt_mixinmethod
24082
23829
  def get_IsPasswordRevealButtonEnabled(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> Boolean: ...
24083
23830
  @winrt_mixinmethod
@@ -24095,9 +23842,9 @@ class PasswordBox(ComPtr, metaclass=_PasswordBox_Meta_):
24095
23842
  @winrt_mixinmethod
24096
23843
  def put_HeaderTemplate(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
24097
23844
  @winrt_mixinmethod
24098
- def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> WinRT_String: ...
23845
+ def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> hstr: ...
24099
23846
  @winrt_mixinmethod
24100
- def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox, value: WinRT_String) -> Void: ...
23847
+ def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox, value: hstr) -> Void: ...
24101
23848
  @winrt_mixinmethod
24102
23849
  def get_SelectionHighlightColor(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> win32more.Microsoft.UI.Xaml.Media.SolidColorBrush: ...
24103
23850
  @winrt_mixinmethod
@@ -24208,10 +23955,10 @@ class PasswordBox(ComPtr, metaclass=_PasswordBox_Meta_):
24208
23955
  _PasswordBox_Meta_.SelectionFlyoutProperty = property(get_SelectionFlyoutProperty, None)
24209
23956
  _PasswordBox_Meta_.SelectionHighlightColorProperty = property(get_SelectionHighlightColorProperty, None)
24210
23957
  _PasswordBox_Meta_.TextReadingOrderProperty = property(get_TextReadingOrderProperty, None)
24211
- PasswordChanged = event()
24212
- ContextMenuOpening = event()
24213
- Paste = event()
24214
- PasswordChanging = event()
23958
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
23959
+ PasswordChanged = event(add_PasswordChanged, remove_PasswordChanged)
23960
+ PasswordChanging = event(add_PasswordChanging, remove_PasswordChanging)
23961
+ Paste = event(add_Paste, remove_Paste)
24215
23962
  class PasswordBoxPasswordChangingEventArgs(ComPtr):
24216
23963
  extends: IInspectable
24217
23964
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IPasswordBoxPasswordChangingEventArgs
@@ -24289,17 +24036,17 @@ class PersonPicture(ComPtr, metaclass=_PersonPicture_Meta_):
24289
24036
  @winrt_mixinmethod
24290
24037
  def put_BadgeNumber(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: Int32) -> Void: ...
24291
24038
  @winrt_mixinmethod
24292
- def get_BadgeGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> WinRT_String: ...
24039
+ def get_BadgeGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> hstr: ...
24293
24040
  @winrt_mixinmethod
24294
- def put_BadgeGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: WinRT_String) -> Void: ...
24041
+ def put_BadgeGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: hstr) -> Void: ...
24295
24042
  @winrt_mixinmethod
24296
24043
  def get_BadgeImageSource(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> win32more.Microsoft.UI.Xaml.Media.ImageSource: ...
24297
24044
  @winrt_mixinmethod
24298
24045
  def put_BadgeImageSource(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: win32more.Microsoft.UI.Xaml.Media.ImageSource) -> Void: ...
24299
24046
  @winrt_mixinmethod
24300
- def get_BadgeText(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> WinRT_String: ...
24047
+ def get_BadgeText(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> hstr: ...
24301
24048
  @winrt_mixinmethod
24302
- def put_BadgeText(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: WinRT_String) -> Void: ...
24049
+ def put_BadgeText(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: hstr) -> Void: ...
24303
24050
  @winrt_mixinmethod
24304
24051
  def get_IsGroup(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> Boolean: ...
24305
24052
  @winrt_mixinmethod
@@ -24309,13 +24056,13 @@ class PersonPicture(ComPtr, metaclass=_PersonPicture_Meta_):
24309
24056
  @winrt_mixinmethod
24310
24057
  def put_Contact(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: win32more.Windows.ApplicationModel.Contacts.Contact) -> Void: ...
24311
24058
  @winrt_mixinmethod
24312
- def get_DisplayName(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> WinRT_String: ...
24059
+ def get_DisplayName(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> hstr: ...
24313
24060
  @winrt_mixinmethod
24314
- def put_DisplayName(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: WinRT_String) -> Void: ...
24061
+ def put_DisplayName(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: hstr) -> Void: ...
24315
24062
  @winrt_mixinmethod
24316
- def get_Initials(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> WinRT_String: ...
24063
+ def get_Initials(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> hstr: ...
24317
24064
  @winrt_mixinmethod
24318
- def put_Initials(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: WinRT_String) -> Void: ...
24065
+ def put_Initials(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: hstr) -> Void: ...
24319
24066
  @winrt_mixinmethod
24320
24067
  def get_PreferSmallImage(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> Boolean: ...
24321
24068
  @winrt_mixinmethod
@@ -24372,7 +24119,7 @@ class PersonPictureTemplateSettings(ComPtr):
24372
24119
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IPersonPictureTemplateSettings
24373
24120
  _classid_ = 'Microsoft.UI.Xaml.Controls.PersonPictureTemplateSettings'
24374
24121
  @winrt_mixinmethod
24375
- def get_ActualInitials(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPictureTemplateSettings) -> WinRT_String: ...
24122
+ def get_ActualInitials(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPictureTemplateSettings) -> hstr: ...
24376
24123
  @winrt_mixinmethod
24377
24124
  def get_ActualImageBrush(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPictureTemplateSettings) -> win32more.Microsoft.UI.Xaml.Media.ImageBrush: ...
24378
24125
  ActualImageBrush = property(get_ActualImageBrush, None)
@@ -24427,7 +24174,7 @@ class PickerFlyout(ComPtr, metaclass=_PickerFlyout_Meta_):
24427
24174
  Content = property(get_Content, put_Content)
24428
24175
  _PickerFlyout_Meta_.ConfirmationButtonsVisibleProperty = property(get_ConfirmationButtonsVisibleProperty, None)
24429
24176
  _PickerFlyout_Meta_.ContentProperty = property(get_ContentProperty, None)
24430
- Confirmed = event()
24177
+ Confirmed = event(add_Confirmed, remove_Confirmed)
24431
24178
  class PickerFlyoutPresenter(ComPtr):
24432
24179
  extends: win32more.Microsoft.UI.Xaml.Controls.ContentControl
24433
24180
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IPickerFlyoutPresenter
@@ -24493,12 +24240,6 @@ class PipsPager(ComPtr, metaclass=_PipsPager_Meta_):
24493
24240
  def remove_SelectedIndexChanged(self: win32more.Microsoft.UI.Xaml.Controls.IPipsPager, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
24494
24241
  @winrt_mixinmethod
24495
24242
  def get_TemplateSettings(self: win32more.Microsoft.UI.Xaml.Controls.IPipsPager) -> win32more.Microsoft.UI.Xaml.Controls.PipsPagerTemplateSettings: ...
24496
- @winrt_mixinmethod
24497
- def get_WrapMode(self: win32more.Microsoft.UI.Xaml.Controls.IPipsPager2) -> win32more.Microsoft.UI.Xaml.Controls.PipsPagerWrapMode: ...
24498
- @winrt_mixinmethod
24499
- def put_WrapMode(self: win32more.Microsoft.UI.Xaml.Controls.IPipsPager2, value: win32more.Microsoft.UI.Xaml.Controls.PipsPagerWrapMode) -> Void: ...
24500
- @winrt_classmethod
24501
- def get_WrapModeProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IPipsPagerStatics2) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
24502
24243
  @winrt_classmethod
24503
24244
  def get_NumberOfPagesProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IPipsPagerStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
24504
24245
  @winrt_classmethod
@@ -24530,7 +24271,6 @@ class PipsPager(ComPtr, metaclass=_PipsPager_Meta_):
24530
24271
  SelectedPageIndex = property(get_SelectedPageIndex, put_SelectedPageIndex)
24531
24272
  SelectedPipStyle = property(get_SelectedPipStyle, put_SelectedPipStyle)
24532
24273
  TemplateSettings = property(get_TemplateSettings, None)
24533
- WrapMode = property(get_WrapMode, put_WrapMode)
24534
24274
  _PipsPager_Meta_.MaxVisiblePipsProperty = property(get_MaxVisiblePipsProperty, None)
24535
24275
  _PipsPager_Meta_.NextButtonStyleProperty = property(get_NextButtonStyleProperty, None)
24536
24276
  _PipsPager_Meta_.NextButtonVisibilityProperty = property(get_NextButtonVisibilityProperty, None)
@@ -24541,8 +24281,7 @@ class PipsPager(ComPtr, metaclass=_PipsPager_Meta_):
24541
24281
  _PipsPager_Meta_.PreviousButtonVisibilityProperty = property(get_PreviousButtonVisibilityProperty, None)
24542
24282
  _PipsPager_Meta_.SelectedPageIndexProperty = property(get_SelectedPageIndexProperty, None)
24543
24283
  _PipsPager_Meta_.SelectedPipStyleProperty = property(get_SelectedPipStyleProperty, None)
24544
- _PipsPager_Meta_.WrapModeProperty = property(get_WrapModeProperty, None)
24545
- SelectedIndexChanged = event()
24284
+ SelectedIndexChanged = event(add_SelectedIndexChanged, remove_SelectedIndexChanged)
24546
24285
  class PipsPagerButtonVisibility(Enum, Int32):
24547
24286
  Visible = 0
24548
24287
  VisibleOnPointerOver = 1
@@ -24558,9 +24297,6 @@ class PipsPagerTemplateSettings(ComPtr):
24558
24297
  @winrt_mixinmethod
24559
24298
  def get_PipsPagerItems(self: win32more.Microsoft.UI.Xaml.Controls.IPipsPagerTemplateSettings) -> win32more.Windows.Foundation.Collections.IVector[Int32]: ...
24560
24299
  PipsPagerItems = property(get_PipsPagerItems, None)
24561
- class PipsPagerWrapMode(Enum, Int32):
24562
- None_ = 0
24563
- Wrap = 1
24564
24300
  class _Pivot_Meta_(ComPtr.__class__):
24565
24301
  pass
24566
24302
  class Pivot(ComPtr, metaclass=_Pivot_Meta_):
@@ -24699,11 +24435,11 @@ class Pivot(ComPtr, metaclass=_Pivot_Meta_):
24699
24435
  _Pivot_Meta_.SlideInAnimationGroupProperty = property(get_SlideInAnimationGroupProperty, None)
24700
24436
  _Pivot_Meta_.TitleProperty = property(get_TitleProperty, None)
24701
24437
  _Pivot_Meta_.TitleTemplateProperty = property(get_TitleTemplateProperty, None)
24702
- SelectionChanged = event()
24703
- PivotItemLoading = event()
24704
- PivotItemLoaded = event()
24705
- PivotItemUnloading = event()
24706
- PivotItemUnloaded = event()
24438
+ PivotItemLoaded = event(add_PivotItemLoaded, remove_PivotItemLoaded)
24439
+ PivotItemLoading = event(add_PivotItemLoading, remove_PivotItemLoading)
24440
+ PivotItemUnloaded = event(add_PivotItemUnloaded, remove_PivotItemUnloaded)
24441
+ PivotItemUnloading = event(add_PivotItemUnloading, remove_PivotItemUnloading)
24442
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
24707
24443
  class PivotHeaderFocusVisualPlacement(Enum, Int32):
24708
24444
  ItemHeaders = 0
24709
24445
  SelectedItemHeader = 1
@@ -24922,9 +24658,9 @@ class RadioButton(ComPtr, metaclass=_RadioButton_Meta_):
24922
24658
  @winrt_factorymethod
24923
24659
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IRadioButtonFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.RadioButton: ...
24924
24660
  @winrt_mixinmethod
24925
- def get_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioButton) -> WinRT_String: ...
24661
+ def get_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioButton) -> hstr: ...
24926
24662
  @winrt_mixinmethod
24927
- def put_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioButton, value: WinRT_String) -> Void: ...
24663
+ def put_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioButton, value: hstr) -> Void: ...
24928
24664
  @winrt_classmethod
24929
24665
  def get_GroupNameProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IRadioButtonStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
24930
24666
  GroupName = property(get_GroupName, put_GroupName)
@@ -25012,7 +24748,7 @@ class RadioButtons(ComPtr, metaclass=_RadioButtons_Meta_):
25012
24748
  _RadioButtons_Meta_.MaxColumnsProperty = property(get_MaxColumnsProperty, None)
25013
24749
  _RadioButtons_Meta_.SelectedIndexProperty = property(get_SelectedIndexProperty, None)
25014
24750
  _RadioButtons_Meta_.SelectedItemProperty = property(get_SelectedItemProperty, None)
25015
- SelectionChanged = event()
24751
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
25016
24752
  class _RadioMenuFlyoutItem_Meta_(ComPtr.__class__):
25017
24753
  pass
25018
24754
  class RadioMenuFlyoutItem(ComPtr, metaclass=_RadioMenuFlyoutItem_Meta_):
@@ -25033,9 +24769,9 @@ class RadioMenuFlyoutItem(ComPtr, metaclass=_RadioMenuFlyoutItem_Meta_):
25033
24769
  @winrt_mixinmethod
25034
24770
  def put_IsChecked(self: win32more.Microsoft.UI.Xaml.Controls.IRadioMenuFlyoutItem, value: Boolean) -> Void: ...
25035
24771
  @winrt_mixinmethod
25036
- def get_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioMenuFlyoutItem) -> WinRT_String: ...
24772
+ def get_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioMenuFlyoutItem) -> hstr: ...
25037
24773
  @winrt_mixinmethod
25038
- def put_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioMenuFlyoutItem, value: WinRT_String) -> Void: ...
24774
+ def put_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioMenuFlyoutItem, value: hstr) -> Void: ...
25039
24775
  @winrt_classmethod
25040
24776
  def get_AreCheckStatesEnabledProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IRadioMenuFlyoutItemStatics2) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
25041
24777
  @winrt_classmethod
@@ -25067,9 +24803,9 @@ class RatingControl(ComPtr, metaclass=_RatingControl_Meta_):
25067
24803
  @winrt_factorymethod
25068
24804
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IRatingControlFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.RatingControl: ...
25069
24805
  @winrt_mixinmethod
25070
- def get_Caption(self: win32more.Microsoft.UI.Xaml.Controls.IRatingControl) -> WinRT_String: ...
24806
+ def get_Caption(self: win32more.Microsoft.UI.Xaml.Controls.IRatingControl) -> hstr: ...
25071
24807
  @winrt_mixinmethod
25072
- def put_Caption(self: win32more.Microsoft.UI.Xaml.Controls.IRatingControl, value: WinRT_String) -> Void: ...
24808
+ def put_Caption(self: win32more.Microsoft.UI.Xaml.Controls.IRatingControl, value: hstr) -> Void: ...
25073
24809
  @winrt_mixinmethod
25074
24810
  def get_InitialSetValue(self: win32more.Microsoft.UI.Xaml.Controls.IRatingControl) -> Int32: ...
25075
24811
  @winrt_mixinmethod
@@ -25134,7 +24870,7 @@ class RatingControl(ComPtr, metaclass=_RatingControl_Meta_):
25134
24870
  _RatingControl_Meta_.MaxRatingProperty = property(get_MaxRatingProperty, None)
25135
24871
  _RatingControl_Meta_.PlaceholderValueProperty = property(get_PlaceholderValueProperty, None)
25136
24872
  _RatingControl_Meta_.ValueProperty = property(get_ValueProperty, None)
25137
- ValueChanged = event()
24873
+ ValueChanged = event(add_ValueChanged, remove_ValueChanged)
25138
24874
  class _RatingItemFontInfo_Meta_(ComPtr.__class__):
25139
24875
  pass
25140
24876
  class RatingItemFontInfo(ComPtr, metaclass=_RatingItemFontInfo_Meta_):
@@ -25151,29 +24887,29 @@ class RatingItemFontInfo(ComPtr, metaclass=_RatingItemFontInfo_Meta_):
25151
24887
  @winrt_factorymethod
25152
24888
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfoFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.RatingItemFontInfo: ...
25153
24889
  @winrt_mixinmethod
25154
- def get_DisabledGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> WinRT_String: ...
24890
+ def get_DisabledGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> hstr: ...
25155
24891
  @winrt_mixinmethod
25156
- def put_DisabledGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: WinRT_String) -> Void: ...
24892
+ def put_DisabledGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: hstr) -> Void: ...
25157
24893
  @winrt_mixinmethod
25158
- def get_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> WinRT_String: ...
24894
+ def get_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> hstr: ...
25159
24895
  @winrt_mixinmethod
25160
- def put_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: WinRT_String) -> Void: ...
24896
+ def put_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: hstr) -> Void: ...
25161
24897
  @winrt_mixinmethod
25162
- def get_PointerOverGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> WinRT_String: ...
24898
+ def get_PointerOverGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> hstr: ...
25163
24899
  @winrt_mixinmethod
25164
- def put_PointerOverGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: WinRT_String) -> Void: ...
24900
+ def put_PointerOverGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: hstr) -> Void: ...
25165
24901
  @winrt_mixinmethod
25166
- def get_PointerOverPlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> WinRT_String: ...
24902
+ def get_PointerOverPlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> hstr: ...
25167
24903
  @winrt_mixinmethod
25168
- def put_PointerOverPlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: WinRT_String) -> Void: ...
24904
+ def put_PointerOverPlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: hstr) -> Void: ...
25169
24905
  @winrt_mixinmethod
25170
- def get_PlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> WinRT_String: ...
24906
+ def get_PlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> hstr: ...
25171
24907
  @winrt_mixinmethod
25172
- def put_PlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: WinRT_String) -> Void: ...
24908
+ def put_PlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: hstr) -> Void: ...
25173
24909
  @winrt_mixinmethod
25174
- def get_UnsetGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> WinRT_String: ...
24910
+ def get_UnsetGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> hstr: ...
25175
24911
  @winrt_mixinmethod
25176
- def put_UnsetGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: WinRT_String) -> Void: ...
24912
+ def put_UnsetGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: hstr) -> Void: ...
25177
24913
  @winrt_classmethod
25178
24914
  def get_DisabledGlyphProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfoStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
25179
24915
  @winrt_classmethod
@@ -25311,7 +25047,7 @@ class RefreshContainer(ComPtr, metaclass=_RefreshContainer_Meta_):
25311
25047
  Visualizer = property(get_Visualizer, put_Visualizer)
25312
25048
  _RefreshContainer_Meta_.PullDirectionProperty = property(get_PullDirectionProperty, None)
25313
25049
  _RefreshContainer_Meta_.VisualizerProperty = property(get_VisualizerProperty, None)
25314
- RefreshRequested = event()
25050
+ RefreshRequested = event(add_RefreshRequested, remove_RefreshRequested)
25315
25051
  class RefreshInteractionRatioChangedEventArgs(ComPtr):
25316
25052
  extends: IInspectable
25317
25053
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IRefreshInteractionRatioChangedEventArgs
@@ -25390,8 +25126,8 @@ class RefreshVisualizer(ComPtr, metaclass=_RefreshVisualizer_Meta_):
25390
25126
  _RefreshVisualizer_Meta_.InfoProviderProperty = property(get_InfoProviderProperty, None)
25391
25127
  _RefreshVisualizer_Meta_.OrientationProperty = property(get_OrientationProperty, None)
25392
25128
  _RefreshVisualizer_Meta_.StateProperty = property(get_StateProperty, None)
25393
- RefreshRequested = event()
25394
- RefreshStateChanged = event()
25129
+ RefreshRequested = event(add_RefreshRequested, remove_RefreshRequested)
25130
+ RefreshStateChanged = event(add_RefreshStateChanged, remove_RefreshStateChanged)
25395
25131
  class RefreshVisualizerOrientation(Enum, Int32):
25396
25132
  Auto = 0
25397
25133
  Normal = 1
@@ -25641,9 +25377,9 @@ class RichEditBox(ComPtr, metaclass=_RichEditBox_Meta_):
25641
25377
  @winrt_mixinmethod
25642
25378
  def put_HeaderTemplate(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
25643
25379
  @winrt_mixinmethod
25644
- def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox) -> WinRT_String: ...
25380
+ def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox) -> hstr: ...
25645
25381
  @winrt_mixinmethod
25646
- def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox, value: WinRT_String) -> Void: ...
25382
+ def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox, value: hstr) -> Void: ...
25647
25383
  @winrt_mixinmethod
25648
25384
  def get_SelectionHighlightColor(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox) -> win32more.Microsoft.UI.Xaml.Media.SolidColorBrush: ...
25649
25385
  @winrt_mixinmethod
@@ -25729,7 +25465,7 @@ class RichEditBox(ComPtr, metaclass=_RichEditBox_Meta_):
25729
25465
  @winrt_mixinmethod
25730
25466
  def remove_SelectionChanging(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
25731
25467
  @winrt_mixinmethod
25732
- def GetLinguisticAlternativesAsync(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[WinRT_String]]: ...
25468
+ def GetLinguisticAlternativesAsync(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[hstr]]: ...
25733
25469
  @winrt_mixinmethod
25734
25470
  def get_TextReadingOrder(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox) -> win32more.Microsoft.UI.Xaml.TextReadingOrder: ...
25735
25471
  @winrt_mixinmethod
@@ -25848,18 +25584,18 @@ class RichEditBox(ComPtr, metaclass=_RichEditBox_Meta_):
25848
25584
  _RichEditBox_Meta_.TextAlignmentProperty = property(get_TextAlignmentProperty, None)
25849
25585
  _RichEditBox_Meta_.TextReadingOrderProperty = property(get_TextReadingOrderProperty, None)
25850
25586
  _RichEditBox_Meta_.TextWrappingProperty = property(get_TextWrappingProperty, None)
25851
- TextChanged = event()
25852
- SelectionChanged = event()
25853
- ContextMenuOpening = event()
25854
- Paste = event()
25855
- TextCompositionStarted = event()
25856
- TextCompositionChanged = event()
25857
- TextCompositionEnded = event()
25858
- CopyingToClipboard = event()
25859
- CuttingToClipboard = event()
25860
- SelectionChanging = event()
25861
- CandidateWindowBoundsChanged = event()
25862
- TextChanging = event()
25587
+ CandidateWindowBoundsChanged = event(add_CandidateWindowBoundsChanged, remove_CandidateWindowBoundsChanged)
25588
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
25589
+ CopyingToClipboard = event(add_CopyingToClipboard, remove_CopyingToClipboard)
25590
+ CuttingToClipboard = event(add_CuttingToClipboard, remove_CuttingToClipboard)
25591
+ Paste = event(add_Paste, remove_Paste)
25592
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
25593
+ SelectionChanging = event(add_SelectionChanging, remove_SelectionChanging)
25594
+ TextChanged = event(add_TextChanged, remove_TextChanged)
25595
+ TextChanging = event(add_TextChanging, remove_TextChanging)
25596
+ TextCompositionChanged = event(add_TextCompositionChanged, remove_TextCompositionChanged)
25597
+ TextCompositionEnded = event(add_TextCompositionEnded, remove_TextCompositionEnded)
25598
+ TextCompositionStarted = event(add_TextCompositionStarted, remove_TextCompositionStarted)
25863
25599
  class RichEditBoxSelectionChangingEventArgs(ComPtr):
25864
25600
  extends: IInspectable
25865
25601
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IRichEditBoxSelectionChangingEventArgs
@@ -25965,7 +25701,7 @@ class RichTextBlock(ComPtr, metaclass=_RichTextBlock_Meta_):
25965
25701
  @winrt_mixinmethod
25966
25702
  def get_HasOverflowContent(self: win32more.Microsoft.UI.Xaml.Controls.IRichTextBlock) -> Boolean: ...
25967
25703
  @winrt_mixinmethod
25968
- def get_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.IRichTextBlock) -> WinRT_String: ...
25704
+ def get_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.IRichTextBlock) -> hstr: ...
25969
25705
  @winrt_mixinmethod
25970
25706
  def get_ContentStart(self: win32more.Microsoft.UI.Xaml.Controls.IRichTextBlock) -> win32more.Microsoft.UI.Xaml.Documents.TextPointer: ...
25971
25707
  @winrt_mixinmethod
@@ -26167,9 +25903,9 @@ class RichTextBlock(ComPtr, metaclass=_RichTextBlock_Meta_):
26167
25903
  _RichTextBlock_Meta_.TextReadingOrderProperty = property(get_TextReadingOrderProperty, None)
26168
25904
  _RichTextBlock_Meta_.TextTrimmingProperty = property(get_TextTrimmingProperty, None)
26169
25905
  _RichTextBlock_Meta_.TextWrappingProperty = property(get_TextWrappingProperty, None)
26170
- SelectionChanged = event()
26171
- ContextMenuOpening = event()
26172
- IsTextTrimmedChanged = event()
25906
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
25907
+ IsTextTrimmedChanged = event(add_IsTextTrimmedChanged, remove_IsTextTrimmedChanged)
25908
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
26173
25909
  class _RichTextBlockOverflow_Meta_(ComPtr.__class__):
26174
25910
  pass
26175
25911
  class RichTextBlockOverflow(ComPtr, metaclass=_RichTextBlockOverflow_Meta_):
@@ -26239,7 +25975,7 @@ class RichTextBlockOverflow(ComPtr, metaclass=_RichTextBlockOverflow_Meta_):
26239
25975
  _RichTextBlockOverflow_Meta_.MaxLinesProperty = property(get_MaxLinesProperty, None)
26240
25976
  _RichTextBlockOverflow_Meta_.OverflowContentTargetProperty = property(get_OverflowContentTargetProperty, None)
26241
25977
  _RichTextBlockOverflow_Meta_.PaddingProperty = property(get_PaddingProperty, None)
26242
- IsTextTrimmedChanged = event()
25978
+ IsTextTrimmedChanged = event(add_IsTextTrimmedChanged, remove_IsTextTrimmedChanged)
26243
25979
  class _RowDefinition_Meta_(ComPtr.__class__):
26244
25980
  pass
26245
25981
  class RowDefinition(ComPtr, metaclass=_RowDefinition_Meta_):
@@ -26697,15 +26433,15 @@ class ScrollView(ComPtr, metaclass=_ScrollView_Meta_):
26697
26433
  _ScrollView_Meta_.VerticalScrollRailModeProperty = property(get_VerticalScrollRailModeProperty, None)
26698
26434
  _ScrollView_Meta_.ZoomChainModeProperty = property(get_ZoomChainModeProperty, None)
26699
26435
  _ScrollView_Meta_.ZoomModeProperty = property(get_ZoomModeProperty, None)
26700
- ExtentChanged = event()
26701
- StateChanged = event()
26702
- ViewChanged = event()
26703
- ScrollAnimationStarting = event()
26704
- ZoomAnimationStarting = event()
26705
- ScrollCompleted = event()
26706
- ZoomCompleted = event()
26707
- BringingIntoView = event()
26708
- AnchorRequested = event()
26436
+ AnchorRequested = event(add_AnchorRequested, remove_AnchorRequested)
26437
+ BringingIntoView = event(add_BringingIntoView, remove_BringingIntoView)
26438
+ ExtentChanged = event(add_ExtentChanged, remove_ExtentChanged)
26439
+ ScrollAnimationStarting = event(add_ScrollAnimationStarting, remove_ScrollAnimationStarting)
26440
+ ScrollCompleted = event(add_ScrollCompleted, remove_ScrollCompleted)
26441
+ StateChanged = event(add_StateChanged, remove_StateChanged)
26442
+ ViewChanged = event(add_ViewChanged, remove_ViewChanged)
26443
+ ZoomAnimationStarting = event(add_ZoomAnimationStarting, remove_ZoomAnimationStarting)
26444
+ ZoomCompleted = event(add_ZoomCompleted, remove_ZoomCompleted)
26709
26445
  class _ScrollViewer_Meta_(ComPtr.__class__):
26710
26446
  pass
26711
26447
  class ScrollViewer(ComPtr, metaclass=_ScrollViewer_Meta_):
@@ -27116,11 +26852,11 @@ class ScrollViewer(ComPtr, metaclass=_ScrollViewer_Meta_):
27116
26852
  _ScrollViewer_Meta_.ZoomModeProperty = property(get_ZoomModeProperty, None)
27117
26853
  _ScrollViewer_Meta_.ZoomSnapPointsProperty = property(get_ZoomSnapPointsProperty, None)
27118
26854
  _ScrollViewer_Meta_.ZoomSnapPointsTypeProperty = property(get_ZoomSnapPointsTypeProperty, None)
27119
- AnchorRequested = event()
27120
- ViewChanging = event()
27121
- ViewChanged = event()
27122
- DirectManipulationStarted = event()
27123
- DirectManipulationCompleted = event()
26855
+ AnchorRequested = event(add_AnchorRequested, remove_AnchorRequested)
26856
+ DirectManipulationCompleted = event(add_DirectManipulationCompleted, remove_DirectManipulationCompleted)
26857
+ DirectManipulationStarted = event(add_DirectManipulationStarted, remove_DirectManipulationStarted)
26858
+ ViewChanged = event(add_ViewChanged, remove_ViewChanged)
26859
+ ViewChanging = event(add_ViewChanging, remove_ViewChanging)
27124
26860
  class ScrollViewerView(ComPtr):
27125
26861
  extends: IInspectable
27126
26862
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IScrollViewerView
@@ -27427,7 +27163,7 @@ class SelectorBar(ComPtr, metaclass=_SelectorBar_Meta_):
27427
27163
  SelectedItem = property(get_SelectedItem, put_SelectedItem)
27428
27164
  _SelectorBar_Meta_.ItemsProperty = property(get_ItemsProperty, None)
27429
27165
  _SelectorBar_Meta_.SelectedItemProperty = property(get_SelectedItemProperty, None)
27430
- SelectionChanged = event()
27166
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
27431
27167
  class _SelectorBarItem_Meta_(ComPtr.__class__):
27432
27168
  pass
27433
27169
  class SelectorBarItem(ComPtr, metaclass=_SelectorBarItem_Meta_):
@@ -27444,9 +27180,9 @@ class SelectorBarItem(ComPtr, metaclass=_SelectorBarItem_Meta_):
27444
27180
  @winrt_factorymethod
27445
27181
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ISelectorBarItemFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.SelectorBarItem: ...
27446
27182
  @winrt_mixinmethod
27447
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISelectorBarItem) -> WinRT_String: ...
27183
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISelectorBarItem) -> hstr: ...
27448
27184
  @winrt_mixinmethod
27449
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISelectorBarItem, value: WinRT_String) -> Void: ...
27185
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISelectorBarItem, value: hstr) -> Void: ...
27450
27186
  @winrt_mixinmethod
27451
27187
  def get_Icon(self: win32more.Microsoft.UI.Xaml.Controls.ISelectorBarItem) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
27452
27188
  @winrt_mixinmethod
@@ -27528,8 +27264,8 @@ class SemanticZoom(ComPtr, metaclass=_SemanticZoom_Meta_):
27528
27264
  _SemanticZoom_Meta_.IsZoomedInViewActiveProperty = property(get_IsZoomedInViewActiveProperty, None)
27529
27265
  _SemanticZoom_Meta_.ZoomedInViewProperty = property(get_ZoomedInViewProperty, None)
27530
27266
  _SemanticZoom_Meta_.ZoomedOutViewProperty = property(get_ZoomedOutViewProperty, None)
27531
- ViewChangeStarted = event()
27532
- ViewChangeCompleted = event()
27267
+ ViewChangeCompleted = event(add_ViewChangeCompleted, remove_ViewChangeCompleted)
27268
+ ViewChangeStarted = event(add_ViewChangeStarted, remove_ViewChangeStarted)
27533
27269
  class SemanticZoomLocation(ComPtr):
27534
27270
  extends: IInspectable
27535
27271
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ISemanticZoomLocation
@@ -27738,7 +27474,7 @@ class SplitButton(ComPtr, metaclass=_SplitButton_Meta_):
27738
27474
  _SplitButton_Meta_.CommandParameterProperty = property(get_CommandParameterProperty, None)
27739
27475
  _SplitButton_Meta_.CommandProperty = property(get_CommandProperty, None)
27740
27476
  _SplitButton_Meta_.FlyoutProperty = property(get_FlyoutProperty, None)
27741
- Click = event()
27477
+ Click = event(add_Click, remove_Click)
27742
27478
  class SplitButtonClickEventArgs(ComPtr):
27743
27479
  extends: IInspectable
27744
27480
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ISplitButtonClickEventArgs
@@ -27852,10 +27588,10 @@ class SplitView(ComPtr, metaclass=_SplitView_Meta_):
27852
27588
  _SplitView_Meta_.PanePlacementProperty = property(get_PanePlacementProperty, None)
27853
27589
  _SplitView_Meta_.PaneProperty = property(get_PaneProperty, None)
27854
27590
  _SplitView_Meta_.TemplateSettingsProperty = property(get_TemplateSettingsProperty, None)
27855
- PaneClosing = event()
27856
- PaneClosed = event()
27857
- PaneOpening = event()
27858
- PaneOpened = event()
27591
+ PaneClosed = event(add_PaneClosed, remove_PaneClosed)
27592
+ PaneClosing = event(add_PaneClosing, remove_PaneClosing)
27593
+ PaneOpened = event(add_PaneOpened, remove_PaneOpened)
27594
+ PaneOpening = event(add_PaneOpening, remove_PaneOpening)
27859
27595
  class SplitViewDisplayMode(Enum, Int32):
27860
27596
  Overlay = 0
27861
27597
  Inline = 1
@@ -28003,8 +27739,8 @@ class StackPanel(ComPtr, metaclass=_StackPanel_Meta_):
28003
27739
  _StackPanel_Meta_.OrientationProperty = property(get_OrientationProperty, None)
28004
27740
  _StackPanel_Meta_.PaddingProperty = property(get_PaddingProperty, None)
28005
27741
  _StackPanel_Meta_.SpacingProperty = property(get_SpacingProperty, None)
28006
- HorizontalSnapPointsChanged = event()
28007
- VerticalSnapPointsChanged = event()
27742
+ HorizontalSnapPointsChanged = event(add_HorizontalSnapPointsChanged, remove_HorizontalSnapPointsChanged)
27743
+ VerticalSnapPointsChanged = event(add_VerticalSnapPointsChanged, remove_VerticalSnapPointsChanged)
28008
27744
  class StretchDirection(Enum, Int32):
28009
27745
  UpOnly = 0
28010
27746
  DownOnly = 1
@@ -28072,7 +27808,7 @@ class SwapChainPanel(ComPtr, metaclass=_SwapChainPanel_Meta_):
28072
27808
  CompositionScaleY = property(get_CompositionScaleY, None)
28073
27809
  _SwapChainPanel_Meta_.CompositionScaleXProperty = property(get_CompositionScaleXProperty, None)
28074
27810
  _SwapChainPanel_Meta_.CompositionScaleYProperty = property(get_CompositionScaleYProperty, None)
28075
- CompositionScaleChanged = event()
27811
+ CompositionScaleChanged = event(add_CompositionScaleChanged, remove_CompositionScaleChanged)
28076
27812
  class SwipeBehaviorOnInvoked(Enum, Int32):
28077
27813
  Auto = 0
28078
27814
  Close = 1
@@ -28142,9 +27878,9 @@ class SwipeItem(ComPtr, metaclass=_SwipeItem_Meta_):
28142
27878
  @winrt_factorymethod
28143
27879
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ISwipeItemFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.SwipeItem: ...
28144
27880
  @winrt_mixinmethod
28145
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISwipeItem) -> WinRT_String: ...
27881
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISwipeItem) -> hstr: ...
28146
27882
  @winrt_mixinmethod
28147
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISwipeItem, value: WinRT_String) -> Void: ...
27883
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISwipeItem, value: hstr) -> Void: ...
28148
27884
  @winrt_mixinmethod
28149
27885
  def get_IconSource(self: win32more.Microsoft.UI.Xaml.Controls.ISwipeItem) -> win32more.Microsoft.UI.Xaml.Controls.IconSource: ...
28150
27886
  @winrt_mixinmethod
@@ -28201,7 +27937,7 @@ class SwipeItem(ComPtr, metaclass=_SwipeItem_Meta_):
28201
27937
  _SwipeItem_Meta_.ForegroundProperty = property(get_ForegroundProperty, None)
28202
27938
  _SwipeItem_Meta_.IconSourceProperty = property(get_IconSourceProperty, None)
28203
27939
  _SwipeItem_Meta_.TextProperty = property(get_TextProperty, None)
28204
- Invoked = event()
27940
+ Invoked = event(add_Invoked, remove_Invoked)
28205
27941
  class SwipeItemInvokedEventArgs(ComPtr):
28206
27942
  extends: IInspectable
28207
27943
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ISwipeItemInvokedEventArgs
@@ -28636,28 +28372,6 @@ class TabView(ComPtr, metaclass=_TabView_Meta_):
28636
28372
  def add_TabStripDrop(self: win32more.Microsoft.UI.Xaml.Controls.ITabView, handler: win32more.Microsoft.UI.Xaml.DragEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
28637
28373
  @winrt_mixinmethod
28638
28374
  def remove_TabStripDrop(self: win32more.Microsoft.UI.Xaml.Controls.ITabView, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
28639
- @winrt_mixinmethod
28640
- def get_CanTearOutTabs(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2) -> Boolean: ...
28641
- @winrt_mixinmethod
28642
- def put_CanTearOutTabs(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, value: Boolean) -> Void: ...
28643
- @winrt_mixinmethod
28644
- def add_TabTearOutWindowRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewTabTearOutWindowRequestedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
28645
- @winrt_mixinmethod
28646
- def remove_TabTearOutWindowRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
28647
- @winrt_mixinmethod
28648
- def add_TabTearOutRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewTabTearOutRequestedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
28649
- @winrt_mixinmethod
28650
- def remove_TabTearOutRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
28651
- @winrt_mixinmethod
28652
- def add_ExternalTornOutTabsDropping(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewExternalTornOutTabsDroppingEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
28653
- @winrt_mixinmethod
28654
- def remove_ExternalTornOutTabsDropping(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
28655
- @winrt_mixinmethod
28656
- def add_ExternalTornOutTabsDropped(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TabView, win32more.Microsoft.UI.Xaml.Controls.TabViewExternalTornOutTabsDroppedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
28657
- @winrt_mixinmethod
28658
- def remove_ExternalTornOutTabsDropped(self: win32more.Microsoft.UI.Xaml.Controls.ITabView2, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
28659
- @winrt_classmethod
28660
- def get_CanTearOutTabsProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITabViewStatics2) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
28661
28375
  @winrt_classmethod
28662
28376
  def get_TabWidthModeProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITabViewStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
28663
28377
  @winrt_classmethod
@@ -28699,7 +28413,6 @@ class TabView(ComPtr, metaclass=_TabView_Meta_):
28699
28413
  AllowDropTabs = property(get_AllowDropTabs, put_AllowDropTabs)
28700
28414
  CanDragTabs = property(get_CanDragTabs, put_CanDragTabs)
28701
28415
  CanReorderTabs = property(get_CanReorderTabs, put_CanReorderTabs)
28702
- CanTearOutTabs = property(get_CanTearOutTabs, put_CanTearOutTabs)
28703
28416
  CloseButtonOverlayMode = property(get_CloseButtonOverlayMode, put_CloseButtonOverlayMode)
28704
28417
  IsAddTabButtonVisible = property(get_IsAddTabButtonVisible, put_IsAddTabButtonVisible)
28705
28418
  SelectedIndex = property(get_SelectedIndex, put_SelectedIndex)
@@ -28718,7 +28431,6 @@ class TabView(ComPtr, metaclass=_TabView_Meta_):
28718
28431
  _TabView_Meta_.AllowDropTabsProperty = property(get_AllowDropTabsProperty, None)
28719
28432
  _TabView_Meta_.CanDragTabsProperty = property(get_CanDragTabsProperty, None)
28720
28433
  _TabView_Meta_.CanReorderTabsProperty = property(get_CanReorderTabsProperty, None)
28721
- _TabView_Meta_.CanTearOutTabsProperty = property(get_CanTearOutTabsProperty, None)
28722
28434
  _TabView_Meta_.CloseButtonOverlayModeProperty = property(get_CloseButtonOverlayModeProperty, None)
28723
28435
  _TabView_Meta_.IsAddTabButtonVisibleProperty = property(get_IsAddTabButtonVisibleProperty, None)
28724
28436
  _TabView_Meta_.SelectedIndexProperty = property(get_SelectedIndexProperty, None)
@@ -28732,54 +28444,19 @@ class TabView(ComPtr, metaclass=_TabView_Meta_):
28732
28444
  _TabView_Meta_.TabStripHeaderProperty = property(get_TabStripHeaderProperty, None)
28733
28445
  _TabView_Meta_.TabStripHeaderTemplateProperty = property(get_TabStripHeaderTemplateProperty, None)
28734
28446
  _TabView_Meta_.TabWidthModeProperty = property(get_TabWidthModeProperty, None)
28735
- TabCloseRequested = event()
28736
- TabDroppedOutside = event()
28737
- AddTabButtonClick = event()
28738
- TabItemsChanged = event()
28739
- SelectionChanged = event()
28740
- TabDragStarting = event()
28741
- TabDragCompleted = event()
28742
- TabStripDragOver = event()
28743
- TabStripDrop = event()
28744
- TabTearOutWindowRequested = event()
28745
- TabTearOutRequested = event()
28746
- ExternalTornOutTabsDropping = event()
28747
- ExternalTornOutTabsDropped = event()
28447
+ AddTabButtonClick = event(add_AddTabButtonClick, remove_AddTabButtonClick)
28448
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
28449
+ TabCloseRequested = event(add_TabCloseRequested, remove_TabCloseRequested)
28450
+ TabDragCompleted = event(add_TabDragCompleted, remove_TabDragCompleted)
28451
+ TabDragStarting = event(add_TabDragStarting, remove_TabDragStarting)
28452
+ TabDroppedOutside = event(add_TabDroppedOutside, remove_TabDroppedOutside)
28453
+ TabItemsChanged = event(add_TabItemsChanged, remove_TabItemsChanged)
28454
+ TabStripDragOver = event(add_TabStripDragOver, remove_TabStripDragOver)
28455
+ TabStripDrop = event(add_TabStripDrop, remove_TabStripDrop)
28748
28456
  class TabViewCloseButtonOverlayMode(Enum, Int32):
28749
28457
  Auto = 0
28750
28458
  OnPointerOver = 1
28751
28459
  Always = 2
28752
- class TabViewExternalTornOutTabsDroppedEventArgs(ComPtr):
28753
- extends: IInspectable
28754
- default_interface: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppedEventArgs
28755
- _classid_ = 'Microsoft.UI.Xaml.Controls.TabViewExternalTornOutTabsDroppedEventArgs'
28756
- @winrt_mixinmethod
28757
- def get_Items(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppedEventArgs) -> ReceiveArray[IInspectable]: ...
28758
- @winrt_mixinmethod
28759
- def get_Tabs(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppedEventArgs) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
28760
- @winrt_mixinmethod
28761
- def get_DropIndex(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppedEventArgs) -> Int32: ...
28762
- DropIndex = property(get_DropIndex, None)
28763
- Items = property(get_Items, None)
28764
- Tabs = property(get_Tabs, None)
28765
- class TabViewExternalTornOutTabsDroppingEventArgs(ComPtr):
28766
- extends: IInspectable
28767
- default_interface: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppingEventArgs
28768
- _classid_ = 'Microsoft.UI.Xaml.Controls.TabViewExternalTornOutTabsDroppingEventArgs'
28769
- @winrt_mixinmethod
28770
- def get_Items(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppingEventArgs) -> ReceiveArray[IInspectable]: ...
28771
- @winrt_mixinmethod
28772
- def get_Tabs(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppingEventArgs) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
28773
- @winrt_mixinmethod
28774
- def get_DropIndex(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppingEventArgs) -> Int32: ...
28775
- @winrt_mixinmethod
28776
- def get_AllowDrop(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppingEventArgs) -> Boolean: ...
28777
- @winrt_mixinmethod
28778
- def put_AllowDrop(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppingEventArgs, value: Boolean) -> Void: ...
28779
- AllowDrop = property(get_AllowDrop, put_AllowDrop)
28780
- DropIndex = property(get_DropIndex, None)
28781
- Items = property(get_Items, None)
28782
- Tabs = property(get_Tabs, None)
28783
28460
  class _TabViewItem_Meta_(ComPtr.__class__):
28784
28461
  pass
28785
28462
  class TabViewItem(ComPtr, metaclass=_TabViewItem_Meta_):
@@ -28837,7 +28514,7 @@ class TabViewItem(ComPtr, metaclass=_TabViewItem_Meta_):
28837
28514
  _TabViewItem_Meta_.IconSourceProperty = property(get_IconSourceProperty, None)
28838
28515
  _TabViewItem_Meta_.IsClosableProperty = property(get_IsClosableProperty, None)
28839
28516
  _TabViewItem_Meta_.TabViewTemplateSettingsProperty = property(get_TabViewTemplateSettingsProperty, None)
28840
- CloseRequested = event()
28517
+ CloseRequested = event(add_CloseRequested, remove_CloseRequested)
28841
28518
  class _TabViewItemTemplateSettings_Meta_(ComPtr.__class__):
28842
28519
  pass
28843
28520
  class TabViewItemTemplateSettings(ComPtr, metaclass=_TabViewItemTemplateSettings_Meta_):
@@ -28920,34 +28597,6 @@ class TabViewTabDroppedOutsideEventArgs(ComPtr):
28920
28597
  def get_Tab(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabDroppedOutsideEventArgs) -> win32more.Microsoft.UI.Xaml.Controls.TabViewItem: ...
28921
28598
  Item = property(get_Item, None)
28922
28599
  Tab = property(get_Tab, None)
28923
- class TabViewTabTearOutRequestedEventArgs(ComPtr):
28924
- extends: IInspectable
28925
- default_interface: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutRequestedEventArgs
28926
- _classid_ = 'Microsoft.UI.Xaml.Controls.TabViewTabTearOutRequestedEventArgs'
28927
- @winrt_mixinmethod
28928
- def get_Items(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutRequestedEventArgs) -> ReceiveArray[IInspectable]: ...
28929
- @winrt_mixinmethod
28930
- def get_Tabs(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutRequestedEventArgs) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
28931
- @winrt_mixinmethod
28932
- def get_NewWindowId(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutRequestedEventArgs) -> win32more.Microsoft.UI.WindowId: ...
28933
- Items = property(get_Items, None)
28934
- NewWindowId = property(get_NewWindowId, None)
28935
- Tabs = property(get_Tabs, None)
28936
- class TabViewTabTearOutWindowRequestedEventArgs(ComPtr):
28937
- extends: IInspectable
28938
- default_interface: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutWindowRequestedEventArgs
28939
- _classid_ = 'Microsoft.UI.Xaml.Controls.TabViewTabTearOutWindowRequestedEventArgs'
28940
- @winrt_mixinmethod
28941
- def get_Items(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutWindowRequestedEventArgs) -> ReceiveArray[IInspectable]: ...
28942
- @winrt_mixinmethod
28943
- def get_Tabs(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutWindowRequestedEventArgs) -> ReceiveArray[win32more.Microsoft.UI.Xaml.UIElement]: ...
28944
- @winrt_mixinmethod
28945
- def get_NewWindowId(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutWindowRequestedEventArgs) -> win32more.Microsoft.UI.WindowId: ...
28946
- @winrt_mixinmethod
28947
- def put_NewWindowId(self: win32more.Microsoft.UI.Xaml.Controls.ITabViewTabTearOutWindowRequestedEventArgs, value: win32more.Microsoft.UI.WindowId) -> Void: ...
28948
- Items = property(get_Items, None)
28949
- NewWindowId = property(get_NewWindowId, put_NewWindowId)
28950
- Tabs = property(get_Tabs, None)
28951
28600
  class TabViewWidthMode(Enum, Int32):
28952
28601
  Equal = 0
28953
28602
  SizeToContent = 1
@@ -28968,13 +28617,13 @@ class TeachingTip(ComPtr, metaclass=_TeachingTip_Meta_):
28968
28617
  @winrt_factorymethod
28969
28618
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ITeachingTipFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TeachingTip: ...
28970
28619
  @winrt_mixinmethod
28971
- def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip) -> WinRT_String: ...
28620
+ def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip) -> hstr: ...
28972
28621
  @winrt_mixinmethod
28973
- def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip, value: WinRT_String) -> Void: ...
28622
+ def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip, value: hstr) -> Void: ...
28974
28623
  @winrt_mixinmethod
28975
- def get_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip) -> WinRT_String: ...
28624
+ def get_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip) -> hstr: ...
28976
28625
  @winrt_mixinmethod
28977
- def put_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip, value: WinRT_String) -> Void: ...
28626
+ def put_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip, value: hstr) -> Void: ...
28978
28627
  @winrt_mixinmethod
28979
28628
  def get_IsOpen(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip) -> Boolean: ...
28980
28629
  @winrt_mixinmethod
@@ -29149,10 +28798,10 @@ class TeachingTip(ComPtr, metaclass=_TeachingTip_Meta_):
29149
28798
  _TeachingTip_Meta_.TargetProperty = property(get_TargetProperty, None)
29150
28799
  _TeachingTip_Meta_.TemplateSettingsProperty = property(get_TemplateSettingsProperty, None)
29151
28800
  _TeachingTip_Meta_.TitleProperty = property(get_TitleProperty, None)
29152
- ActionButtonClick = event()
29153
- CloseButtonClick = event()
29154
- Closing = event()
29155
- Closed = event()
28801
+ ActionButtonClick = event(add_ActionButtonClick, remove_ActionButtonClick)
28802
+ CloseButtonClick = event(add_CloseButtonClick, remove_CloseButtonClick)
28803
+ Closed = event(add_Closed, remove_Closed)
28804
+ Closing = event(add_Closing, remove_Closing)
29156
28805
  class TeachingTipCloseReason(Enum, Int32):
29157
28806
  CloseButton = 0
29158
28807
  LightDismiss = 1
@@ -29296,9 +28945,9 @@ class TextBlock(ComPtr, metaclass=_TextBlock_Meta_):
29296
28945
  @winrt_mixinmethod
29297
28946
  def put_TextAlignment(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock, value: win32more.Microsoft.UI.Xaml.TextAlignment) -> Void: ...
29298
28947
  @winrt_mixinmethod
29299
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock) -> WinRT_String: ...
28948
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock) -> hstr: ...
29300
28949
  @winrt_mixinmethod
29301
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock, value: WinRT_String) -> Void: ...
28950
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock, value: hstr) -> Void: ...
29302
28951
  @winrt_mixinmethod
29303
28952
  def get_Inlines(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock) -> win32more.Microsoft.UI.Xaml.Documents.InlineCollection: ...
29304
28953
  @winrt_mixinmethod
@@ -29318,7 +28967,7 @@ class TextBlock(ComPtr, metaclass=_TextBlock_Meta_):
29318
28967
  @winrt_mixinmethod
29319
28968
  def put_IsTextSelectionEnabled(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock, value: Boolean) -> Void: ...
29320
28969
  @winrt_mixinmethod
29321
- def get_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock) -> WinRT_String: ...
28970
+ def get_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock) -> hstr: ...
29322
28971
  @winrt_mixinmethod
29323
28972
  def get_ContentStart(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock) -> win32more.Microsoft.UI.Xaml.Documents.TextPointer: ...
29324
28973
  @winrt_mixinmethod
@@ -29508,9 +29157,9 @@ class TextBlock(ComPtr, metaclass=_TextBlock_Meta_):
29508
29157
  _TextBlock_Meta_.TextReadingOrderProperty = property(get_TextReadingOrderProperty, None)
29509
29158
  _TextBlock_Meta_.TextTrimmingProperty = property(get_TextTrimmingProperty, None)
29510
29159
  _TextBlock_Meta_.TextWrappingProperty = property(get_TextWrappingProperty, None)
29511
- SelectionChanged = event()
29512
- ContextMenuOpening = event()
29513
- IsTextTrimmedChanged = event()
29160
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
29161
+ IsTextTrimmedChanged = event(add_IsTextTrimmedChanged, remove_IsTextTrimmedChanged)
29162
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
29514
29163
  class _TextBox_Meta_(ComPtr.__class__):
29515
29164
  pass
29516
29165
  class TextBox(ComPtr, metaclass=_TextBox_Meta_):
@@ -29527,13 +29176,13 @@ class TextBox(ComPtr, metaclass=_TextBox_Meta_):
29527
29176
  @winrt_factorymethod
29528
29177
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ITextBoxFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TextBox: ...
29529
29178
  @winrt_mixinmethod
29530
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> WinRT_String: ...
29179
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> hstr: ...
29531
29180
  @winrt_mixinmethod
29532
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, value: WinRT_String) -> Void: ...
29181
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, value: hstr) -> Void: ...
29533
29182
  @winrt_mixinmethod
29534
- def get_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> WinRT_String: ...
29183
+ def get_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> hstr: ...
29535
29184
  @winrt_mixinmethod
29536
- def put_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, value: WinRT_String) -> Void: ...
29185
+ def put_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, value: hstr) -> Void: ...
29537
29186
  @winrt_mixinmethod
29538
29187
  def get_SelectionLength(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> Int32: ...
29539
29188
  @winrt_mixinmethod
@@ -29583,9 +29232,9 @@ class TextBox(ComPtr, metaclass=_TextBox_Meta_):
29583
29232
  @winrt_mixinmethod
29584
29233
  def put_HeaderTemplate(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
29585
29234
  @winrt_mixinmethod
29586
- def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> WinRT_String: ...
29235
+ def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> hstr: ...
29587
29236
  @winrt_mixinmethod
29588
- def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, value: WinRT_String) -> Void: ...
29237
+ def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, value: hstr) -> Void: ...
29589
29238
  @winrt_mixinmethod
29590
29239
  def get_SelectionHighlightColor(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> win32more.Microsoft.UI.Xaml.Media.SolidColorBrush: ...
29591
29240
  @winrt_mixinmethod
@@ -29681,7 +29330,7 @@ class TextBox(ComPtr, metaclass=_TextBox_Meta_):
29681
29330
  @winrt_mixinmethod
29682
29331
  def GetRectFromCharacterIndex(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, charIndex: Int32, trailingEdge: Boolean) -> win32more.Windows.Foundation.Rect: ...
29683
29332
  @winrt_mixinmethod
29684
- def GetLinguisticAlternativesAsync(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[WinRT_String]]: ...
29333
+ def GetLinguisticAlternativesAsync(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[hstr]]: ...
29685
29334
  @winrt_mixinmethod
29686
29335
  def Undo(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> Void: ...
29687
29336
  @winrt_mixinmethod
@@ -29821,25 +29470,25 @@ class TextBox(ComPtr, metaclass=_TextBox_Meta_):
29821
29470
  _TextBox_Meta_.TextProperty = property(get_TextProperty, None)
29822
29471
  _TextBox_Meta_.TextReadingOrderProperty = property(get_TextReadingOrderProperty, None)
29823
29472
  _TextBox_Meta_.TextWrappingProperty = property(get_TextWrappingProperty, None)
29824
- TextChanged = event()
29825
- SelectionChanged = event()
29826
- ContextMenuOpening = event()
29827
- Paste = event()
29828
- TextCompositionStarted = event()
29829
- TextCompositionChanged = event()
29830
- TextCompositionEnded = event()
29831
- CopyingToClipboard = event()
29832
- CuttingToClipboard = event()
29833
- BeforeTextChanging = event()
29834
- SelectionChanging = event()
29835
- CandidateWindowBoundsChanged = event()
29836
- TextChanging = event()
29473
+ BeforeTextChanging = event(add_BeforeTextChanging, remove_BeforeTextChanging)
29474
+ CandidateWindowBoundsChanged = event(add_CandidateWindowBoundsChanged, remove_CandidateWindowBoundsChanged)
29475
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
29476
+ CopyingToClipboard = event(add_CopyingToClipboard, remove_CopyingToClipboard)
29477
+ CuttingToClipboard = event(add_CuttingToClipboard, remove_CuttingToClipboard)
29478
+ Paste = event(add_Paste, remove_Paste)
29479
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
29480
+ SelectionChanging = event(add_SelectionChanging, remove_SelectionChanging)
29481
+ TextChanged = event(add_TextChanged, remove_TextChanged)
29482
+ TextChanging = event(add_TextChanging, remove_TextChanging)
29483
+ TextCompositionChanged = event(add_TextCompositionChanged, remove_TextCompositionChanged)
29484
+ TextCompositionEnded = event(add_TextCompositionEnded, remove_TextCompositionEnded)
29485
+ TextCompositionStarted = event(add_TextCompositionStarted, remove_TextCompositionStarted)
29837
29486
  class TextBoxBeforeTextChangingEventArgs(ComPtr):
29838
29487
  extends: IInspectable
29839
29488
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ITextBoxBeforeTextChangingEventArgs
29840
29489
  _classid_ = 'Microsoft.UI.Xaml.Controls.TextBoxBeforeTextChangingEventArgs'
29841
29490
  @winrt_mixinmethod
29842
- def get_NewText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBoxBeforeTextChangingEventArgs) -> WinRT_String: ...
29491
+ def get_NewText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBoxBeforeTextChangingEventArgs) -> hstr: ...
29843
29492
  @winrt_mixinmethod
29844
29493
  def get_Cancel(self: win32more.Microsoft.UI.Xaml.Controls.ITextBoxBeforeTextChangingEventArgs) -> Boolean: ...
29845
29494
  @winrt_mixinmethod
@@ -29995,9 +29644,9 @@ class TimePicker(ComPtr, metaclass=_TimePicker_Meta_):
29995
29644
  @winrt_mixinmethod
29996
29645
  def put_HeaderTemplate(self: win32more.Microsoft.UI.Xaml.Controls.ITimePicker, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
29997
29646
  @winrt_mixinmethod
29998
- def get_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePicker) -> WinRT_String: ...
29647
+ def get_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePicker) -> hstr: ...
29999
29648
  @winrt_mixinmethod
30000
- def put_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePicker, value: WinRT_String) -> Void: ...
29649
+ def put_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePicker, value: hstr) -> Void: ...
30001
29650
  @winrt_mixinmethod
30002
29651
  def get_MinuteIncrement(self: win32more.Microsoft.UI.Xaml.Controls.ITimePicker) -> Int32: ...
30003
29652
  @winrt_mixinmethod
@@ -30050,8 +29699,8 @@ class TimePicker(ComPtr, metaclass=_TimePicker_Meta_):
30050
29699
  _TimePicker_Meta_.MinuteIncrementProperty = property(get_MinuteIncrementProperty, None)
30051
29700
  _TimePicker_Meta_.SelectedTimeProperty = property(get_SelectedTimeProperty, None)
30052
29701
  _TimePicker_Meta_.TimeProperty = property(get_TimeProperty, None)
30053
- TimeChanged = event()
30054
- SelectedTimeChanged = event()
29702
+ SelectedTimeChanged = event(add_SelectedTimeChanged, remove_SelectedTimeChanged)
29703
+ TimeChanged = event(add_TimeChanged, remove_TimeChanged)
30055
29704
  class _TimePickerFlyout_Meta_(ComPtr.__class__):
30056
29705
  pass
30057
29706
  class TimePickerFlyout(ComPtr, metaclass=_TimePickerFlyout_Meta_):
@@ -30068,9 +29717,9 @@ class TimePickerFlyout(ComPtr, metaclass=_TimePickerFlyout_Meta_):
30068
29717
  @winrt_activatemethod
30069
29718
  def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Controls.TimePickerFlyout: ...
30070
29719
  @winrt_mixinmethod
30071
- def get_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePickerFlyout) -> WinRT_String: ...
29720
+ def get_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePickerFlyout) -> hstr: ...
30072
29721
  @winrt_mixinmethod
30073
- def put_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePickerFlyout, value: WinRT_String) -> Void: ...
29722
+ def put_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePickerFlyout, value: hstr) -> Void: ...
30074
29723
  @winrt_mixinmethod
30075
29724
  def get_Time(self: win32more.Microsoft.UI.Xaml.Controls.ITimePickerFlyout) -> win32more.Windows.Foundation.TimeSpan: ...
30076
29725
  @winrt_mixinmethod
@@ -30097,7 +29746,7 @@ class TimePickerFlyout(ComPtr, metaclass=_TimePickerFlyout_Meta_):
30097
29746
  _TimePickerFlyout_Meta_.ClockIdentifierProperty = property(get_ClockIdentifierProperty, None)
30098
29747
  _TimePickerFlyout_Meta_.MinuteIncrementProperty = property(get_MinuteIncrementProperty, None)
30099
29748
  _TimePickerFlyout_Meta_.TimeProperty = property(get_TimeProperty, None)
30100
- TimePicked = event()
29749
+ TimePicked = event(add_TimePicked, remove_TimePicked)
30101
29750
  class _TimePickerFlyoutPresenter_Meta_(ComPtr.__class__):
30102
29751
  pass
30103
29752
  class TimePickerFlyoutPresenter(ComPtr, metaclass=_TimePickerFlyoutPresenter_Meta_):
@@ -30132,145 +29781,6 @@ class TimePickerValueChangedEventArgs(ComPtr):
30132
29781
  def get_NewTime(self: win32more.Microsoft.UI.Xaml.Controls.ITimePickerValueChangedEventArgs) -> win32more.Windows.Foundation.TimeSpan: ...
30133
29782
  NewTime = property(get_NewTime, None)
30134
29783
  OldTime = property(get_OldTime, None)
30135
- class _TitleBar_Meta_(ComPtr.__class__):
30136
- pass
30137
- class TitleBar(ComPtr, metaclass=_TitleBar_Meta_):
30138
- extends: win32more.Microsoft.UI.Xaml.Controls.Control
30139
- default_interface: win32more.Microsoft.UI.Xaml.Controls.ITitleBar
30140
- _classid_ = 'Microsoft.UI.Xaml.Controls.TitleBar'
30141
- def __init__(self, *args, **kwargs):
30142
- if kwargs:
30143
- super().__init__(**kwargs)
30144
- elif len(args) == 0:
30145
- super().__init__(move=win32more.Microsoft.UI.Xaml.Controls.TitleBar.CreateInstance(*args, None, None))
30146
- else:
30147
- raise ValueError('no matched constructor')
30148
- @winrt_factorymethod
30149
- def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TitleBar: ...
30150
- @winrt_mixinmethod
30151
- def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> WinRT_String: ...
30152
- @winrt_mixinmethod
30153
- def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: WinRT_String) -> Void: ...
30154
- @winrt_mixinmethod
30155
- def get_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> WinRT_String: ...
30156
- @winrt_mixinmethod
30157
- def put_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: WinRT_String) -> Void: ...
30158
- @winrt_mixinmethod
30159
- def get_IconSource(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> win32more.Microsoft.UI.Xaml.Controls.IconSource: ...
30160
- @winrt_mixinmethod
30161
- def put_IconSource(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: win32more.Microsoft.UI.Xaml.Controls.IconSource) -> Void: ...
30162
- @winrt_mixinmethod
30163
- def get_LeftHeader(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> win32more.Microsoft.UI.Xaml.UIElement: ...
30164
- @winrt_mixinmethod
30165
- def put_LeftHeader(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
30166
- @winrt_mixinmethod
30167
- def get_Content(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> win32more.Microsoft.UI.Xaml.UIElement: ...
30168
- @winrt_mixinmethod
30169
- def put_Content(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
30170
- @winrt_mixinmethod
30171
- def get_RightHeader(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> win32more.Microsoft.UI.Xaml.UIElement: ...
30172
- @winrt_mixinmethod
30173
- def put_RightHeader(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
30174
- @winrt_mixinmethod
30175
- def get_IsBackButtonVisible(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> Boolean: ...
30176
- @winrt_mixinmethod
30177
- def put_IsBackButtonVisible(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: Boolean) -> Void: ...
30178
- @winrt_mixinmethod
30179
- def get_IsBackButtonEnabled(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> Boolean: ...
30180
- @winrt_mixinmethod
30181
- def put_IsBackButtonEnabled(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: Boolean) -> Void: ...
30182
- @winrt_mixinmethod
30183
- def get_IsPaneToggleButtonVisible(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> Boolean: ...
30184
- @winrt_mixinmethod
30185
- def put_IsPaneToggleButtonVisible(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: Boolean) -> Void: ...
30186
- @winrt_mixinmethod
30187
- def get_TemplateSettings(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> win32more.Microsoft.UI.Xaml.Controls.TitleBarTemplateSettings: ...
30188
- @winrt_mixinmethod
30189
- def add_BackRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TitleBar, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
30190
- @winrt_mixinmethod
30191
- def remove_BackRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
30192
- @winrt_mixinmethod
30193
- def add_PaneToggleRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.TitleBar, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
30194
- @winrt_mixinmethod
30195
- def remove_PaneToggleRequested(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
30196
- @winrt_classmethod
30197
- def get_TitleProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30198
- @winrt_classmethod
30199
- def get_SubtitleProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30200
- @winrt_classmethod
30201
- def get_IconSourceProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30202
- @winrt_classmethod
30203
- def get_LeftHeaderProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30204
- @winrt_classmethod
30205
- def get_ContentProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30206
- @winrt_classmethod
30207
- def get_RightHeaderProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30208
- @winrt_classmethod
30209
- def get_IsBackButtonVisibleProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30210
- @winrt_classmethod
30211
- def get_IsBackButtonEnabledProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30212
- @winrt_classmethod
30213
- def get_IsPaneToggleButtonVisibleProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30214
- @winrt_classmethod
30215
- def get_TemplateSettingsProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30216
- Content = property(get_Content, put_Content)
30217
- IconSource = property(get_IconSource, put_IconSource)
30218
- IsBackButtonEnabled = property(get_IsBackButtonEnabled, put_IsBackButtonEnabled)
30219
- IsBackButtonVisible = property(get_IsBackButtonVisible, put_IsBackButtonVisible)
30220
- IsPaneToggleButtonVisible = property(get_IsPaneToggleButtonVisible, put_IsPaneToggleButtonVisible)
30221
- LeftHeader = property(get_LeftHeader, put_LeftHeader)
30222
- RightHeader = property(get_RightHeader, put_RightHeader)
30223
- Subtitle = property(get_Subtitle, put_Subtitle)
30224
- TemplateSettings = property(get_TemplateSettings, None)
30225
- Title = property(get_Title, put_Title)
30226
- _TitleBar_Meta_.ContentProperty = property(get_ContentProperty, None)
30227
- _TitleBar_Meta_.IconSourceProperty = property(get_IconSourceProperty, None)
30228
- _TitleBar_Meta_.IsBackButtonEnabledProperty = property(get_IsBackButtonEnabledProperty, None)
30229
- _TitleBar_Meta_.IsBackButtonVisibleProperty = property(get_IsBackButtonVisibleProperty, None)
30230
- _TitleBar_Meta_.IsPaneToggleButtonVisibleProperty = property(get_IsPaneToggleButtonVisibleProperty, None)
30231
- _TitleBar_Meta_.LeftHeaderProperty = property(get_LeftHeaderProperty, None)
30232
- _TitleBar_Meta_.RightHeaderProperty = property(get_RightHeaderProperty, None)
30233
- _TitleBar_Meta_.SubtitleProperty = property(get_SubtitleProperty, None)
30234
- _TitleBar_Meta_.TemplateSettingsProperty = property(get_TemplateSettingsProperty, None)
30235
- _TitleBar_Meta_.TitleProperty = property(get_TitleProperty, None)
30236
- BackRequested = event()
30237
- PaneToggleRequested = event()
30238
- class TitleBarAutomationPeer(ComPtr):
30239
- extends: win32more.Microsoft.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer
30240
- default_interface: win32more.Microsoft.UI.Xaml.Controls.ITitleBarAutomationPeer
30241
- _classid_ = 'Microsoft.UI.Xaml.Controls.TitleBarAutomationPeer'
30242
- def __init__(self, *args, **kwargs):
30243
- if kwargs:
30244
- super().__init__(**kwargs)
30245
- elif len(args) == 1:
30246
- super().__init__(move=win32more.Microsoft.UI.Xaml.Controls.TitleBarAutomationPeer.CreateInstance(*args, None, None))
30247
- else:
30248
- raise ValueError('no matched constructor')
30249
- @winrt_factorymethod
30250
- def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarAutomationPeerFactory, owner: win32more.Microsoft.UI.Xaml.Controls.TitleBar, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TitleBarAutomationPeer: ...
30251
- class _TitleBarTemplateSettings_Meta_(ComPtr.__class__):
30252
- pass
30253
- class TitleBarTemplateSettings(ComPtr, metaclass=_TitleBarTemplateSettings_Meta_):
30254
- extends: win32more.Microsoft.UI.Xaml.DependencyObject
30255
- default_interface: win32more.Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettings
30256
- _classid_ = 'Microsoft.UI.Xaml.Controls.TitleBarTemplateSettings'
30257
- def __init__(self, *args, **kwargs):
30258
- if kwargs:
30259
- super().__init__(**kwargs)
30260
- elif len(args) == 0:
30261
- super().__init__(move=win32more.Microsoft.UI.Xaml.Controls.TitleBarTemplateSettings.CreateInstance(*args, None, None))
30262
- else:
30263
- raise ValueError('no matched constructor')
30264
- @winrt_factorymethod
30265
- def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettingsFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TitleBarTemplateSettings: ...
30266
- @winrt_mixinmethod
30267
- def get_IconElement(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettings) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
30268
- @winrt_mixinmethod
30269
- def put_IconElement(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettings, value: win32more.Microsoft.UI.Xaml.Controls.IconElement) -> Void: ...
30270
- @winrt_classmethod
30271
- def get_IconElementProperty(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarTemplateSettingsStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30272
- IconElement = property(get_IconElement, put_IconElement)
30273
- _TitleBarTemplateSettings_Meta_.IconElementProperty = property(get_IconElementProperty, None)
30274
29784
  class _ToggleMenuFlyoutItem_Meta_(ComPtr.__class__):
30275
29785
  pass
30276
29786
  class ToggleMenuFlyoutItem(ComPtr, metaclass=_ToggleMenuFlyoutItem_Meta_):
@@ -30321,7 +29831,7 @@ class ToggleSplitButton(ComPtr, metaclass=_ToggleSplitButton_Meta_):
30321
29831
  def get_IsCheckedProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IToggleSplitButtonStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30322
29832
  IsChecked = property(get_IsChecked, put_IsChecked)
30323
29833
  _ToggleSplitButton_Meta_.IsCheckedProperty = property(get_IsCheckedProperty, None)
30324
- IsCheckedChanged = event()
29834
+ IsCheckedChanged = event(add_IsCheckedChanged, remove_IsCheckedChanged)
30325
29835
  class ToggleSplitButtonIsCheckedChangedEventArgs(ComPtr):
30326
29836
  extends: IInspectable
30327
29837
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IToggleSplitButtonIsCheckedChangedEventArgs
@@ -30412,7 +29922,7 @@ class ToggleSwitch(ComPtr, metaclass=_ToggleSwitch_Meta_):
30412
29922
  _ToggleSwitch_Meta_.OffContentTemplateProperty = property(get_OffContentTemplateProperty, None)
30413
29923
  _ToggleSwitch_Meta_.OnContentProperty = property(get_OnContentProperty, None)
30414
29924
  _ToggleSwitch_Meta_.OnContentTemplateProperty = property(get_OnContentTemplateProperty, None)
30415
- Toggled = event()
29925
+ Toggled = event(add_Toggled, remove_Toggled)
30416
29926
  class _ToolTip_Meta_(ComPtr.__class__):
30417
29927
  pass
30418
29928
  class ToolTip(ComPtr, metaclass=_ToolTip_Meta_):
@@ -30487,8 +29997,8 @@ class ToolTip(ComPtr, metaclass=_ToolTip_Meta_):
30487
29997
  _ToolTip_Meta_.PlacementRectProperty = property(get_PlacementRectProperty, None)
30488
29998
  _ToolTip_Meta_.PlacementTargetProperty = property(get_PlacementTargetProperty, None)
30489
29999
  _ToolTip_Meta_.VerticalOffsetProperty = property(get_VerticalOffsetProperty, None)
30490
- Closed = event()
30491
- Opened = event()
30000
+ Closed = event(add_Closed, remove_Closed)
30001
+ Opened = event(add_Opened, remove_Opened)
30492
30002
  class _ToolTipService_Meta_(ComPtr.__class__):
30493
30003
  pass
30494
30004
  class ToolTipService(ComPtr, metaclass=_ToolTipService_Meta_):
@@ -30663,12 +30173,12 @@ class TreeView(ComPtr, metaclass=_TreeView_Meta_):
30663
30173
  _TreeView_Meta_.ItemsSourceProperty = property(get_ItemsSourceProperty, None)
30664
30174
  _TreeView_Meta_.SelectedItemProperty = property(get_SelectedItemProperty, None)
30665
30175
  _TreeView_Meta_.SelectionModeProperty = property(get_SelectionModeProperty, None)
30666
- ItemInvoked = event()
30667
- Expanding = event()
30668
- Collapsed = event()
30669
- DragItemsStarting = event()
30670
- DragItemsCompleted = event()
30671
- SelectionChanged = event()
30176
+ Collapsed = event(add_Collapsed, remove_Collapsed)
30177
+ DragItemsCompleted = event(add_DragItemsCompleted, remove_DragItemsCompleted)
30178
+ DragItemsStarting = event(add_DragItemsStarting, remove_DragItemsStarting)
30179
+ Expanding = event(add_Expanding, remove_Expanding)
30180
+ ItemInvoked = event(add_ItemInvoked, remove_ItemInvoked)
30181
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
30672
30182
  class TreeViewCollapsedEventArgs(ComPtr):
30673
30183
  extends: IInspectable
30674
30184
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ITreeViewCollapsedEventArgs
@@ -30741,13 +30251,13 @@ class TreeViewItem(ComPtr, metaclass=_TreeViewItem_Meta_):
30741
30251
  @winrt_mixinmethod
30742
30252
  def put_GlyphBrush(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem, value: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
30743
30253
  @winrt_mixinmethod
30744
- def get_ExpandedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem) -> WinRT_String: ...
30254
+ def get_ExpandedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem) -> hstr: ...
30745
30255
  @winrt_mixinmethod
30746
- def put_ExpandedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem, value: WinRT_String) -> Void: ...
30256
+ def put_ExpandedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem, value: hstr) -> Void: ...
30747
30257
  @winrt_mixinmethod
30748
- def get_CollapsedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem) -> WinRT_String: ...
30258
+ def get_CollapsedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem) -> hstr: ...
30749
30259
  @winrt_mixinmethod
30750
- def put_CollapsedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem, value: WinRT_String) -> Void: ...
30260
+ def put_CollapsedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem, value: hstr) -> Void: ...
30751
30261
  @winrt_mixinmethod
30752
30262
  def get_GlyphSize(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem) -> Double: ...
30753
30263
  @winrt_mixinmethod
@@ -31031,7 +30541,7 @@ class TwoPaneView(ComPtr, metaclass=_TwoPaneView_Meta_):
31031
30541
  _TwoPaneView_Meta_.PanePriorityProperty = property(get_PanePriorityProperty, None)
31032
30542
  _TwoPaneView_Meta_.TallModeConfigurationProperty = property(get_TallModeConfigurationProperty, None)
31033
30543
  _TwoPaneView_Meta_.WideModeConfigurationProperty = property(get_WideModeConfigurationProperty, None)
31034
- ModeChanged = event()
30544
+ ModeChanged = event(add_ModeChanged, remove_ModeChanged)
31035
30545
  class TwoPaneViewMode(Enum, Int32):
31036
30546
  SinglePane = 0
31037
30547
  Wide = 1
@@ -31459,7 +30969,7 @@ class VirtualizingStackPanel(ComPtr, metaclass=_VirtualizingStackPanel_Meta_):
31459
30969
  _VirtualizingStackPanel_Meta_.IsVirtualizingProperty = property(get_IsVirtualizingProperty, None)
31460
30970
  _VirtualizingStackPanel_Meta_.OrientationProperty = property(get_OrientationProperty, None)
31461
30971
  _VirtualizingStackPanel_Meta_.VirtualizationModeProperty = property(get_VirtualizationModeProperty, None)
31462
- CleanUpVirtualizedItemEvent = event()
30972
+ CleanUpVirtualizedItemEvent = event(add_CleanUpVirtualizedItemEvent, remove_CleanUpVirtualizedItemEvent)
31463
30973
  class _WebView2_Meta_(ComPtr.__class__):
31464
30974
  pass
31465
30975
  class WebView2(ComPtr, metaclass=_WebView2_Meta_):
@@ -31480,7 +30990,7 @@ class WebView2(ComPtr, metaclass=_WebView2_Meta_):
31480
30990
  @winrt_mixinmethod
31481
30991
  def EnsureCoreWebView2Async(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2) -> win32more.Windows.Foundation.IAsyncAction: ...
31482
30992
  @winrt_mixinmethod
31483
- def ExecuteScriptAsync(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2, javascriptCode: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperation[WinRT_String]: ...
30993
+ def ExecuteScriptAsync(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2, javascriptCode: hstr) -> win32more.Windows.Foundation.IAsyncOperation[hstr]: ...
31484
30994
  @winrt_mixinmethod
31485
30995
  def get_Source(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2) -> win32more.Windows.Foundation.Uri: ...
31486
30996
  @winrt_mixinmethod
@@ -31504,7 +31014,7 @@ class WebView2(ComPtr, metaclass=_WebView2_Meta_):
31504
31014
  @winrt_mixinmethod
31505
31015
  def GoBack(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2) -> Void: ...
31506
31016
  @winrt_mixinmethod
31507
- def NavigateToString(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2, htmlContent: WinRT_String) -> Void: ...
31017
+ def NavigateToString(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2, htmlContent: hstr) -> Void: ...
31508
31018
  @winrt_mixinmethod
31509
31019
  def Close(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2) -> Void: ...
31510
31020
  @winrt_mixinmethod
@@ -31548,11 +31058,11 @@ class WebView2(ComPtr, metaclass=_WebView2_Meta_):
31548
31058
  _WebView2_Meta_.CanGoForwardProperty = property(get_CanGoForwardProperty, None)
31549
31059
  _WebView2_Meta_.DefaultBackgroundColorProperty = property(get_DefaultBackgroundColorProperty, None)
31550
31060
  _WebView2_Meta_.SourceProperty = property(get_SourceProperty, None)
31551
- NavigationCompleted = event()
31552
- WebMessageReceived = event()
31553
- NavigationStarting = event()
31554
- CoreProcessFailed = event()
31555
- CoreWebView2Initialized = event()
31061
+ CoreProcessFailed = event(add_CoreProcessFailed, remove_CoreProcessFailed)
31062
+ CoreWebView2Initialized = event(add_CoreWebView2Initialized, remove_CoreWebView2Initialized)
31063
+ NavigationCompleted = event(add_NavigationCompleted, remove_NavigationCompleted)
31064
+ NavigationStarting = event(add_NavigationStarting, remove_NavigationStarting)
31065
+ WebMessageReceived = event(add_WebMessageReceived, remove_WebMessageReceived)
31556
31066
  class _WrapGrid_Meta_(ComPtr.__class__):
31557
31067
  pass
31558
31068
  class WrapGrid(ComPtr, metaclass=_WrapGrid_Meta_):