win32more-Microsoft.WindowsAppSDK 0.6.1.7.250310001__py2.py3-none-any.whl → 0.7.1.7.251107005__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.
Files changed (83) hide show
  1. win32more/Microsoft/Foundation/__init__.py +1 -1
  2. win32more/Microsoft/Graphics/DirectX/__init__.py +1 -1
  3. win32more/Microsoft/Graphics/Display/__init__.py +9 -9
  4. win32more/Microsoft/Graphics/Imaging/__init__.py +77 -0
  5. win32more/Microsoft/Security/Authentication/OAuth/__init__.py +111 -111
  6. win32more/Microsoft/UI/Composition/Core/__init__.py +3 -3
  7. win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +1 -1
  8. win32more/Microsoft/UI/Composition/Effects/__init__.py +3 -3
  9. win32more/Microsoft/UI/Composition/Interactions/__init__.py +1 -1
  10. win32more/Microsoft/UI/Composition/Scenes/__init__.py +10 -10
  11. win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +8 -8
  12. win32more/Microsoft/UI/Composition/__init__.py +134 -134
  13. win32more/Microsoft/UI/Content/__init__.py +39 -39
  14. win32more/Microsoft/UI/Dispatching/__init__.py +11 -11
  15. win32more/Microsoft/UI/Input/DragDrop/__init__.py +7 -7
  16. win32more/Microsoft/UI/Input/Interop/__init__.py +1 -1
  17. win32more/Microsoft/UI/Input/__init__.py +103 -99
  18. win32more/Microsoft/UI/System/__init__.py +5 -5
  19. win32more/Microsoft/UI/Text/__init__.py +30 -30
  20. win32more/Microsoft/UI/Windowing/__init__.py +27 -27
  21. win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +56 -55
  22. win32more/Microsoft/UI/Xaml/Automation/Provider/__init__.py +19 -19
  23. win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +1 -1
  24. win32more/Microsoft/UI/Xaml/Automation/__init__.py +41 -41
  25. win32more/Microsoft/UI/Xaml/Controls/AnimatedVisuals/__init__.py +17 -17
  26. win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +108 -107
  27. win32more/Microsoft/UI/Xaml/Controls/__init__.py +744 -744
  28. win32more/Microsoft/UI/Xaml/Data/__init__.py +31 -30
  29. win32more/Microsoft/UI/Xaml/Documents/__init__.py +38 -37
  30. win32more/Microsoft/UI/Xaml/Hosting/__init__.py +7 -7
  31. win32more/Microsoft/UI/Xaml/Input/__init__.py +38 -31
  32. win32more/Microsoft/UI/Xaml/Interop/__init__.py +3 -3
  33. win32more/Microsoft/UI/Xaml/Markup/__init__.py +19 -17
  34. win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +111 -109
  35. win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +11 -11
  36. win32more/Microsoft/UI/Xaml/Media/Media3D/__init__.py +2 -1
  37. win32more/Microsoft/UI/Xaml/Media/__init__.py +34 -28
  38. win32more/Microsoft/UI/Xaml/Navigation/__init__.py +1 -1
  39. win32more/Microsoft/UI/Xaml/Printing/__init__.py +7 -7
  40. win32more/Microsoft/UI/Xaml/Resources/__init__.py +3 -3
  41. win32more/Microsoft/UI/Xaml/Shapes/__init__.py +1 -1
  42. win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py +2 -2
  43. win32more/Microsoft/UI/Xaml/__init__.py +190 -186
  44. win32more/Microsoft/UI/__init__.py +8 -5
  45. win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +197 -0
  46. win32more/Microsoft/Windows/AI/Imaging/__init__.py +366 -0
  47. win32more/Microsoft/Windows/AI/Text/__init__.py +261 -0
  48. win32more/Microsoft/Windows/AI/__init__.py +49 -0
  49. win32more/Microsoft/Windows/AppLifecycle/__init__.py +21 -21
  50. win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +99 -99
  51. win32more/Microsoft/Windows/AppNotifications/__init__.py +45 -45
  52. win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +1 -1
  53. win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +7 -7
  54. win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +22 -21
  55. win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +59 -59
  56. win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +32 -7
  57. win32more/Microsoft/Windows/BadgeNotifications/__init__.py +1 -1
  58. win32more/Microsoft/Windows/Globalization/__init__.py +9 -9
  59. win32more/Microsoft/Windows/Management/Deployment/__init__.py +86 -85
  60. win32more/Microsoft/Windows/Media/Capture/__init__.py +1 -1
  61. win32more/Microsoft/Windows/PushNotifications/__init__.py +6 -5
  62. win32more/Microsoft/Windows/Security/AccessControl/__init__.py +7 -6
  63. win32more/Microsoft/Windows/Storage/__init__.py +27 -27
  64. win32more/Microsoft/Windows/System/Power/__init__.py +23 -12
  65. win32more/Microsoft/Windows/System/__init__.py +15 -15
  66. win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +65 -65
  67. win32more/Microsoft/Windows/Widgets/Notifications/__init__.py +25 -25
  68. win32more/Microsoft/Windows/Widgets/Providers/__init__.py +91 -67
  69. win32more/Microsoft/Windows/Widgets/__init__.py +2 -2
  70. win32more/Microsoft/Windows/Workloads/__init__.py +11 -0
  71. win32more/appsdk/versioninfo.py +1 -1
  72. win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  73. win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  74. win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  75. win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  76. win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  77. win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  78. win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info/METADATA +6 -0
  79. win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info/RECORD +81 -0
  80. {win32more_microsoft_windowsappsdk-0.6.1.7.250310001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +1 -1
  81. win32more_microsoft_windowsappsdk-0.6.1.7.250310001.dist-info/METADATA +0 -6
  82. win32more_microsoft_windowsappsdk-0.6.1.7.250310001.dist-info/RECORD +0 -75
  83. {win32more_microsoft_windowsappsdk-0.6.1.7.250310001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info}/WHEEL +0 -0
@@ -1,5 +1,5 @@
1
1
  from __future__ import annotations
2
- from win32more.winrt.prelude import *
2
+ from win32more._prelude import *
3
3
  import win32more.Microsoft.UI
4
4
  import win32more.Microsoft.UI.Composition
5
5
  import win32more.Microsoft.UI.Input
@@ -71,9 +71,9 @@ class AnimatedIcon(ComPtr, metaclass=_AnimatedIcon_Meta_):
71
71
  @winrt_classmethod
72
72
  def get_StateProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IAnimatedIconStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
73
73
  @winrt_classmethod
74
- def SetState(cls: win32more.Microsoft.UI.Xaml.Controls.IAnimatedIconStatics, object: win32more.Microsoft.UI.Xaml.DependencyObject, value: WinRT_String) -> Void: ...
74
+ def SetState(cls: win32more.Microsoft.UI.Xaml.Controls.IAnimatedIconStatics, object: win32more.Microsoft.UI.Xaml.DependencyObject, value: hstr) -> Void: ...
75
75
  @winrt_classmethod
76
- def GetState(cls: win32more.Microsoft.UI.Xaml.Controls.IAnimatedIconStatics, object: win32more.Microsoft.UI.Xaml.DependencyObject) -> WinRT_String: ...
76
+ def GetState(cls: win32more.Microsoft.UI.Xaml.Controls.IAnimatedIconStatics, object: win32more.Microsoft.UI.Xaml.DependencyObject) -> hstr: ...
77
77
  @winrt_classmethod
78
78
  def get_SourceProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IAnimatedIconStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
79
79
  @winrt_classmethod
@@ -284,8 +284,8 @@ class AnnotatedScrollBar(ComPtr, metaclass=_AnnotatedScrollBar_Meta_):
284
284
  _AnnotatedScrollBar_Meta_.LabelTemplateProperty = property(get_LabelTemplateProperty, None)
285
285
  _AnnotatedScrollBar_Meta_.LabelsProperty = property(get_LabelsProperty, None)
286
286
  _AnnotatedScrollBar_Meta_.SmallChangeProperty = property(get_SmallChangeProperty, None)
287
- Scrolling = event()
288
- DetailLabelRequested = event()
287
+ DetailLabelRequested = event(add_DetailLabelRequested, remove_DetailLabelRequested)
288
+ Scrolling = event(add_Scrolling, remove_Scrolling)
289
289
  class AnnotatedScrollBarDetailLabelRequestedEventArgs(ComPtr):
290
290
  extends: IInspectable
291
291
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IAnnotatedScrollBarDetailLabelRequestedEventArgs
@@ -411,10 +411,10 @@ class AppBar(ComPtr, metaclass=_AppBar_Meta_):
411
411
  _AppBar_Meta_.IsOpenProperty = property(get_IsOpenProperty, None)
412
412
  _AppBar_Meta_.IsStickyProperty = property(get_IsStickyProperty, None)
413
413
  _AppBar_Meta_.LightDismissOverlayModeProperty = property(get_LightDismissOverlayModeProperty, None)
414
- Opening = event()
415
- Opened = event()
416
- Closing = event()
417
- Closed = event()
414
+ Closed = event(add_Closed, remove_Closed)
415
+ Closing = event(add_Closing, remove_Closing)
416
+ Opened = event(add_Opened, remove_Opened)
417
+ Opening = event(add_Opening, remove_Opening)
418
418
  class _AppBarButton_Meta_(ComPtr.__class__):
419
419
  pass
420
420
  class AppBarButton(ComPtr, metaclass=_AppBarButton_Meta_):
@@ -431,9 +431,9 @@ class AppBarButton(ComPtr, metaclass=_AppBarButton_Meta_):
431
431
  @winrt_factorymethod
432
432
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IAppBarButtonFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.AppBarButton: ...
433
433
  @winrt_mixinmethod
434
- def get_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton) -> WinRT_String: ...
434
+ def get_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton) -> hstr: ...
435
435
  @winrt_mixinmethod
436
- def put_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton, value: WinRT_String) -> Void: ...
436
+ def put_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton, value: hstr) -> Void: ...
437
437
  @winrt_mixinmethod
438
438
  def get_Icon(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
439
439
  @winrt_mixinmethod
@@ -443,9 +443,9 @@ class AppBarButton(ComPtr, metaclass=_AppBarButton_Meta_):
443
443
  @winrt_mixinmethod
444
444
  def put_LabelPosition(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton, value: win32more.Microsoft.UI.Xaml.Controls.CommandBarLabelPosition) -> Void: ...
445
445
  @winrt_mixinmethod
446
- def get_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton) -> WinRT_String: ...
446
+ def get_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton) -> hstr: ...
447
447
  @winrt_mixinmethod
448
- def put_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton, value: WinRT_String) -> Void: ...
448
+ def put_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton, value: hstr) -> Void: ...
449
449
  @winrt_mixinmethod
450
450
  def get_TemplateSettings(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarButton) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.AppBarButtonTemplateSettings: ...
451
451
  @winrt_mixinmethod
@@ -581,9 +581,9 @@ class AppBarToggleButton(ComPtr, metaclass=_AppBarToggleButton_Meta_):
581
581
  @winrt_factorymethod
582
582
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButtonFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.AppBarToggleButton: ...
583
583
  @winrt_mixinmethod
584
- def get_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton) -> WinRT_String: ...
584
+ def get_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton) -> hstr: ...
585
585
  @winrt_mixinmethod
586
- def put_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton, value: WinRT_String) -> Void: ...
586
+ def put_Label(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton, value: hstr) -> Void: ...
587
587
  @winrt_mixinmethod
588
588
  def get_Icon(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
589
589
  @winrt_mixinmethod
@@ -593,9 +593,9 @@ class AppBarToggleButton(ComPtr, metaclass=_AppBarToggleButton_Meta_):
593
593
  @winrt_mixinmethod
594
594
  def put_LabelPosition(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton, value: win32more.Microsoft.UI.Xaml.Controls.CommandBarLabelPosition) -> Void: ...
595
595
  @winrt_mixinmethod
596
- def get_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton) -> WinRT_String: ...
596
+ def get_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton) -> hstr: ...
597
597
  @winrt_mixinmethod
598
- def put_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton, value: WinRT_String) -> Void: ...
598
+ def put_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton, value: hstr) -> Void: ...
599
599
  @winrt_mixinmethod
600
600
  def get_TemplateSettings(self: win32more.Microsoft.UI.Xaml.Controls.IAppBarToggleButton) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.AppBarToggleButtonTemplateSettings: ...
601
601
  @winrt_mixinmethod
@@ -661,21 +661,21 @@ class AutoSuggestBox(ComPtr, metaclass=_AutoSuggestBox_Meta_):
661
661
  @winrt_mixinmethod
662
662
  def put_IsSuggestionListOpen(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: Boolean) -> Void: ...
663
663
  @winrt_mixinmethod
664
- def get_TextMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> WinRT_String: ...
664
+ def get_TextMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> hstr: ...
665
665
  @winrt_mixinmethod
666
- def put_TextMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: WinRT_String) -> Void: ...
666
+ def put_TextMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: hstr) -> Void: ...
667
667
  @winrt_mixinmethod
668
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> WinRT_String: ...
668
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> hstr: ...
669
669
  @winrt_mixinmethod
670
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: WinRT_String) -> Void: ...
670
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: hstr) -> Void: ...
671
671
  @winrt_mixinmethod
672
672
  def get_UpdateTextOnSelect(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> Boolean: ...
673
673
  @winrt_mixinmethod
674
674
  def put_UpdateTextOnSelect(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: Boolean) -> Void: ...
675
675
  @winrt_mixinmethod
676
- def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> WinRT_String: ...
676
+ def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> hstr: ...
677
677
  @winrt_mixinmethod
678
- def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: WinRT_String) -> Void: ...
678
+ def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox, value: hstr) -> Void: ...
679
679
  @winrt_mixinmethod
680
680
  def get_Header(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBox) -> IInspectable: ...
681
681
  @winrt_mixinmethod
@@ -760,9 +760,9 @@ class AutoSuggestBox(ComPtr, metaclass=_AutoSuggestBox_Meta_):
760
760
  _AutoSuggestBox_Meta_.TextMemberPathProperty = property(get_TextMemberPathProperty, None)
761
761
  _AutoSuggestBox_Meta_.TextProperty = property(get_TextProperty, None)
762
762
  _AutoSuggestBox_Meta_.UpdateTextOnSelectProperty = property(get_UpdateTextOnSelectProperty, None)
763
- SuggestionChosen = event()
764
- TextChanged = event()
765
- QuerySubmitted = event()
763
+ QuerySubmitted = event(add_QuerySubmitted, remove_QuerySubmitted)
764
+ SuggestionChosen = event(add_SuggestionChosen, remove_SuggestionChosen)
765
+ TextChanged = event(add_TextChanged, remove_TextChanged)
766
766
  class AutoSuggestBoxQuerySubmittedEventArgs(ComPtr):
767
767
  extends: win32more.Microsoft.UI.Xaml.DependencyObject
768
768
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBoxQuerySubmittedEventArgs
@@ -777,7 +777,7 @@ class AutoSuggestBoxQuerySubmittedEventArgs(ComPtr):
777
777
  @winrt_activatemethod
778
778
  def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Controls.AutoSuggestBoxQuerySubmittedEventArgs: ...
779
779
  @winrt_mixinmethod
780
- def get_QueryText(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBoxQuerySubmittedEventArgs) -> WinRT_String: ...
780
+ def get_QueryText(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBoxQuerySubmittedEventArgs) -> hstr: ...
781
781
  @winrt_mixinmethod
782
782
  def get_ChosenSuggestion(self: win32more.Microsoft.UI.Xaml.Controls.IAutoSuggestBoxQuerySubmittedEventArgs) -> IInspectable: ...
783
783
  ChosenSuggestion = property(get_ChosenSuggestion, None)
@@ -1008,7 +1008,7 @@ class BreadcrumbBar(ComPtr, metaclass=_BreadcrumbBar_Meta_):
1008
1008
  ItemsSource = property(get_ItemsSource, put_ItemsSource)
1009
1009
  _BreadcrumbBar_Meta_.ItemTemplateProperty = property(get_ItemTemplateProperty, None)
1010
1010
  _BreadcrumbBar_Meta_.ItemsSourceProperty = property(get_ItemsSourceProperty, None)
1011
- ItemClicked = event()
1011
+ ItemClicked = event(add_ItemClicked, remove_ItemClicked)
1012
1012
  class BreadcrumbBarItem(ComPtr):
1013
1013
  extends: win32more.Microsoft.UI.Xaml.Controls.ContentControl
1014
1014
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IBreadcrumbBarItem
@@ -1079,13 +1079,13 @@ class CalendarDatePicker(ComPtr, metaclass=_CalendarDatePicker_Meta_):
1079
1079
  @winrt_mixinmethod
1080
1080
  def put_IsCalendarOpen(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: Boolean) -> Void: ...
1081
1081
  @winrt_mixinmethod
1082
- def get_DateFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> WinRT_String: ...
1082
+ def get_DateFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> hstr: ...
1083
1083
  @winrt_mixinmethod
1084
- def put_DateFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: WinRT_String) -> Void: ...
1084
+ def put_DateFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: hstr) -> Void: ...
1085
1085
  @winrt_mixinmethod
1086
- def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> WinRT_String: ...
1086
+ def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> hstr: ...
1087
1087
  @winrt_mixinmethod
1088
- def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: WinRT_String) -> Void: ...
1088
+ def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: hstr) -> Void: ...
1089
1089
  @winrt_mixinmethod
1090
1090
  def get_Header(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> IInspectable: ...
1091
1091
  @winrt_mixinmethod
@@ -1127,13 +1127,13 @@ class CalendarDatePicker(ComPtr, metaclass=_CalendarDatePicker_Meta_):
1127
1127
  @winrt_mixinmethod
1128
1128
  def put_FirstDayOfWeek(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: win32more.Windows.Globalization.DayOfWeek) -> Void: ...
1129
1129
  @winrt_mixinmethod
1130
- def get_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> WinRT_String: ...
1130
+ def get_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> hstr: ...
1131
1131
  @winrt_mixinmethod
1132
- def put_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: WinRT_String) -> Void: ...
1132
+ def put_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: hstr) -> Void: ...
1133
1133
  @winrt_mixinmethod
1134
- def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> WinRT_String: ...
1134
+ def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> hstr: ...
1135
1135
  @winrt_mixinmethod
1136
- def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: WinRT_String) -> Void: ...
1136
+ def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker, value: hstr) -> Void: ...
1137
1137
  @winrt_mixinmethod
1138
1138
  def get_IsOutOfScopeEnabled(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePicker) -> Boolean: ...
1139
1139
  @winrt_mixinmethod
@@ -1234,10 +1234,10 @@ class CalendarDatePicker(ComPtr, metaclass=_CalendarDatePicker_Meta_):
1234
1234
  _CalendarDatePicker_Meta_.MaxDateProperty = property(get_MaxDateProperty, None)
1235
1235
  _CalendarDatePicker_Meta_.MinDateProperty = property(get_MinDateProperty, None)
1236
1236
  _CalendarDatePicker_Meta_.PlaceholderTextProperty = property(get_PlaceholderTextProperty, None)
1237
- CalendarViewDayItemChanging = event()
1238
- DateChanged = event()
1239
- Opened = event()
1240
- Closed = event()
1237
+ CalendarViewDayItemChanging = event(add_CalendarViewDayItemChanging, remove_CalendarViewDayItemChanging)
1238
+ Closed = event(add_Closed, remove_Closed)
1239
+ DateChanged = event(add_DateChanged, remove_DateChanged)
1240
+ Opened = event(add_Opened, remove_Opened)
1241
1241
  class CalendarDatePickerDateChangedEventArgs(ComPtr):
1242
1242
  extends: IInspectable
1243
1243
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ICalendarDatePickerDateChangedEventArgs
@@ -1264,13 +1264,13 @@ class CalendarView(ComPtr, metaclass=_CalendarView_Meta_):
1264
1264
  @winrt_factorymethod
1265
1265
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ICalendarViewFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.CalendarView: ...
1266
1266
  @winrt_mixinmethod
1267
- def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView) -> WinRT_String: ...
1267
+ def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView) -> hstr: ...
1268
1268
  @winrt_mixinmethod
1269
- def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView, value: WinRT_String) -> Void: ...
1269
+ def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView, value: hstr) -> Void: ...
1270
1270
  @winrt_mixinmethod
1271
- def get_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView) -> WinRT_String: ...
1271
+ def get_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView) -> hstr: ...
1272
1272
  @winrt_mixinmethod
1273
- def put_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView, value: WinRT_String) -> Void: ...
1273
+ def put_DayOfWeekFormat(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView, value: hstr) -> Void: ...
1274
1274
  @winrt_mixinmethod
1275
1275
  def get_IsGroupLabelVisible(self: win32more.Microsoft.UI.Xaml.Controls.ICalendarView) -> Boolean: ...
1276
1276
  @winrt_mixinmethod
@@ -1871,8 +1871,8 @@ class CalendarView(ComPtr, metaclass=_CalendarView_Meta_):
1871
1871
  _CalendarView_Meta_.TodaySelectedInnerBorderBrushProperty = property(get_TodaySelectedInnerBorderBrushProperty, None)
1872
1872
  _CalendarView_Meta_.VerticalDayItemAlignmentProperty = property(get_VerticalDayItemAlignmentProperty, None)
1873
1873
  _CalendarView_Meta_.VerticalFirstOfMonthLabelAlignmentProperty = property(get_VerticalFirstOfMonthLabelAlignmentProperty, None)
1874
- CalendarViewDayItemChanging = event()
1875
- SelectedDatesChanged = event()
1874
+ CalendarViewDayItemChanging = event(add_CalendarViewDayItemChanging, remove_CalendarViewDayItemChanging)
1875
+ SelectedDatesChanged = event(add_SelectedDatesChanged, remove_SelectedDatesChanged)
1876
1876
  class _CalendarViewDayItem_Meta_(ComPtr.__class__):
1877
1877
  pass
1878
1878
  class CalendarViewDayItem(ComPtr, metaclass=_CalendarViewDayItem_Meta_):
@@ -2273,7 +2273,7 @@ class ColorPicker(ComPtr, metaclass=_ColorPicker_Meta_):
2273
2273
  _ColorPicker_Meta_.MinValueProperty = property(get_MinValueProperty, None)
2274
2274
  _ColorPicker_Meta_.OrientationProperty = property(get_OrientationProperty, None)
2275
2275
  _ColorPicker_Meta_.PreviousColorProperty = property(get_PreviousColorProperty, None)
2276
- ColorChanged = event()
2276
+ ColorChanged = event(add_ColorChanged, remove_ColorChanged)
2277
2277
  class ColorPickerHsvChannel(Enum, Int32):
2278
2278
  Hue = 0
2279
2279
  Saturation = 1
@@ -2407,9 +2407,9 @@ class ComboBox(ComPtr, metaclass=_ComboBox_Meta_):
2407
2407
  @winrt_mixinmethod
2408
2408
  def put_HeaderTemplate(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
2409
2409
  @winrt_mixinmethod
2410
- def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox) -> WinRT_String: ...
2410
+ def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox) -> hstr: ...
2411
2411
  @winrt_mixinmethod
2412
- def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox, value: WinRT_String) -> Void: ...
2412
+ def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox, value: hstr) -> Void: ...
2413
2413
  @winrt_mixinmethod
2414
2414
  def get_LightDismissOverlayMode(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox) -> win32more.Microsoft.UI.Xaml.Controls.LightDismissOverlayMode: ...
2415
2415
  @winrt_mixinmethod
@@ -2427,9 +2427,9 @@ class ComboBox(ComPtr, metaclass=_ComboBox_Meta_):
2427
2427
  @winrt_mixinmethod
2428
2428
  def put_PlaceholderForeground(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox, value: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
2429
2429
  @winrt_mixinmethod
2430
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox) -> WinRT_String: ...
2430
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox) -> hstr: ...
2431
2431
  @winrt_mixinmethod
2432
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox, value: WinRT_String) -> Void: ...
2432
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox, value: hstr) -> Void: ...
2433
2433
  @winrt_mixinmethod
2434
2434
  def get_TextBoxStyle(self: win32more.Microsoft.UI.Xaml.Controls.IComboBox) -> win32more.Microsoft.UI.Xaml.Style: ...
2435
2435
  @winrt_mixinmethod
@@ -2510,9 +2510,9 @@ class ComboBox(ComPtr, metaclass=_ComboBox_Meta_):
2510
2510
  _ComboBox_Meta_.SelectionChangedTriggerProperty = property(get_SelectionChangedTriggerProperty, None)
2511
2511
  _ComboBox_Meta_.TextBoxStyleProperty = property(get_TextBoxStyleProperty, None)
2512
2512
  _ComboBox_Meta_.TextProperty = property(get_TextProperty, None)
2513
- DropDownClosed = event()
2514
- DropDownOpened = event()
2515
- TextSubmitted = event()
2513
+ DropDownClosed = event(add_DropDownClosed, remove_DropDownClosed)
2514
+ DropDownOpened = event(add_DropDownOpened, remove_DropDownOpened)
2515
+ TextSubmitted = event(add_TextSubmitted, remove_TextSubmitted)
2516
2516
  class ComboBoxItem(ComPtr):
2517
2517
  extends: win32more.Microsoft.UI.Xaml.Controls.Primitives.SelectorItem
2518
2518
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IComboBoxItem
@@ -2534,7 +2534,7 @@ class ComboBoxTextSubmittedEventArgs(ComPtr):
2534
2534
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IComboBoxTextSubmittedEventArgs
2535
2535
  _classid_ = 'Microsoft.UI.Xaml.Controls.ComboBoxTextSubmittedEventArgs'
2536
2536
  @winrt_mixinmethod
2537
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IComboBoxTextSubmittedEventArgs) -> WinRT_String: ...
2537
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IComboBoxTextSubmittedEventArgs) -> hstr: ...
2538
2538
  @winrt_mixinmethod
2539
2539
  def get_Handled(self: win32more.Microsoft.UI.Xaml.Controls.IComboBoxTextSubmittedEventArgs) -> Boolean: ...
2540
2540
  @winrt_mixinmethod
@@ -2607,7 +2607,7 @@ class CommandBar(ComPtr, metaclass=_CommandBar_Meta_):
2607
2607
  _CommandBar_Meta_.OverflowButtonVisibilityProperty = property(get_OverflowButtonVisibilityProperty, None)
2608
2608
  _CommandBar_Meta_.PrimaryCommandsProperty = property(get_PrimaryCommandsProperty, None)
2609
2609
  _CommandBar_Meta_.SecondaryCommandsProperty = property(get_SecondaryCommandsProperty, None)
2610
- DynamicOverflowItemsChanging = event()
2610
+ DynamicOverflowItemsChanging = event(add_DynamicOverflowItemsChanging, remove_DynamicOverflowItemsChanging)
2611
2611
  class CommandBarDefaultLabelPosition(Enum, Int32):
2612
2612
  Bottom = 0
2613
2613
  Right = 1
@@ -2780,17 +2780,17 @@ class ContentDialog(ComPtr, metaclass=_ContentDialog_Meta_):
2780
2780
  @winrt_mixinmethod
2781
2781
  def put_FullSizeDesired(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog, value: Boolean) -> Void: ...
2782
2782
  @winrt_mixinmethod
2783
- def get_PrimaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog) -> WinRT_String: ...
2783
+ def get_PrimaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog) -> hstr: ...
2784
2784
  @winrt_mixinmethod
2785
- def put_PrimaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog, value: WinRT_String) -> Void: ...
2785
+ def put_PrimaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog, value: hstr) -> Void: ...
2786
2786
  @winrt_mixinmethod
2787
- def get_SecondaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog) -> WinRT_String: ...
2787
+ def get_SecondaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog) -> hstr: ...
2788
2788
  @winrt_mixinmethod
2789
- def put_SecondaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog, value: WinRT_String) -> Void: ...
2789
+ def put_SecondaryButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog, value: hstr) -> Void: ...
2790
2790
  @winrt_mixinmethod
2791
- def get_CloseButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog) -> WinRT_String: ...
2791
+ def get_CloseButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog) -> hstr: ...
2792
2792
  @winrt_mixinmethod
2793
- def put_CloseButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog, value: WinRT_String) -> Void: ...
2793
+ def put_CloseButtonText(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog, value: hstr) -> Void: ...
2794
2794
  @winrt_mixinmethod
2795
2795
  def get_PrimaryButtonCommand(self: win32more.Microsoft.UI.Xaml.Controls.IContentDialog) -> win32more.Microsoft.UI.Xaml.Input.ICommand: ...
2796
2796
  @winrt_mixinmethod
@@ -2941,12 +2941,12 @@ class ContentDialog(ComPtr, metaclass=_ContentDialog_Meta_):
2941
2941
  _ContentDialog_Meta_.SecondaryButtonTextProperty = property(get_SecondaryButtonTextProperty, None)
2942
2942
  _ContentDialog_Meta_.TitleProperty = property(get_TitleProperty, None)
2943
2943
  _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()
2944
+ CloseButtonClick = event(add_CloseButtonClick, remove_CloseButtonClick)
2945
+ Closed = event(add_Closed, remove_Closed)
2946
+ Closing = event(add_Closing, remove_Closing)
2947
+ Opened = event(add_Opened, remove_Opened)
2948
+ PrimaryButtonClick = event(add_PrimaryButtonClick, remove_PrimaryButtonClick)
2949
+ SecondaryButtonClick = event(add_SecondaryButtonClick, remove_SecondaryButtonClick)
2950
2950
  class ContentDialogButton(Enum, Int32):
2951
2951
  None_ = 0
2952
2952
  Primary = 1
@@ -3391,7 +3391,7 @@ class Control(ComPtr, metaclass=_Control_Meta_):
3391
3391
  @winrt_mixinmethod
3392
3392
  def put_DefaultStyleKey(self: win32more.Microsoft.UI.Xaml.Controls.IControlProtected, value: IInspectable) -> Void: ...
3393
3393
  @winrt_mixinmethod
3394
- def GetTemplateChild(self: win32more.Microsoft.UI.Xaml.Controls.IControlProtected, childName: WinRT_String) -> win32more.Microsoft.UI.Xaml.DependencyObject: ...
3394
+ def GetTemplateChild(self: win32more.Microsoft.UI.Xaml.Controls.IControlProtected, childName: hstr) -> win32more.Microsoft.UI.Xaml.DependencyObject: ...
3395
3395
  @winrt_mixinmethod
3396
3396
  def OnPointerEntered(self: win32more.Microsoft.UI.Xaml.Controls.IControlOverrides, e: win32more.Microsoft.UI.Xaml.Input.PointerRoutedEventArgs) -> Void: ...
3397
3397
  @winrt_mixinmethod
@@ -3562,9 +3562,9 @@ class Control(ComPtr, metaclass=_Control_Meta_):
3562
3562
  _Control_Meta_.TabNavigationProperty = property(get_TabNavigationProperty, None)
3563
3563
  _Control_Meta_.TemplateProperty = property(get_TemplateProperty, None)
3564
3564
  _Control_Meta_.VerticalContentAlignmentProperty = property(get_VerticalContentAlignmentProperty, None)
3565
- FocusEngaged = event()
3566
- FocusDisengaged = event()
3567
- IsEnabledChanged = event()
3565
+ FocusDisengaged = event(add_FocusDisengaged, remove_FocusDisengaged)
3566
+ FocusEngaged = event(add_FocusEngaged, remove_FocusEngaged)
3567
+ IsEnabledChanged = event(add_IsEnabledChanged, remove_IsEnabledChanged)
3568
3568
  class ControlTemplate(ComPtr):
3569
3569
  extends: win32more.Microsoft.UI.Xaml.FrameworkTemplate
3570
3570
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IControlTemplate
@@ -3658,9 +3658,9 @@ class DatePicker(ComPtr, metaclass=_DatePicker_Meta_):
3658
3658
  @winrt_mixinmethod
3659
3659
  def put_HeaderTemplate(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
3660
3660
  @winrt_mixinmethod
3661
- def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> WinRT_String: ...
3661
+ def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> hstr: ...
3662
3662
  @winrt_mixinmethod
3663
- def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: WinRT_String) -> Void: ...
3663
+ def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: hstr) -> Void: ...
3664
3664
  @winrt_mixinmethod
3665
3665
  def get_Date(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> win32more.Windows.Foundation.DateTime: ...
3666
3666
  @winrt_mixinmethod
@@ -3678,17 +3678,17 @@ class DatePicker(ComPtr, metaclass=_DatePicker_Meta_):
3678
3678
  @winrt_mixinmethod
3679
3679
  def put_YearVisible(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: Boolean) -> Void: ...
3680
3680
  @winrt_mixinmethod
3681
- def get_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> WinRT_String: ...
3681
+ def get_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> hstr: ...
3682
3682
  @winrt_mixinmethod
3683
- def put_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: WinRT_String) -> Void: ...
3683
+ def put_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: hstr) -> Void: ...
3684
3684
  @winrt_mixinmethod
3685
- def get_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> WinRT_String: ...
3685
+ def get_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> hstr: ...
3686
3686
  @winrt_mixinmethod
3687
- def put_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: WinRT_String) -> Void: ...
3687
+ def put_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: hstr) -> Void: ...
3688
3688
  @winrt_mixinmethod
3689
- def get_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> WinRT_String: ...
3689
+ def get_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> hstr: ...
3690
3690
  @winrt_mixinmethod
3691
- def put_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: WinRT_String) -> Void: ...
3691
+ def put_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker, value: hstr) -> Void: ...
3692
3692
  @winrt_mixinmethod
3693
3693
  def get_MinYear(self: win32more.Microsoft.UI.Xaml.Controls.IDatePicker) -> win32more.Windows.Foundation.DateTime: ...
3694
3694
  @winrt_mixinmethod
@@ -3777,8 +3777,8 @@ class DatePicker(ComPtr, metaclass=_DatePicker_Meta_):
3777
3777
  _DatePicker_Meta_.SelectedDateProperty = property(get_SelectedDateProperty, None)
3778
3778
  _DatePicker_Meta_.YearFormatProperty = property(get_YearFormatProperty, None)
3779
3779
  _DatePicker_Meta_.YearVisibleProperty = property(get_YearVisibleProperty, None)
3780
- DateChanged = event()
3781
- SelectedDateChanged = event()
3780
+ DateChanged = event(add_DateChanged, remove_DateChanged)
3781
+ SelectedDateChanged = event(add_SelectedDateChanged, remove_SelectedDateChanged)
3782
3782
  class _DatePickerFlyout_Meta_(ComPtr.__class__):
3783
3783
  pass
3784
3784
  class DatePickerFlyout(ComPtr, metaclass=_DatePickerFlyout_Meta_):
@@ -3795,9 +3795,9 @@ class DatePickerFlyout(ComPtr, metaclass=_DatePickerFlyout_Meta_):
3795
3795
  @winrt_activatemethod
3796
3796
  def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Controls.DatePickerFlyout: ...
3797
3797
  @winrt_mixinmethod
3798
- def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> WinRT_String: ...
3798
+ def get_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> hstr: ...
3799
3799
  @winrt_mixinmethod
3800
- def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: WinRT_String) -> Void: ...
3800
+ def put_CalendarIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: hstr) -> Void: ...
3801
3801
  @winrt_mixinmethod
3802
3802
  def get_Date(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> win32more.Windows.Foundation.DateTime: ...
3803
3803
  @winrt_mixinmethod
@@ -3823,17 +3823,17 @@ class DatePickerFlyout(ComPtr, metaclass=_DatePickerFlyout_Meta_):
3823
3823
  @winrt_mixinmethod
3824
3824
  def put_MaxYear(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: win32more.Windows.Foundation.DateTime) -> Void: ...
3825
3825
  @winrt_mixinmethod
3826
- def get_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> WinRT_String: ...
3826
+ def get_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> hstr: ...
3827
3827
  @winrt_mixinmethod
3828
- def put_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: WinRT_String) -> Void: ...
3828
+ def put_DayFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: hstr) -> Void: ...
3829
3829
  @winrt_mixinmethod
3830
- def get_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> WinRT_String: ...
3830
+ def get_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> hstr: ...
3831
3831
  @winrt_mixinmethod
3832
- def put_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: WinRT_String) -> Void: ...
3832
+ def put_MonthFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: hstr) -> Void: ...
3833
3833
  @winrt_mixinmethod
3834
- def get_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> WinRT_String: ...
3834
+ def get_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout) -> hstr: ...
3835
3835
  @winrt_mixinmethod
3836
- def put_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: WinRT_String) -> Void: ...
3836
+ def put_YearFormat(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyout, value: hstr) -> Void: ...
3837
3837
  @winrt_mixinmethod
3838
3838
  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
3839
  @winrt_mixinmethod
@@ -3880,7 +3880,7 @@ class DatePickerFlyout(ComPtr, metaclass=_DatePickerFlyout_Meta_):
3880
3880
  _DatePickerFlyout_Meta_.MonthVisibleProperty = property(get_MonthVisibleProperty, None)
3881
3881
  _DatePickerFlyout_Meta_.YearFormatProperty = property(get_YearFormatProperty, None)
3882
3882
  _DatePickerFlyout_Meta_.YearVisibleProperty = property(get_YearVisibleProperty, None)
3883
- DatePicked = event()
3883
+ DatePicked = event(add_DatePicked, remove_DatePicked)
3884
3884
  class _DatePickerFlyoutItem_Meta_(ComPtr.__class__):
3885
3885
  pass
3886
3886
  class DatePickerFlyoutItem(ComPtr, metaclass=_DatePickerFlyoutItem_Meta_):
@@ -3888,19 +3888,19 @@ class DatePickerFlyoutItem(ComPtr, metaclass=_DatePickerFlyoutItem_Meta_):
3888
3888
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem
3889
3889
  _classid_ = 'Microsoft.UI.Xaml.Controls.DatePickerFlyoutItem'
3890
3890
  @winrt_mixinmethod
3891
- def get_PrimaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem) -> WinRT_String: ...
3891
+ def get_PrimaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem) -> hstr: ...
3892
3892
  @winrt_mixinmethod
3893
- def put_PrimaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem, value: WinRT_String) -> Void: ...
3893
+ def put_PrimaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem, value: hstr) -> Void: ...
3894
3894
  @winrt_mixinmethod
3895
- def get_SecondaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem) -> WinRT_String: ...
3895
+ def get_SecondaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem) -> hstr: ...
3896
3896
  @winrt_mixinmethod
3897
- def put_SecondaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem, value: WinRT_String) -> Void: ...
3897
+ def put_SecondaryText(self: win32more.Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem, value: hstr) -> Void: ...
3898
3898
  @winrt_mixinmethod
3899
- def GetCustomProperty(self: win32more.Microsoft.UI.Xaml.Data.ICustomPropertyProvider, name: WinRT_String) -> win32more.Microsoft.UI.Xaml.Data.ICustomProperty: ...
3899
+ def GetCustomProperty(self: win32more.Microsoft.UI.Xaml.Data.ICustomPropertyProvider, name: hstr) -> win32more.Microsoft.UI.Xaml.Data.ICustomProperty: ...
3900
3900
  @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: ...
3901
+ 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
3902
  @winrt_mixinmethod
3903
- def GetStringRepresentation(self: win32more.Microsoft.UI.Xaml.Data.ICustomPropertyProvider) -> WinRT_String: ...
3903
+ def GetStringRepresentation(self: win32more.Microsoft.UI.Xaml.Data.ICustomPropertyProvider) -> hstr: ...
3904
3904
  @winrt_mixinmethod
3905
3905
  def get_Type(self: win32more.Microsoft.UI.Xaml.Data.ICustomPropertyProvider) -> win32more.Windows.UI.Xaml.Interop.TypeName: ...
3906
3906
  @winrt_classmethod
@@ -4093,8 +4093,8 @@ class Expander(ComPtr, metaclass=_Expander_Meta_):
4093
4093
  _Expander_Meta_.HeaderTemplateProperty = property(get_HeaderTemplateProperty, None)
4094
4094
  _Expander_Meta_.HeaderTemplateSelectorProperty = property(get_HeaderTemplateSelectorProperty, None)
4095
4095
  _Expander_Meta_.IsExpandedProperty = property(get_IsExpandedProperty, None)
4096
- Expanding = event()
4097
- Collapsed = event()
4096
+ Collapsed = event(add_Collapsed, remove_Collapsed)
4097
+ Expanding = event(add_Expanding, remove_Expanding)
4098
4098
  class ExpanderCollapsedEventArgs(ComPtr):
4099
4099
  extends: IInspectable
4100
4100
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IExpanderCollapsedEventArgs
@@ -4232,9 +4232,9 @@ class FontIcon(ComPtr, metaclass=_FontIcon_Meta_):
4232
4232
  @winrt_factorymethod
4233
4233
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IFontIconFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.FontIcon: ...
4234
4234
  @winrt_mixinmethod
4235
- def get_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIcon) -> WinRT_String: ...
4235
+ def get_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIcon) -> hstr: ...
4236
4236
  @winrt_mixinmethod
4237
- def put_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIcon, value: WinRT_String) -> Void: ...
4237
+ def put_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIcon, value: hstr) -> Void: ...
4238
4238
  @winrt_mixinmethod
4239
4239
  def get_FontSize(self: win32more.Microsoft.UI.Xaml.Controls.IFontIcon) -> Double: ...
4240
4240
  @winrt_mixinmethod
@@ -4303,9 +4303,9 @@ class FontIconSource(ComPtr, metaclass=_FontIconSource_Meta_):
4303
4303
  @winrt_factorymethod
4304
4304
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IFontIconSourceFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.FontIconSource: ...
4305
4305
  @winrt_mixinmethod
4306
- def get_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIconSource) -> WinRT_String: ...
4306
+ def get_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIconSource) -> hstr: ...
4307
4307
  @winrt_mixinmethod
4308
- def put_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIconSource, value: WinRT_String) -> Void: ...
4308
+ def put_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IFontIconSource, value: hstr) -> Void: ...
4309
4309
  @winrt_mixinmethod
4310
4310
  def get_FontSize(self: win32more.Microsoft.UI.Xaml.Controls.IFontIconSource) -> Double: ...
4311
4311
  @winrt_mixinmethod
@@ -4427,11 +4427,11 @@ class Frame(ComPtr, metaclass=_Frame_Meta_):
4427
4427
  @winrt_mixinmethod
4428
4428
  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
4429
  @winrt_mixinmethod
4430
- def GetNavigationState(self: win32more.Microsoft.UI.Xaml.Controls.IFrame) -> WinRT_String: ...
4430
+ def GetNavigationState(self: win32more.Microsoft.UI.Xaml.Controls.IFrame) -> hstr: ...
4431
4431
  @winrt_mixinmethod
4432
- def SetNavigationState(self: win32more.Microsoft.UI.Xaml.Controls.IFrame, navigationState: WinRT_String) -> Void: ...
4432
+ def SetNavigationState(self: win32more.Microsoft.UI.Xaml.Controls.IFrame, navigationState: hstr) -> Void: ...
4433
4433
  @winrt_mixinmethod
4434
- def SetNavigationStateWithNavigationControl(self: win32more.Microsoft.UI.Xaml.Controls.IFrame, navigationState: WinRT_String, suppressNavigate: Boolean) -> Void: ...
4434
+ def SetNavigationStateWithNavigationControl(self: win32more.Microsoft.UI.Xaml.Controls.IFrame, navigationState: hstr, suppressNavigate: Boolean) -> Void: ...
4435
4435
  @Navigate.register
4436
4436
  @winrt_mixinmethod
4437
4437
  def Navigate(self: win32more.Microsoft.UI.Xaml.Controls.INavigate, sourcePageType: win32more.Windows.UI.Xaml.Interop.TypeName) -> Boolean: ...
@@ -4471,10 +4471,10 @@ class Frame(ComPtr, metaclass=_Frame_Meta_):
4471
4471
  _Frame_Meta_.ForwardStackProperty = property(get_ForwardStackProperty, None)
4472
4472
  _Frame_Meta_.IsNavigationStackEnabledProperty = property(get_IsNavigationStackEnabledProperty, None)
4473
4473
  _Frame_Meta_.SourcePageTypeProperty = property(get_SourcePageTypeProperty, None)
4474
- Navigated = event()
4475
- Navigating = event()
4476
- NavigationFailed = event()
4477
- NavigationStopped = event()
4474
+ Navigated = event(add_Navigated, remove_Navigated)
4475
+ Navigating = event(add_Navigating, remove_Navigating)
4476
+ NavigationFailed = event(add_NavigationFailed, remove_NavigationFailed)
4477
+ NavigationStopped = event(add_NavigationStopped, remove_NavigationStopped)
4478
4478
  class _Grid_Meta_(ComPtr.__class__):
4479
4479
  pass
4480
4480
  class Grid(ComPtr, metaclass=_Grid_Meta_):
@@ -4687,7 +4687,7 @@ class GroupStyle(ComPtr):
4687
4687
  HeaderTemplateSelector = property(get_HeaderTemplateSelector, put_HeaderTemplateSelector)
4688
4688
  HidesIfEmpty = property(get_HidesIfEmpty, put_HidesIfEmpty)
4689
4689
  Panel = property(get_Panel, put_Panel)
4690
- PropertyChanged = event()
4690
+ PropertyChanged = event(add_PropertyChanged, remove_PropertyChanged)
4691
4691
  class GroupStyleSelector(ComPtr):
4692
4692
  extends: IInspectable
4693
4693
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IGroupStyleSelector
@@ -4816,8 +4816,8 @@ class Hub(ComPtr, metaclass=_Hub_Meta_):
4816
4816
  _Hub_Meta_.IsZoomedInViewProperty = property(get_IsZoomedInViewProperty, None)
4817
4817
  _Hub_Meta_.OrientationProperty = property(get_OrientationProperty, None)
4818
4818
  _Hub_Meta_.SemanticZoomOwnerProperty = property(get_SemanticZoomOwnerProperty, None)
4819
- SectionHeaderClick = event()
4820
- SectionsInViewChanged = event()
4819
+ SectionHeaderClick = event(add_SectionHeaderClick, remove_SectionHeaderClick)
4820
+ SectionsInViewChanged = event(add_SectionsInViewChanged, remove_SectionsInViewChanged)
4821
4821
  class _HubSection_Meta_(ComPtr.__class__):
4822
4822
  pass
4823
4823
  class HubSection(ComPtr, metaclass=_HubSection_Meta_):
@@ -5023,9 +5023,9 @@ class IAnimatedIconStatics(ComPtr):
5023
5023
  @winrt_commethod(6)
5024
5024
  def get_StateProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
5025
5025
  @winrt_commethod(7)
5026
- def SetState(self, object: win32more.Microsoft.UI.Xaml.DependencyObject, value: WinRT_String) -> Void: ...
5026
+ def SetState(self, object: win32more.Microsoft.UI.Xaml.DependencyObject, value: hstr) -> Void: ...
5027
5027
  @winrt_commethod(8)
5028
- def GetState(self, object: win32more.Microsoft.UI.Xaml.DependencyObject) -> WinRT_String: ...
5028
+ def GetState(self, object: win32more.Microsoft.UI.Xaml.DependencyObject) -> hstr: ...
5029
5029
  @winrt_commethod(9)
5030
5030
  def get_SourceProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
5031
5031
  @winrt_commethod(10)
@@ -5177,9 +5177,9 @@ class IAnimatedVisualSource2(ComPtr):
5177
5177
  _classid_ = 'Microsoft.UI.Xaml.Controls.IAnimatedVisualSource2'
5178
5178
  _iid_ = Guid('{1a3b53a7-a8fe-59a1-b544-43a4d9c81ef2}')
5179
5179
  @winrt_commethod(6)
5180
- def get_Markers(self) -> win32more.Windows.Foundation.Collections.IMapView[WinRT_String, Double]: ...
5180
+ def get_Markers(self) -> win32more.Windows.Foundation.Collections.IMapView[hstr, Double]: ...
5181
5181
  @winrt_commethod(7)
5182
- def SetColorProperty(self, propertyName: WinRT_String, value: win32more.Windows.UI.Color) -> Void: ...
5182
+ def SetColorProperty(self, propertyName: hstr, value: win32more.Windows.UI.Color) -> Void: ...
5183
5183
  Markers = property(get_Markers, None)
5184
5184
  class IAnimatedVisualSource3(ComPtr):
5185
5185
  extends: IInspectable
@@ -5222,8 +5222,8 @@ class IAnnotatedScrollBar(ComPtr):
5222
5222
  Labels = property(get_Labels, put_Labels)
5223
5223
  ScrollController = property(get_ScrollController, None)
5224
5224
  SmallChange = property(get_SmallChange, put_SmallChange)
5225
- Scrolling = event()
5226
- DetailLabelRequested = event()
5225
+ DetailLabelRequested = event(add_DetailLabelRequested, remove_DetailLabelRequested)
5226
+ Scrolling = event(add_Scrolling, remove_Scrolling)
5227
5227
  class IAnnotatedScrollBarDetailLabelRequestedEventArgs(ComPtr):
5228
5228
  extends: IInspectable
5229
5229
  _classid_ = 'Microsoft.UI.Xaml.Controls.IAnnotatedScrollBarDetailLabelRequestedEventArgs'
@@ -5332,18 +5332,18 @@ class IAppBar(ComPtr):
5332
5332
  IsSticky = property(get_IsSticky, put_IsSticky)
5333
5333
  LightDismissOverlayMode = property(get_LightDismissOverlayMode, put_LightDismissOverlayMode)
5334
5334
  TemplateSettings = property(get_TemplateSettings, None)
5335
- Opening = event()
5336
- Opened = event()
5337
- Closing = event()
5338
- Closed = event()
5335
+ Closed = event(add_Closed, remove_Closed)
5336
+ Closing = event(add_Closing, remove_Closing)
5337
+ Opened = event(add_Opened, remove_Opened)
5338
+ Opening = event(add_Opening, remove_Opening)
5339
5339
  class IAppBarButton(ComPtr):
5340
5340
  extends: IInspectable
5341
5341
  _classid_ = 'Microsoft.UI.Xaml.Controls.IAppBarButton'
5342
5342
  _iid_ = Guid('{8ab0e278-b6ae-569e-8dcd-d293552fe4d5}')
5343
5343
  @winrt_commethod(6)
5344
- def get_Label(self) -> WinRT_String: ...
5344
+ def get_Label(self) -> hstr: ...
5345
5345
  @winrt_commethod(7)
5346
- def put_Label(self, value: WinRT_String) -> Void: ...
5346
+ def put_Label(self, value: hstr) -> Void: ...
5347
5347
  @winrt_commethod(8)
5348
5348
  def get_Icon(self) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
5349
5349
  @winrt_commethod(9)
@@ -5353,9 +5353,9 @@ class IAppBarButton(ComPtr):
5353
5353
  @winrt_commethod(11)
5354
5354
  def put_LabelPosition(self, value: win32more.Microsoft.UI.Xaml.Controls.CommandBarLabelPosition) -> Void: ...
5355
5355
  @winrt_commethod(12)
5356
- def get_KeyboardAcceleratorTextOverride(self) -> WinRT_String: ...
5356
+ def get_KeyboardAcceleratorTextOverride(self) -> hstr: ...
5357
5357
  @winrt_commethod(13)
5358
- def put_KeyboardAcceleratorTextOverride(self, value: WinRT_String) -> Void: ...
5358
+ def put_KeyboardAcceleratorTextOverride(self, value: hstr) -> Void: ...
5359
5359
  @winrt_commethod(14)
5360
5360
  def get_TemplateSettings(self) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.AppBarButtonTemplateSettings: ...
5361
5361
  Icon = property(get_Icon, put_Icon)
@@ -5479,9 +5479,9 @@ class IAppBarToggleButton(ComPtr):
5479
5479
  _classid_ = 'Microsoft.UI.Xaml.Controls.IAppBarToggleButton'
5480
5480
  _iid_ = Guid('{9687c0b1-c390-59be-acdc-4fc48f552823}')
5481
5481
  @winrt_commethod(6)
5482
- def get_Label(self) -> WinRT_String: ...
5482
+ def get_Label(self) -> hstr: ...
5483
5483
  @winrt_commethod(7)
5484
- def put_Label(self, value: WinRT_String) -> Void: ...
5484
+ def put_Label(self, value: hstr) -> Void: ...
5485
5485
  @winrt_commethod(8)
5486
5486
  def get_Icon(self) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
5487
5487
  @winrt_commethod(9)
@@ -5491,9 +5491,9 @@ class IAppBarToggleButton(ComPtr):
5491
5491
  @winrt_commethod(11)
5492
5492
  def put_LabelPosition(self, value: win32more.Microsoft.UI.Xaml.Controls.CommandBarLabelPosition) -> Void: ...
5493
5493
  @winrt_commethod(12)
5494
- def get_KeyboardAcceleratorTextOverride(self) -> WinRT_String: ...
5494
+ def get_KeyboardAcceleratorTextOverride(self) -> hstr: ...
5495
5495
  @winrt_commethod(13)
5496
- def put_KeyboardAcceleratorTextOverride(self, value: WinRT_String) -> Void: ...
5496
+ def put_KeyboardAcceleratorTextOverride(self, value: hstr) -> Void: ...
5497
5497
  @winrt_commethod(14)
5498
5498
  def get_TemplateSettings(self) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.AppBarToggleButtonTemplateSettings: ...
5499
5499
  Icon = property(get_Icon, put_Icon)
@@ -5545,21 +5545,21 @@ class IAutoSuggestBox(ComPtr):
5545
5545
  @winrt_commethod(9)
5546
5546
  def put_IsSuggestionListOpen(self, value: Boolean) -> Void: ...
5547
5547
  @winrt_commethod(10)
5548
- def get_TextMemberPath(self) -> WinRT_String: ...
5548
+ def get_TextMemberPath(self) -> hstr: ...
5549
5549
  @winrt_commethod(11)
5550
- def put_TextMemberPath(self, value: WinRT_String) -> Void: ...
5550
+ def put_TextMemberPath(self, value: hstr) -> Void: ...
5551
5551
  @winrt_commethod(12)
5552
- def get_Text(self) -> WinRT_String: ...
5552
+ def get_Text(self) -> hstr: ...
5553
5553
  @winrt_commethod(13)
5554
- def put_Text(self, value: WinRT_String) -> Void: ...
5554
+ def put_Text(self, value: hstr) -> Void: ...
5555
5555
  @winrt_commethod(14)
5556
5556
  def get_UpdateTextOnSelect(self) -> Boolean: ...
5557
5557
  @winrt_commethod(15)
5558
5558
  def put_UpdateTextOnSelect(self, value: Boolean) -> Void: ...
5559
5559
  @winrt_commethod(16)
5560
- def get_PlaceholderText(self) -> WinRT_String: ...
5560
+ def get_PlaceholderText(self) -> hstr: ...
5561
5561
  @winrt_commethod(17)
5562
- def put_PlaceholderText(self, value: WinRT_String) -> Void: ...
5562
+ def put_PlaceholderText(self, value: hstr) -> Void: ...
5563
5563
  @winrt_commethod(18)
5564
5564
  def get_Header(self) -> IInspectable: ...
5565
5565
  @winrt_commethod(19)
@@ -5608,15 +5608,15 @@ class IAutoSuggestBox(ComPtr):
5608
5608
  TextBoxStyle = property(get_TextBoxStyle, put_TextBoxStyle)
5609
5609
  TextMemberPath = property(get_TextMemberPath, put_TextMemberPath)
5610
5610
  UpdateTextOnSelect = property(get_UpdateTextOnSelect, put_UpdateTextOnSelect)
5611
- SuggestionChosen = event()
5612
- TextChanged = event()
5613
- QuerySubmitted = event()
5611
+ QuerySubmitted = event(add_QuerySubmitted, remove_QuerySubmitted)
5612
+ SuggestionChosen = event(add_SuggestionChosen, remove_SuggestionChosen)
5613
+ TextChanged = event(add_TextChanged, remove_TextChanged)
5614
5614
  class IAutoSuggestBoxQuerySubmittedEventArgs(ComPtr):
5615
5615
  extends: IInspectable
5616
5616
  _classid_ = 'Microsoft.UI.Xaml.Controls.IAutoSuggestBoxQuerySubmittedEventArgs'
5617
5617
  _iid_ = Guid('{26da5de4-57a6-57bf-acc9-aac599c0b22b}')
5618
5618
  @winrt_commethod(6)
5619
- def get_QueryText(self) -> WinRT_String: ...
5619
+ def get_QueryText(self) -> hstr: ...
5620
5620
  @winrt_commethod(7)
5621
5621
  def get_ChosenSuggestion(self) -> IInspectable: ...
5622
5622
  ChosenSuggestion = property(get_ChosenSuggestion, None)
@@ -5838,7 +5838,7 @@ class IBreadcrumbBar(ComPtr):
5838
5838
  def remove_ItemClicked(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
5839
5839
  ItemTemplate = property(get_ItemTemplate, put_ItemTemplate)
5840
5840
  ItemsSource = property(get_ItemsSource, put_ItemsSource)
5841
- ItemClicked = event()
5841
+ ItemClicked = event(add_ItemClicked, remove_ItemClicked)
5842
5842
  class IBreadcrumbBarFactory(ComPtr):
5843
5843
  extends: IInspectable
5844
5844
  _classid_ = 'Microsoft.UI.Xaml.Controls.IBreadcrumbBarFactory'
@@ -5910,13 +5910,13 @@ class ICalendarDatePicker(ComPtr):
5910
5910
  @winrt_commethod(9)
5911
5911
  def put_IsCalendarOpen(self, value: Boolean) -> Void: ...
5912
5912
  @winrt_commethod(10)
5913
- def get_DateFormat(self) -> WinRT_String: ...
5913
+ def get_DateFormat(self) -> hstr: ...
5914
5914
  @winrt_commethod(11)
5915
- def put_DateFormat(self, value: WinRT_String) -> Void: ...
5915
+ def put_DateFormat(self, value: hstr) -> Void: ...
5916
5916
  @winrt_commethod(12)
5917
- def get_PlaceholderText(self) -> WinRT_String: ...
5917
+ def get_PlaceholderText(self) -> hstr: ...
5918
5918
  @winrt_commethod(13)
5919
- def put_PlaceholderText(self, value: WinRT_String) -> Void: ...
5919
+ def put_PlaceholderText(self, value: hstr) -> Void: ...
5920
5920
  @winrt_commethod(14)
5921
5921
  def get_Header(self) -> IInspectable: ...
5922
5922
  @winrt_commethod(15)
@@ -5958,13 +5958,13 @@ class ICalendarDatePicker(ComPtr):
5958
5958
  @winrt_commethod(33)
5959
5959
  def put_FirstDayOfWeek(self, value: win32more.Windows.Globalization.DayOfWeek) -> Void: ...
5960
5960
  @winrt_commethod(34)
5961
- def get_DayOfWeekFormat(self) -> WinRT_String: ...
5961
+ def get_DayOfWeekFormat(self) -> hstr: ...
5962
5962
  @winrt_commethod(35)
5963
- def put_DayOfWeekFormat(self, value: WinRT_String) -> Void: ...
5963
+ def put_DayOfWeekFormat(self, value: hstr) -> Void: ...
5964
5964
  @winrt_commethod(36)
5965
- def get_CalendarIdentifier(self) -> WinRT_String: ...
5965
+ def get_CalendarIdentifier(self) -> hstr: ...
5966
5966
  @winrt_commethod(37)
5967
- def put_CalendarIdentifier(self, value: WinRT_String) -> Void: ...
5967
+ def put_CalendarIdentifier(self, value: hstr) -> Void: ...
5968
5968
  @winrt_commethod(38)
5969
5969
  def get_IsOutOfScopeEnabled(self) -> Boolean: ...
5970
5970
  @winrt_commethod(39)
@@ -6011,10 +6011,10 @@ class ICalendarDatePicker(ComPtr):
6011
6011
  MaxDate = property(get_MaxDate, put_MaxDate)
6012
6012
  MinDate = property(get_MinDate, put_MinDate)
6013
6013
  PlaceholderText = property(get_PlaceholderText, put_PlaceholderText)
6014
- CalendarViewDayItemChanging = event()
6015
- DateChanged = event()
6016
- Opened = event()
6017
- Closed = event()
6014
+ CalendarViewDayItemChanging = event(add_CalendarViewDayItemChanging, remove_CalendarViewDayItemChanging)
6015
+ Closed = event(add_Closed, remove_Closed)
6016
+ DateChanged = event(add_DateChanged, remove_DateChanged)
6017
+ Opened = event(add_Opened, remove_Opened)
6018
6018
  class ICalendarDatePickerDateChangedEventArgs(ComPtr):
6019
6019
  extends: IInspectable
6020
6020
  _classid_ = 'Microsoft.UI.Xaml.Controls.ICalendarDatePickerDateChangedEventArgs'
@@ -6094,13 +6094,13 @@ class ICalendarView(ComPtr):
6094
6094
  _classid_ = 'Microsoft.UI.Xaml.Controls.ICalendarView'
6095
6095
  _iid_ = Guid('{e786081e-b680-56ab-bfbb-52d5b17c365e}')
6096
6096
  @winrt_commethod(6)
6097
- def get_CalendarIdentifier(self) -> WinRT_String: ...
6097
+ def get_CalendarIdentifier(self) -> hstr: ...
6098
6098
  @winrt_commethod(7)
6099
- def put_CalendarIdentifier(self, value: WinRT_String) -> Void: ...
6099
+ def put_CalendarIdentifier(self, value: hstr) -> Void: ...
6100
6100
  @winrt_commethod(8)
6101
- def get_DayOfWeekFormat(self) -> WinRT_String: ...
6101
+ def get_DayOfWeekFormat(self) -> hstr: ...
6102
6102
  @winrt_commethod(9)
6103
- def put_DayOfWeekFormat(self, value: WinRT_String) -> Void: ...
6103
+ def put_DayOfWeekFormat(self, value: hstr) -> Void: ...
6104
6104
  @winrt_commethod(10)
6105
6105
  def get_IsGroupLabelVisible(self) -> Boolean: ...
6106
6106
  @winrt_commethod(11)
@@ -6476,8 +6476,8 @@ class ICalendarView(ComPtr):
6476
6476
  TodaySelectedInnerBorderBrush = property(get_TodaySelectedInnerBorderBrush, put_TodaySelectedInnerBorderBrush)
6477
6477
  VerticalDayItemAlignment = property(get_VerticalDayItemAlignment, put_VerticalDayItemAlignment)
6478
6478
  VerticalFirstOfMonthLabelAlignment = property(get_VerticalFirstOfMonthLabelAlignment, put_VerticalFirstOfMonthLabelAlignment)
6479
- CalendarViewDayItemChanging = event()
6480
- SelectedDatesChanged = event()
6479
+ CalendarViewDayItemChanging = event(add_CalendarViewDayItemChanging, remove_CalendarViewDayItemChanging)
6480
+ SelectedDatesChanged = event(add_SelectedDatesChanged, remove_SelectedDatesChanged)
6481
6481
  class ICalendarViewDayItem(ComPtr):
6482
6482
  extends: IInspectable
6483
6483
  _classid_ = 'Microsoft.UI.Xaml.Controls.ICalendarViewDayItem'
@@ -6985,7 +6985,7 @@ class IColorPicker(ComPtr):
6985
6985
  MinSaturation = property(get_MinSaturation, put_MinSaturation)
6986
6986
  MinValue = property(get_MinValue, put_MinValue)
6987
6987
  PreviousColor = property(get_PreviousColor, put_PreviousColor)
6988
- ColorChanged = event()
6988
+ ColorChanged = event(add_ColorChanged, remove_ColorChanged)
6989
6989
  class IColorPicker2(ComPtr):
6990
6990
  extends: IInspectable
6991
6991
  _classid_ = 'Microsoft.UI.Xaml.Controls.IColorPicker2'
@@ -7137,9 +7137,9 @@ class IComboBox(ComPtr):
7137
7137
  @winrt_commethod(19)
7138
7138
  def put_HeaderTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
7139
7139
  @winrt_commethod(20)
7140
- def get_PlaceholderText(self) -> WinRT_String: ...
7140
+ def get_PlaceholderText(self) -> hstr: ...
7141
7141
  @winrt_commethod(21)
7142
- def put_PlaceholderText(self, value: WinRT_String) -> Void: ...
7142
+ def put_PlaceholderText(self, value: hstr) -> Void: ...
7143
7143
  @winrt_commethod(22)
7144
7144
  def get_LightDismissOverlayMode(self) -> win32more.Microsoft.UI.Xaml.Controls.LightDismissOverlayMode: ...
7145
7145
  @winrt_commethod(23)
@@ -7157,9 +7157,9 @@ class IComboBox(ComPtr):
7157
7157
  @winrt_commethod(29)
7158
7158
  def put_PlaceholderForeground(self, value: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
7159
7159
  @winrt_commethod(30)
7160
- def get_Text(self) -> WinRT_String: ...
7160
+ def get_Text(self) -> hstr: ...
7161
7161
  @winrt_commethod(31)
7162
- def put_Text(self, value: WinRT_String) -> Void: ...
7162
+ def put_Text(self, value: hstr) -> Void: ...
7163
7163
  @winrt_commethod(32)
7164
7164
  def get_TextBoxStyle(self) -> win32more.Microsoft.UI.Xaml.Style: ...
7165
7165
  @winrt_commethod(33)
@@ -7197,9 +7197,9 @@ class IComboBox(ComPtr):
7197
7197
  TemplateSettings = property(get_TemplateSettings, None)
7198
7198
  Text = property(get_Text, put_Text)
7199
7199
  TextBoxStyle = property(get_TextBoxStyle, put_TextBoxStyle)
7200
- DropDownClosed = event()
7201
- DropDownOpened = event()
7202
- TextSubmitted = event()
7200
+ DropDownClosed = event(add_DropDownClosed, remove_DropDownClosed)
7201
+ DropDownOpened = event(add_DropDownOpened, remove_DropDownOpened)
7202
+ TextSubmitted = event(add_TextSubmitted, remove_TextSubmitted)
7203
7203
  class IComboBoxFactory(ComPtr):
7204
7204
  extends: IInspectable
7205
7205
  _classid_ = 'Microsoft.UI.Xaml.Controls.IComboBoxFactory'
@@ -7272,7 +7272,7 @@ class IComboBoxTextSubmittedEventArgs(ComPtr):
7272
7272
  _classid_ = 'Microsoft.UI.Xaml.Controls.IComboBoxTextSubmittedEventArgs'
7273
7273
  _iid_ = Guid('{0d7a9794-73b5-585e-bfbb-de6df7eb9fcf}')
7274
7274
  @winrt_commethod(6)
7275
- def get_Text(self) -> WinRT_String: ...
7275
+ def get_Text(self) -> hstr: ...
7276
7276
  @winrt_commethod(7)
7277
7277
  def get_Handled(self) -> Boolean: ...
7278
7278
  @winrt_commethod(8)
@@ -7316,7 +7316,7 @@ class ICommandBar(ComPtr):
7316
7316
  OverflowButtonVisibility = property(get_OverflowButtonVisibility, put_OverflowButtonVisibility)
7317
7317
  PrimaryCommands = property(get_PrimaryCommands, None)
7318
7318
  SecondaryCommands = property(get_SecondaryCommands, None)
7319
- DynamicOverflowItemsChanging = event()
7319
+ DynamicOverflowItemsChanging = event(add_DynamicOverflowItemsChanging, remove_DynamicOverflowItemsChanging)
7320
7320
  class ICommandBarElement(ComPtr):
7321
7321
  extends: IInspectable
7322
7322
  _classid_ = 'Microsoft.UI.Xaml.Controls.ICommandBarElement'
@@ -7501,17 +7501,17 @@ class IContentDialog(ComPtr):
7501
7501
  @winrt_commethod(11)
7502
7502
  def put_FullSizeDesired(self, value: Boolean) -> Void: ...
7503
7503
  @winrt_commethod(12)
7504
- def get_PrimaryButtonText(self) -> WinRT_String: ...
7504
+ def get_PrimaryButtonText(self) -> hstr: ...
7505
7505
  @winrt_commethod(13)
7506
- def put_PrimaryButtonText(self, value: WinRT_String) -> Void: ...
7506
+ def put_PrimaryButtonText(self, value: hstr) -> Void: ...
7507
7507
  @winrt_commethod(14)
7508
- def get_SecondaryButtonText(self) -> WinRT_String: ...
7508
+ def get_SecondaryButtonText(self) -> hstr: ...
7509
7509
  @winrt_commethod(15)
7510
- def put_SecondaryButtonText(self, value: WinRT_String) -> Void: ...
7510
+ def put_SecondaryButtonText(self, value: hstr) -> Void: ...
7511
7511
  @winrt_commethod(16)
7512
- def get_CloseButtonText(self) -> WinRT_String: ...
7512
+ def get_CloseButtonText(self) -> hstr: ...
7513
7513
  @winrt_commethod(17)
7514
- def put_CloseButtonText(self, value: WinRT_String) -> Void: ...
7514
+ def put_CloseButtonText(self, value: hstr) -> Void: ...
7515
7515
  @winrt_commethod(18)
7516
7516
  def get_PrimaryButtonCommand(self) -> win32more.Microsoft.UI.Xaml.Input.ICommand: ...
7517
7517
  @winrt_commethod(19)
@@ -7608,12 +7608,12 @@ class IContentDialog(ComPtr):
7608
7608
  SecondaryButtonText = property(get_SecondaryButtonText, put_SecondaryButtonText)
7609
7609
  Title = property(get_Title, put_Title)
7610
7610
  TitleTemplate = property(get_TitleTemplate, put_TitleTemplate)
7611
- Closing = event()
7612
- Closed = event()
7613
- Opened = event()
7614
- PrimaryButtonClick = event()
7615
- SecondaryButtonClick = event()
7616
- CloseButtonClick = event()
7611
+ CloseButtonClick = event(add_CloseButtonClick, remove_CloseButtonClick)
7612
+ Closed = event(add_Closed, remove_Closed)
7613
+ Closing = event(add_Closing, remove_Closing)
7614
+ Opened = event(add_Opened, remove_Opened)
7615
+ PrimaryButtonClick = event(add_PrimaryButtonClick, remove_PrimaryButtonClick)
7616
+ SecondaryButtonClick = event(add_SecondaryButtonClick, remove_SecondaryButtonClick)
7617
7617
  class IContentDialogButtonClickDeferral(ComPtr):
7618
7618
  extends: IInspectable
7619
7619
  _classid_ = 'Microsoft.UI.Xaml.Controls.IContentDialogButtonClickDeferral'
@@ -8116,9 +8116,9 @@ class IControl(ComPtr):
8116
8116
  TabNavigation = property(get_TabNavigation, put_TabNavigation)
8117
8117
  Template = property(get_Template, put_Template)
8118
8118
  VerticalContentAlignment = property(get_VerticalContentAlignment, put_VerticalContentAlignment)
8119
- FocusEngaged = event()
8120
- FocusDisengaged = event()
8121
- IsEnabledChanged = event()
8119
+ FocusDisengaged = event(add_FocusDisengaged, remove_FocusDisengaged)
8120
+ FocusEngaged = event(add_FocusEngaged, remove_FocusEngaged)
8121
+ IsEnabledChanged = event(add_IsEnabledChanged, remove_IsEnabledChanged)
8122
8122
  class IControlFactory(ComPtr):
8123
8123
  extends: IInspectable
8124
8124
  _classid_ = 'Microsoft.UI.Xaml.Controls.IControlFactory'
@@ -8194,7 +8194,7 @@ class IControlProtected(ComPtr):
8194
8194
  @winrt_commethod(7)
8195
8195
  def put_DefaultStyleKey(self, value: IInspectable) -> Void: ...
8196
8196
  @winrt_commethod(8)
8197
- def GetTemplateChild(self, childName: WinRT_String) -> win32more.Microsoft.UI.Xaml.DependencyObject: ...
8197
+ def GetTemplateChild(self, childName: hstr) -> win32more.Microsoft.UI.Xaml.DependencyObject: ...
8198
8198
  DefaultStyleKey = property(get_DefaultStyleKey, put_DefaultStyleKey)
8199
8199
  class IControlStatics(ComPtr):
8200
8200
  extends: IInspectable
@@ -8350,9 +8350,9 @@ class IDatePicker(ComPtr):
8350
8350
  @winrt_commethod(9)
8351
8351
  def put_HeaderTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
8352
8352
  @winrt_commethod(10)
8353
- def get_CalendarIdentifier(self) -> WinRT_String: ...
8353
+ def get_CalendarIdentifier(self) -> hstr: ...
8354
8354
  @winrt_commethod(11)
8355
- def put_CalendarIdentifier(self, value: WinRT_String) -> Void: ...
8355
+ def put_CalendarIdentifier(self, value: hstr) -> Void: ...
8356
8356
  @winrt_commethod(12)
8357
8357
  def get_Date(self) -> win32more.Windows.Foundation.DateTime: ...
8358
8358
  @winrt_commethod(13)
@@ -8370,17 +8370,17 @@ class IDatePicker(ComPtr):
8370
8370
  @winrt_commethod(19)
8371
8371
  def put_YearVisible(self, value: Boolean) -> Void: ...
8372
8372
  @winrt_commethod(20)
8373
- def get_DayFormat(self) -> WinRT_String: ...
8373
+ def get_DayFormat(self) -> hstr: ...
8374
8374
  @winrt_commethod(21)
8375
- def put_DayFormat(self, value: WinRT_String) -> Void: ...
8375
+ def put_DayFormat(self, value: hstr) -> Void: ...
8376
8376
  @winrt_commethod(22)
8377
- def get_MonthFormat(self) -> WinRT_String: ...
8377
+ def get_MonthFormat(self) -> hstr: ...
8378
8378
  @winrt_commethod(23)
8379
- def put_MonthFormat(self, value: WinRT_String) -> Void: ...
8379
+ def put_MonthFormat(self, value: hstr) -> Void: ...
8380
8380
  @winrt_commethod(24)
8381
- def get_YearFormat(self) -> WinRT_String: ...
8381
+ def get_YearFormat(self) -> hstr: ...
8382
8382
  @winrt_commethod(25)
8383
- def put_YearFormat(self, value: WinRT_String) -> Void: ...
8383
+ def put_YearFormat(self, value: hstr) -> Void: ...
8384
8384
  @winrt_commethod(26)
8385
8385
  def get_MinYear(self) -> win32more.Windows.Foundation.DateTime: ...
8386
8386
  @winrt_commethod(27)
@@ -8424,8 +8424,8 @@ class IDatePicker(ComPtr):
8424
8424
  SelectedDate = property(get_SelectedDate, put_SelectedDate)
8425
8425
  YearFormat = property(get_YearFormat, put_YearFormat)
8426
8426
  YearVisible = property(get_YearVisible, put_YearVisible)
8427
- DateChanged = event()
8428
- SelectedDateChanged = event()
8427
+ DateChanged = event(add_DateChanged, remove_DateChanged)
8428
+ SelectedDateChanged = event(add_SelectedDateChanged, remove_SelectedDateChanged)
8429
8429
  class IDatePickerFactory(ComPtr):
8430
8430
  extends: IInspectable
8431
8431
  _classid_ = 'Microsoft.UI.Xaml.Controls.IDatePickerFactory'
@@ -8437,9 +8437,9 @@ class IDatePickerFlyout(ComPtr):
8437
8437
  _classid_ = 'Microsoft.UI.Xaml.Controls.IDatePickerFlyout'
8438
8438
  _iid_ = Guid('{ba7ecf3c-edb1-593b-a4ac-c09802eace99}')
8439
8439
  @winrt_commethod(6)
8440
- def get_CalendarIdentifier(self) -> WinRT_String: ...
8440
+ def get_CalendarIdentifier(self) -> hstr: ...
8441
8441
  @winrt_commethod(7)
8442
- def put_CalendarIdentifier(self, value: WinRT_String) -> Void: ...
8442
+ def put_CalendarIdentifier(self, value: hstr) -> Void: ...
8443
8443
  @winrt_commethod(8)
8444
8444
  def get_Date(self) -> win32more.Windows.Foundation.DateTime: ...
8445
8445
  @winrt_commethod(9)
@@ -8465,17 +8465,17 @@ class IDatePickerFlyout(ComPtr):
8465
8465
  @winrt_commethod(19)
8466
8466
  def put_MaxYear(self, value: win32more.Windows.Foundation.DateTime) -> Void: ...
8467
8467
  @winrt_commethod(20)
8468
- def get_DayFormat(self) -> WinRT_String: ...
8468
+ def get_DayFormat(self) -> hstr: ...
8469
8469
  @winrt_commethod(21)
8470
- def put_DayFormat(self, value: WinRT_String) -> Void: ...
8470
+ def put_DayFormat(self, value: hstr) -> Void: ...
8471
8471
  @winrt_commethod(22)
8472
- def get_MonthFormat(self) -> WinRT_String: ...
8472
+ def get_MonthFormat(self) -> hstr: ...
8473
8473
  @winrt_commethod(23)
8474
- def put_MonthFormat(self, value: WinRT_String) -> Void: ...
8474
+ def put_MonthFormat(self, value: hstr) -> Void: ...
8475
8475
  @winrt_commethod(24)
8476
- def get_YearFormat(self) -> WinRT_String: ...
8476
+ def get_YearFormat(self) -> hstr: ...
8477
8477
  @winrt_commethod(25)
8478
- def put_YearFormat(self, value: WinRT_String) -> Void: ...
8478
+ def put_YearFormat(self, value: hstr) -> Void: ...
8479
8479
  @winrt_commethod(26)
8480
8480
  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
8481
  @winrt_commethod(27)
@@ -8492,19 +8492,19 @@ class IDatePickerFlyout(ComPtr):
8492
8492
  MonthVisible = property(get_MonthVisible, put_MonthVisible)
8493
8493
  YearFormat = property(get_YearFormat, put_YearFormat)
8494
8494
  YearVisible = property(get_YearVisible, put_YearVisible)
8495
- DatePicked = event()
8495
+ DatePicked = event(add_DatePicked, remove_DatePicked)
8496
8496
  class IDatePickerFlyoutItem(ComPtr):
8497
8497
  extends: IInspectable
8498
8498
  _classid_ = 'Microsoft.UI.Xaml.Controls.IDatePickerFlyoutItem'
8499
8499
  _iid_ = Guid('{eb7d591e-1314-5409-9231-5b8e3be187a7}')
8500
8500
  @winrt_commethod(6)
8501
- def get_PrimaryText(self) -> WinRT_String: ...
8501
+ def get_PrimaryText(self) -> hstr: ...
8502
8502
  @winrt_commethod(7)
8503
- def put_PrimaryText(self, value: WinRT_String) -> Void: ...
8503
+ def put_PrimaryText(self, value: hstr) -> Void: ...
8504
8504
  @winrt_commethod(8)
8505
- def get_SecondaryText(self) -> WinRT_String: ...
8505
+ def get_SecondaryText(self) -> hstr: ...
8506
8506
  @winrt_commethod(9)
8507
- def put_SecondaryText(self, value: WinRT_String) -> Void: ...
8507
+ def put_SecondaryText(self, value: hstr) -> Void: ...
8508
8508
  PrimaryText = property(get_PrimaryText, put_PrimaryText)
8509
8509
  SecondaryText = property(get_SecondaryText, put_SecondaryText)
8510
8510
  class IDatePickerFlyoutItemStatics(ComPtr):
@@ -8679,7 +8679,7 @@ class IDynamicAnimatedVisualSource(ComPtr):
8679
8679
  def add_AnimatedVisualInvalidated(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.IDynamicAnimatedVisualSource, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
8680
8680
  @winrt_commethod(7)
8681
8681
  def remove_AnimatedVisualInvalidated(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
8682
- AnimatedVisualInvalidated = event()
8682
+ AnimatedVisualInvalidated = event(add_AnimatedVisualInvalidated, remove_AnimatedVisualInvalidated)
8683
8683
  class IDynamicOverflowItemsChangingEventArgs(ComPtr):
8684
8684
  extends: IInspectable
8685
8685
  _classid_ = 'Microsoft.UI.Xaml.Controls.IDynamicOverflowItemsChangingEventArgs'
@@ -8727,8 +8727,8 @@ class IExpander(ComPtr):
8727
8727
  HeaderTemplateSelector = property(get_HeaderTemplateSelector, put_HeaderTemplateSelector)
8728
8728
  IsExpanded = property(get_IsExpanded, put_IsExpanded)
8729
8729
  TemplateSettings = property(get_TemplateSettings, None)
8730
- Expanding = event()
8731
- Collapsed = event()
8730
+ Collapsed = event(add_Collapsed, remove_Collapsed)
8731
+ Expanding = event(add_Expanding, remove_Expanding)
8732
8732
  class IExpanderCollapsedEventArgs(ComPtr):
8733
8733
  extends: IInspectable
8734
8734
  _classid_ = 'Microsoft.UI.Xaml.Controls.IExpanderCollapsedEventArgs'
@@ -8874,9 +8874,9 @@ class IFontIcon(ComPtr):
8874
8874
  _classid_ = 'Microsoft.UI.Xaml.Controls.IFontIcon'
8875
8875
  _iid_ = Guid('{6eba5ed9-d233-5f5e-91a8-f5134292658a}')
8876
8876
  @winrt_commethod(6)
8877
- def get_Glyph(self) -> WinRT_String: ...
8877
+ def get_Glyph(self) -> hstr: ...
8878
8878
  @winrt_commethod(7)
8879
- def put_Glyph(self, value: WinRT_String) -> Void: ...
8879
+ def put_Glyph(self, value: hstr) -> Void: ...
8880
8880
  @winrt_commethod(8)
8881
8881
  def get_FontSize(self) -> Double: ...
8882
8882
  @winrt_commethod(9)
@@ -8919,9 +8919,9 @@ class IFontIconSource(ComPtr):
8919
8919
  _classid_ = 'Microsoft.UI.Xaml.Controls.IFontIconSource'
8920
8920
  _iid_ = Guid('{b89d614c-e9b5-5b6a-9bec-ad78b1a14b74}')
8921
8921
  @winrt_commethod(6)
8922
- def get_Glyph(self) -> WinRT_String: ...
8922
+ def get_Glyph(self) -> hstr: ...
8923
8923
  @winrt_commethod(7)
8924
- def put_Glyph(self, value: WinRT_String) -> Void: ...
8924
+ def put_Glyph(self, value: hstr) -> Void: ...
8925
8925
  @winrt_commethod(8)
8926
8926
  def get_FontSize(self) -> Double: ...
8927
8927
  @winrt_commethod(9)
@@ -9066,11 +9066,11 @@ class IFrame(ComPtr):
9066
9066
  @winrt_commethod(31)
9067
9067
  def NavigateToType(self, sourcePageType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, navigationOptions: win32more.Microsoft.UI.Xaml.Navigation.FrameNavigationOptions) -> Boolean: ...
9068
9068
  @winrt_commethod(32)
9069
- def GetNavigationState(self) -> WinRT_String: ...
9069
+ def GetNavigationState(self) -> hstr: ...
9070
9070
  @winrt_commethod(33)
9071
- def SetNavigationState(self, navigationState: WinRT_String) -> Void: ...
9071
+ def SetNavigationState(self, navigationState: hstr) -> Void: ...
9072
9072
  @winrt_commethod(34)
9073
- def SetNavigationStateWithNavigationControl(self, navigationState: WinRT_String, suppressNavigate: Boolean) -> Void: ...
9073
+ def SetNavigationStateWithNavigationControl(self, navigationState: hstr, suppressNavigate: Boolean) -> Void: ...
9074
9074
  BackStack = property(get_BackStack, None)
9075
9075
  BackStackDepth = property(get_BackStackDepth, None)
9076
9076
  CacheSize = property(get_CacheSize, put_CacheSize)
@@ -9080,10 +9080,10 @@ class IFrame(ComPtr):
9080
9080
  ForwardStack = property(get_ForwardStack, None)
9081
9081
  IsNavigationStackEnabled = property(get_IsNavigationStackEnabled, put_IsNavigationStackEnabled)
9082
9082
  SourcePageType = property(get_SourcePageType, put_SourcePageType)
9083
- Navigated = event()
9084
- Navigating = event()
9085
- NavigationFailed = event()
9086
- NavigationStopped = event()
9083
+ Navigated = event(add_Navigated, remove_Navigated)
9084
+ Navigating = event(add_Navigating, remove_Navigating)
9085
+ NavigationFailed = event(add_NavigationFailed, remove_NavigationFailed)
9086
+ NavigationStopped = event(add_NavigationStopped, remove_NavigationStopped)
9087
9087
  class IFrameFactory(ComPtr):
9088
9088
  extends: IInspectable
9089
9089
  _classid_ = 'Microsoft.UI.Xaml.Controls.IFrameFactory'
@@ -9381,8 +9381,8 @@ class IHub(ComPtr):
9381
9381
  SectionHeaders = property(get_SectionHeaders, None)
9382
9382
  Sections = property(get_Sections, None)
9383
9383
  SectionsInView = property(get_SectionsInView, None)
9384
- SectionHeaderClick = event()
9385
- SectionsInViewChanged = event()
9384
+ SectionHeaderClick = event(add_SectionHeaderClick, remove_SectionHeaderClick)
9385
+ SectionsInViewChanged = event(add_SectionsInViewChanged, remove_SectionsInViewChanged)
9386
9386
  class IHubFactory(ComPtr):
9387
9387
  extends: IInspectable
9388
9388
  _classid_ = 'Microsoft.UI.Xaml.Controls.IHubFactory'
@@ -9592,8 +9592,8 @@ class IImage(ComPtr):
9592
9592
  NineGrid = property(get_NineGrid, put_NineGrid)
9593
9593
  Source = property(get_Source, put_Source)
9594
9594
  Stretch = property(get_Stretch, put_Stretch)
9595
- ImageFailed = event()
9596
- ImageOpened = event()
9595
+ ImageFailed = event(add_ImageFailed, remove_ImageFailed)
9596
+ ImageOpened = event(add_ImageOpened, remove_ImageOpened)
9597
9597
  class IImageIcon(ComPtr):
9598
9598
  extends: IInspectable
9599
9599
  _classid_ = 'Microsoft.UI.Xaml.Controls.IImageIcon'
@@ -9726,13 +9726,13 @@ class IInfoBar(ComPtr):
9726
9726
  @winrt_commethod(7)
9727
9727
  def put_IsOpen(self, value: Boolean) -> Void: ...
9728
9728
  @winrt_commethod(8)
9729
- def get_Title(self) -> WinRT_String: ...
9729
+ def get_Title(self) -> hstr: ...
9730
9730
  @winrt_commethod(9)
9731
- def put_Title(self, value: WinRT_String) -> Void: ...
9731
+ def put_Title(self, value: hstr) -> Void: ...
9732
9732
  @winrt_commethod(10)
9733
- def get_Message(self) -> WinRT_String: ...
9733
+ def get_Message(self) -> hstr: ...
9734
9734
  @winrt_commethod(11)
9735
- def put_Message(self, value: WinRT_String) -> Void: ...
9735
+ def put_Message(self, value: hstr) -> Void: ...
9736
9736
  @winrt_commethod(12)
9737
9737
  def get_Severity(self) -> win32more.Microsoft.UI.Xaml.Controls.InfoBarSeverity: ...
9738
9738
  @winrt_commethod(13)
@@ -9801,9 +9801,9 @@ class IInfoBar(ComPtr):
9801
9801
  Severity = property(get_Severity, put_Severity)
9802
9802
  TemplateSettings = property(get_TemplateSettings, None)
9803
9803
  Title = property(get_Title, put_Title)
9804
- CloseButtonClick = event()
9805
- Closing = event()
9806
- Closed = event()
9804
+ CloseButtonClick = event(add_CloseButtonClick, remove_CloseButtonClick)
9805
+ Closed = event(add_Closed, remove_Closed)
9806
+ Closing = event(add_Closing, remove_Closing)
9807
9807
  class IInfoBarClosedEventArgs(ComPtr):
9808
9808
  extends: IInspectable
9809
9809
  _classid_ = 'Microsoft.UI.Xaml.Controls.IInfoBarClosedEventArgs'
@@ -9977,7 +9977,7 @@ class IItemCollectionTransitionProvider(ComPtr):
9977
9977
  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
9978
  @winrt_commethod(9)
9979
9979
  def remove_TransitionCompleted(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
9980
- TransitionCompleted = event()
9980
+ TransitionCompleted = event(add_TransitionCompleted, remove_TransitionCompleted)
9981
9981
  class IItemCollectionTransitionProviderFactory(ComPtr):
9982
9982
  extends: IInspectable
9983
9983
  _classid_ = 'Microsoft.UI.Xaml.Controls.IItemCollectionTransitionProviderFactory'
@@ -10048,7 +10048,7 @@ class IItemContainerGenerator(ComPtr):
10048
10048
  def IndexFromGeneratorPosition(self, position: win32more.Microsoft.UI.Xaml.Controls.Primitives.GeneratorPosition) -> Int32: ...
10049
10049
  @winrt_commethod(21)
10050
10050
  def Recycle(self, position: win32more.Microsoft.UI.Xaml.Controls.Primitives.GeneratorPosition, count: Int32) -> Void: ...
10051
- ItemsChanged = event()
10051
+ ItemsChanged = event(add_ItemsChanged, remove_ItemsChanged)
10052
10052
  class IItemContainerMapping(ComPtr):
10053
10053
  extends: IInspectable
10054
10054
  _classid_ = 'Microsoft.UI.Xaml.Controls.IItemContainerMapping'
@@ -10094,9 +10094,9 @@ class IItemsControl(ComPtr):
10094
10094
  @winrt_commethod(14)
10095
10095
  def put_ItemsPanel(self, value: win32more.Microsoft.UI.Xaml.Controls.ItemsPanelTemplate) -> Void: ...
10096
10096
  @winrt_commethod(15)
10097
- def get_DisplayMemberPath(self) -> WinRT_String: ...
10097
+ def get_DisplayMemberPath(self) -> hstr: ...
10098
10098
  @winrt_commethod(16)
10099
- def put_DisplayMemberPath(self, value: WinRT_String) -> Void: ...
10099
+ def put_DisplayMemberPath(self, value: hstr) -> Void: ...
10100
10100
  @winrt_commethod(17)
10101
10101
  def get_ItemsPanelRoot(self) -> win32more.Microsoft.UI.Xaml.Controls.Panel: ...
10102
10102
  @winrt_commethod(18)
@@ -10338,9 +10338,9 @@ class IItemsRepeater(ComPtr):
10338
10338
  ItemsSourceView = property(get_ItemsSourceView, None)
10339
10339
  Layout = property(get_Layout, put_Layout)
10340
10340
  VerticalCacheLength = property(get_VerticalCacheLength, put_VerticalCacheLength)
10341
- ElementPrepared = event()
10342
- ElementClearing = event()
10343
- ElementIndexChanged = event()
10341
+ ElementClearing = event(add_ElementClearing, remove_ElementClearing)
10342
+ ElementIndexChanged = event(add_ElementIndexChanged, remove_ElementIndexChanged)
10343
+ ElementPrepared = event(add_ElementPrepared, remove_ElementPrepared)
10344
10344
  class IItemsRepeater2(ComPtr):
10345
10345
  extends: IInspectable
10346
10346
  _classid_ = 'Microsoft.UI.Xaml.Controls.IItemsRepeater2'
@@ -10448,9 +10448,9 @@ class IItemsSourceView(ComPtr):
10448
10448
  @winrt_commethod(8)
10449
10449
  def get_HasKeyIndexMapping(self) -> Boolean: ...
10450
10450
  @winrt_commethod(9)
10451
- def KeyFromIndex(self, index: Int32) -> WinRT_String: ...
10451
+ def KeyFromIndex(self, index: Int32) -> hstr: ...
10452
10452
  @winrt_commethod(10)
10453
- def IndexFromKey(self, key: WinRT_String) -> Int32: ...
10453
+ def IndexFromKey(self, key: hstr) -> Int32: ...
10454
10454
  @winrt_commethod(11)
10455
10455
  def IndexOf(self, item: IInspectable) -> Int32: ...
10456
10456
  Count = property(get_Count, None)
@@ -10604,8 +10604,8 @@ class IItemsView(ComPtr):
10604
10604
  SelectedItems = property(get_SelectedItems, None)
10605
10605
  SelectionMode = property(get_SelectionMode, put_SelectionMode)
10606
10606
  VerticalScrollController = property(get_VerticalScrollController, put_VerticalScrollController)
10607
- ItemInvoked = event()
10608
- SelectionChanged = event()
10607
+ ItemInvoked = event(add_ItemInvoked, remove_ItemInvoked)
10608
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
10609
10609
  class IItemsViewFactory(ComPtr):
10610
10610
  extends: IInspectable
10611
10611
  _classid_ = 'Microsoft.UI.Xaml.Controls.IItemsViewFactory'
@@ -10755,9 +10755,9 @@ class IKeyIndexMapping(ComPtr):
10755
10755
  _classid_ = 'Microsoft.UI.Xaml.Controls.IKeyIndexMapping'
10756
10756
  _iid_ = Guid('{b1f3bba0-108e-560d-9681-26391b4bc30d}')
10757
10757
  @winrt_commethod(6)
10758
- def KeyFromIndex(self, index: Int32) -> WinRT_String: ...
10758
+ def KeyFromIndex(self, index: Int32) -> hstr: ...
10759
10759
  @winrt_commethod(7)
10760
- def IndexFromKey(self, key: WinRT_String) -> Int32: ...
10760
+ def IndexFromKey(self, key: hstr) -> Int32: ...
10761
10761
  class ILayout(ComPtr):
10762
10762
  extends: IInspectable
10763
10763
  _classid_ = 'Microsoft.UI.Xaml.Controls.ILayout'
@@ -10778,8 +10778,8 @@ class ILayout(ComPtr):
10778
10778
  def add_ArrangeInvalidated(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.Layout, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
10779
10779
  @winrt_commethod(13)
10780
10780
  def remove_ArrangeInvalidated(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
10781
- MeasureInvalidated = event()
10782
- ArrangeInvalidated = event()
10781
+ ArrangeInvalidated = event(add_ArrangeInvalidated, remove_ArrangeInvalidated)
10782
+ MeasureInvalidated = event(add_MeasureInvalidated, remove_MeasureInvalidated)
10783
10783
  class ILayout2(ComPtr):
10784
10784
  extends: IInspectable
10785
10785
  _classid_ = 'Microsoft.UI.Xaml.Controls.ILayout2'
@@ -10883,8 +10883,8 @@ class ILinedFlowLayout(ComPtr):
10883
10883
  MinItemSpacing = property(get_MinItemSpacing, put_MinItemSpacing)
10884
10884
  RequestedRangeLength = property(get_RequestedRangeLength, None)
10885
10885
  RequestedRangeStartIndex = property(get_RequestedRangeStartIndex, None)
10886
- ItemsInfoRequested = event()
10887
- ItemsUnlocked = event()
10886
+ ItemsInfoRequested = event(add_ItemsInfoRequested, remove_ItemsInfoRequested)
10887
+ ItemsUnlocked = event(add_ItemsUnlocked, remove_ItemsUnlocked)
10888
10888
  class ILinedFlowLayoutFactory(ComPtr):
10889
10889
  extends: IInspectable
10890
10890
  _classid_ = 'Microsoft.UI.Xaml.Controls.ILinedFlowLayoutFactory'
@@ -11011,9 +11011,9 @@ class IListPickerFlyout(ComPtr):
11011
11011
  @winrt_commethod(9)
11012
11012
  def put_ItemTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
11013
11013
  @winrt_commethod(10)
11014
- def get_DisplayMemberPath(self) -> WinRT_String: ...
11014
+ def get_DisplayMemberPath(self) -> hstr: ...
11015
11015
  @winrt_commethod(11)
11016
- def put_DisplayMemberPath(self, value: WinRT_String) -> Void: ...
11016
+ def put_DisplayMemberPath(self, value: hstr) -> Void: ...
11017
11017
  @winrt_commethod(12)
11018
11018
  def get_SelectionMode(self) -> win32more.Microsoft.UI.Xaml.Controls.ListPickerFlyoutSelectionMode: ...
11019
11019
  @winrt_commethod(13)
@@ -11031,9 +11031,9 @@ class IListPickerFlyout(ComPtr):
11031
11031
  @winrt_commethod(19)
11032
11032
  def put_SelectedValue(self, value: IInspectable) -> Void: ...
11033
11033
  @winrt_commethod(20)
11034
- def get_SelectedValuePath(self) -> WinRT_String: ...
11034
+ def get_SelectedValuePath(self) -> hstr: ...
11035
11035
  @winrt_commethod(21)
11036
- def put_SelectedValuePath(self, value: WinRT_String) -> Void: ...
11036
+ def put_SelectedValuePath(self, value: hstr) -> Void: ...
11037
11037
  @winrt_commethod(22)
11038
11038
  def get_SelectedItems(self) -> win32more.Windows.Foundation.Collections.IVector[IInspectable]: ...
11039
11039
  @winrt_commethod(23)
@@ -11051,7 +11051,7 @@ class IListPickerFlyout(ComPtr):
11051
11051
  SelectedValue = property(get_SelectedValue, put_SelectedValue)
11052
11052
  SelectedValuePath = property(get_SelectedValuePath, put_SelectedValuePath)
11053
11053
  SelectionMode = property(get_SelectionMode, put_SelectionMode)
11054
- ItemsPicked = event()
11054
+ ItemsPicked = event(add_ItemsPicked, remove_ItemsPicked)
11055
11055
  class IListPickerFlyoutPresenter(ComPtr):
11056
11056
  extends: IInspectable
11057
11057
  _classid_ = 'Microsoft.UI.Xaml.Controls.IListPickerFlyoutPresenter'
@@ -11185,9 +11185,9 @@ class IListViewBase(ComPtr):
11185
11185
  @winrt_commethod(51)
11186
11186
  def IsDragSource(self) -> Boolean: ...
11187
11187
  @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]: ...
11188
+ def TryStartConnectedAnimationAsync(self, animation: win32more.Microsoft.UI.Xaml.Media.Animation.ConnectedAnimation, item: IInspectable, elementName: hstr) -> win32more.Windows.Foundation.IAsyncOperation[Boolean]: ...
11189
11189
  @winrt_commethod(53)
11190
- def PrepareConnectedAnimation(self, key: WinRT_String, item: IInspectable, elementName: WinRT_String) -> win32more.Microsoft.UI.Xaml.Media.Animation.ConnectedAnimation: ...
11190
+ def PrepareConnectedAnimation(self, key: hstr, item: IInspectable, elementName: hstr) -> win32more.Microsoft.UI.Xaml.Media.Animation.ConnectedAnimation: ...
11191
11191
  @winrt_commethod(54)
11192
11192
  def get_Header(self) -> IInspectable: ...
11193
11193
  @winrt_commethod(55)
@@ -11232,12 +11232,12 @@ class IListViewBase(ComPtr):
11232
11232
  SelectionMode = property(get_SelectionMode, put_SelectionMode)
11233
11233
  ShowsScrollingPlaceholders = property(get_ShowsScrollingPlaceholders, put_ShowsScrollingPlaceholders)
11234
11234
  SingleSelectionFollowsFocus = property(get_SingleSelectionFollowsFocus, put_SingleSelectionFollowsFocus)
11235
- ItemClick = event()
11236
- DragItemsStarting = event()
11237
- DragItemsCompleted = event()
11238
- ContainerContentChanging = event()
11239
- ChoosingItemContainer = event()
11240
- ChoosingGroupHeaderContainer = event()
11235
+ ChoosingGroupHeaderContainer = event(add_ChoosingGroupHeaderContainer, remove_ChoosingGroupHeaderContainer)
11236
+ ChoosingItemContainer = event(add_ChoosingItemContainer, remove_ChoosingItemContainer)
11237
+ ContainerContentChanging = event(add_ContainerContentChanging, remove_ContainerContentChanging)
11238
+ DragItemsCompleted = event(add_DragItemsCompleted, remove_DragItemsCompleted)
11239
+ DragItemsStarting = event(add_DragItemsStarting, remove_DragItemsStarting)
11240
+ ItemClick = event(add_ItemClick, remove_ItemClick)
11241
11241
  class IListViewBaseFactory(ComPtr):
11242
11242
  extends: IInspectable
11243
11243
  _classid_ = 'Microsoft.UI.Xaml.Controls.IListViewBaseFactory'
@@ -11357,17 +11357,17 @@ class IListViewPersistenceHelperStatics(ComPtr):
11357
11357
  _classid_ = 'Microsoft.UI.Xaml.Controls.IListViewPersistenceHelperStatics'
11358
11358
  _iid_ = Guid('{36b862bb-3882-59d8-9118-904de3fe00c2}')
11359
11359
  @winrt_commethod(6)
11360
- def GetRelativeScrollPosition(self, listViewBase: win32more.Microsoft.UI.Xaml.Controls.ListViewBase, itemToKeyHandler: win32more.Microsoft.UI.Xaml.Controls.ListViewItemToKeyHandler) -> WinRT_String: ...
11360
+ def GetRelativeScrollPosition(self, listViewBase: win32more.Microsoft.UI.Xaml.Controls.ListViewBase, itemToKeyHandler: win32more.Microsoft.UI.Xaml.Controls.ListViewItemToKeyHandler) -> hstr: ...
11361
11361
  @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: ...
11362
+ def SetRelativeScrollPositionAsync(self, listViewBase: win32more.Microsoft.UI.Xaml.Controls.ListViewBase, relativeScrollPosition: hstr, keyToItemHandler: win32more.Microsoft.UI.Xaml.Controls.ListViewKeyToItemHandler) -> win32more.Windows.Foundation.IAsyncAction: ...
11363
11363
  class IMapControl(ComPtr):
11364
11364
  extends: IInspectable
11365
11365
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMapControl'
11366
11366
  _iid_ = Guid('{85c67af2-2b9c-55ab-ae1f-635da713d68f}')
11367
11367
  @winrt_commethod(6)
11368
- def get_MapServiceToken(self) -> WinRT_String: ...
11368
+ def get_MapServiceToken(self) -> hstr: ...
11369
11369
  @winrt_commethod(7)
11370
- def put_MapServiceToken(self, value: WinRT_String) -> Void: ...
11370
+ def put_MapServiceToken(self, value: hstr) -> Void: ...
11371
11371
  @winrt_commethod(8)
11372
11372
  def get_Center(self) -> win32more.Windows.Devices.Geolocation.Geopoint: ...
11373
11373
  @winrt_commethod(9)
@@ -11397,8 +11397,8 @@ class IMapControl(ComPtr):
11397
11397
  Layers = property(get_Layers, put_Layers)
11398
11398
  MapServiceToken = property(get_MapServiceToken, put_MapServiceToken)
11399
11399
  ZoomLevel = property(get_ZoomLevel, put_ZoomLevel)
11400
- MapElementClick = event()
11401
- MapServiceErrorOccurred = event()
11400
+ MapElementClick = event(add_MapElementClick, remove_MapElementClick)
11401
+ MapServiceErrorOccurred = event(add_MapServiceErrorOccurred, remove_MapServiceErrorOccurred)
11402
11402
  class IMapControlFactory(ComPtr):
11403
11403
  extends: IInspectable
11404
11404
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMapControlFactory'
@@ -11410,7 +11410,7 @@ class IMapControlMapServiceErrorOccurredEventArgs(ComPtr):
11410
11410
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMapControlMapServiceErrorOccurredEventArgs'
11411
11411
  _iid_ = Guid('{b5493c70-799c-59c0-b823-aed5268194a9}')
11412
11412
  @winrt_commethod(6)
11413
- def get_DiagnosticMessage(self) -> WinRT_String: ...
11413
+ def get_DiagnosticMessage(self) -> hstr: ...
11414
11414
  DiagnosticMessage = property(get_DiagnosticMessage, None)
11415
11415
  class IMapControlStatics(ComPtr):
11416
11416
  extends: IInspectable
@@ -11462,7 +11462,7 @@ class IMapElementsLayer(ComPtr):
11462
11462
  @winrt_commethod(9)
11463
11463
  def remove_MapElementClick(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
11464
11464
  MapElements = property(get_MapElements, put_MapElements)
11465
- MapElementClick = event()
11465
+ MapElementClick = event(add_MapElementClick, remove_MapElementClick)
11466
11466
  class IMapElementsLayerFactory(ComPtr):
11467
11467
  extends: IInspectable
11468
11468
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMapElementsLayerFactory'
@@ -11756,7 +11756,7 @@ class IMediaTransportControls(ComPtr):
11756
11756
  IsZoomButtonVisible = property(get_IsZoomButtonVisible, put_IsZoomButtonVisible)
11757
11757
  IsZoomEnabled = property(get_IsZoomEnabled, put_IsZoomEnabled)
11758
11758
  ShowAndHideAutomatically = property(get_ShowAndHideAutomatically, put_ShowAndHideAutomatically)
11759
- ThumbnailRequested = event()
11759
+ ThumbnailRequested = event(add_ThumbnailRequested, remove_ThumbnailRequested)
11760
11760
  class IMediaTransportControlsFactory(ComPtr):
11761
11761
  extends: IInspectable
11762
11762
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMediaTransportControlsFactory'
@@ -11875,9 +11875,9 @@ class IMenuBarItem(ComPtr):
11875
11875
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMenuBarItem'
11876
11876
  _iid_ = Guid('{a7900980-51cc-531d-97c5-356b13573398}')
11877
11877
  @winrt_commethod(6)
11878
- def get_Title(self) -> WinRT_String: ...
11878
+ def get_Title(self) -> hstr: ...
11879
11879
  @winrt_commethod(7)
11880
- def put_Title(self, value: WinRT_String) -> Void: ...
11880
+ def put_Title(self, value: hstr) -> Void: ...
11881
11881
  @winrt_commethod(8)
11882
11882
  def get_Items(self) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.UI.Xaml.Controls.MenuFlyoutItemBase]: ...
11883
11883
  Items = property(get_Items, None)
@@ -11940,9 +11940,9 @@ class IMenuFlyoutItem(ComPtr):
11940
11940
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMenuFlyoutItem'
11941
11941
  _iid_ = Guid('{4252df5a-44f9-5ee8-b1cc-53de9aaa4095}')
11942
11942
  @winrt_commethod(6)
11943
- def get_Text(self) -> WinRT_String: ...
11943
+ def get_Text(self) -> hstr: ...
11944
11944
  @winrt_commethod(7)
11945
- def put_Text(self, value: WinRT_String) -> Void: ...
11945
+ def put_Text(self, value: hstr) -> Void: ...
11946
11946
  @winrt_commethod(8)
11947
11947
  def get_Command(self) -> win32more.Microsoft.UI.Xaml.Input.ICommand: ...
11948
11948
  @winrt_commethod(9)
@@ -11956,9 +11956,9 @@ class IMenuFlyoutItem(ComPtr):
11956
11956
  @winrt_commethod(13)
11957
11957
  def put_Icon(self, value: win32more.Microsoft.UI.Xaml.Controls.IconElement) -> Void: ...
11958
11958
  @winrt_commethod(14)
11959
- def get_KeyboardAcceleratorTextOverride(self) -> WinRT_String: ...
11959
+ def get_KeyboardAcceleratorTextOverride(self) -> hstr: ...
11960
11960
  @winrt_commethod(15)
11961
- def put_KeyboardAcceleratorTextOverride(self, value: WinRT_String) -> Void: ...
11961
+ def put_KeyboardAcceleratorTextOverride(self, value: hstr) -> Void: ...
11962
11962
  @winrt_commethod(16)
11963
11963
  def get_TemplateSettings(self) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.MenuFlyoutItemTemplateSettings: ...
11964
11964
  @winrt_commethod(17)
@@ -11971,7 +11971,7 @@ class IMenuFlyoutItem(ComPtr):
11971
11971
  KeyboardAcceleratorTextOverride = property(get_KeyboardAcceleratorTextOverride, put_KeyboardAcceleratorTextOverride)
11972
11972
  TemplateSettings = property(get_TemplateSettings, None)
11973
11973
  Text = property(get_Text, put_Text)
11974
- Click = event()
11974
+ Click = event(add_Click, remove_Click)
11975
11975
  class IMenuFlyoutItemBase(ComPtr):
11976
11976
  extends: IInspectable
11977
11977
  _classid_ = 'Microsoft.UI.Xaml.Controls.IMenuFlyoutItemBase'
@@ -12070,9 +12070,9 @@ class IMenuFlyoutSubItem(ComPtr):
12070
12070
  @winrt_commethod(6)
12071
12071
  def get_Items(self) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.UI.Xaml.Controls.MenuFlyoutItemBase]: ...
12072
12072
  @winrt_commethod(7)
12073
- def get_Text(self) -> WinRT_String: ...
12073
+ def get_Text(self) -> hstr: ...
12074
12074
  @winrt_commethod(8)
12075
- def put_Text(self, value: WinRT_String) -> Void: ...
12075
+ def put_Text(self, value: hstr) -> Void: ...
12076
12076
  @winrt_commethod(9)
12077
12077
  def get_Icon(self) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
12078
12078
  @winrt_commethod(10)
@@ -12233,9 +12233,9 @@ class INavigationView(ComPtr):
12233
12233
  PaneToggleButtonStyle = property(get_PaneToggleButtonStyle, put_PaneToggleButtonStyle)
12234
12234
  SelectedItem = property(get_SelectedItem, put_SelectedItem)
12235
12235
  SettingsItem = property(get_SettingsItem, None)
12236
- SelectionChanged = event()
12237
- ItemInvoked = event()
12238
- DisplayModeChanged = event()
12236
+ DisplayModeChanged = event(add_DisplayModeChanged, remove_DisplayModeChanged)
12237
+ ItemInvoked = event(add_ItemInvoked, remove_ItemInvoked)
12238
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
12239
12239
  class INavigationView2(ComPtr):
12240
12240
  extends: IInspectable
12241
12241
  _classid_ = 'Microsoft.UI.Xaml.Controls.INavigationView2'
@@ -12249,9 +12249,9 @@ class INavigationView2(ComPtr):
12249
12249
  @winrt_commethod(9)
12250
12250
  def put_IsBackEnabled(self, value: Boolean) -> Void: ...
12251
12251
  @winrt_commethod(10)
12252
- def get_PaneTitle(self) -> WinRT_String: ...
12252
+ def get_PaneTitle(self) -> hstr: ...
12253
12253
  @winrt_commethod(11)
12254
- def put_PaneTitle(self, value: WinRT_String) -> Void: ...
12254
+ def put_PaneTitle(self, value: hstr) -> Void: ...
12255
12255
  @winrt_commethod(12)
12256
12256
  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
12257
  @winrt_commethod(13)
@@ -12330,13 +12330,13 @@ class INavigationView2(ComPtr):
12330
12330
  SelectionFollowsFocus = property(get_SelectionFollowsFocus, put_SelectionFollowsFocus)
12331
12331
  ShoulderNavigationEnabled = property(get_ShoulderNavigationEnabled, put_ShoulderNavigationEnabled)
12332
12332
  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()
12333
+ BackRequested = event(add_BackRequested, remove_BackRequested)
12334
+ Collapsed = event(add_Collapsed, remove_Collapsed)
12335
+ Expanding = event(add_Expanding, remove_Expanding)
12336
+ PaneClosed = event(add_PaneClosed, remove_PaneClosed)
12337
+ PaneClosing = event(add_PaneClosing, remove_PaneClosing)
12338
+ PaneOpened = event(add_PaneOpened, remove_PaneOpened)
12339
+ PaneOpening = event(add_PaneOpening, remove_PaneOpening)
12340
12340
  class INavigationViewBackRequestedEventArgs(ComPtr):
12341
12341
  extends: IInspectable
12342
12342
  _classid_ = 'Microsoft.UI.Xaml.Controls.INavigationViewBackRequestedEventArgs'
@@ -12833,9 +12833,9 @@ class INumberBox(ComPtr):
12833
12833
  @winrt_commethod(15)
12834
12834
  def put_LargeChange(self, value: Double) -> Void: ...
12835
12835
  @winrt_commethod(16)
12836
- def get_Text(self) -> WinRT_String: ...
12836
+ def get_Text(self) -> hstr: ...
12837
12837
  @winrt_commethod(17)
12838
- def put_Text(self, value: WinRT_String) -> Void: ...
12838
+ def put_Text(self, value: hstr) -> Void: ...
12839
12839
  @winrt_commethod(18)
12840
12840
  def get_Header(self) -> IInspectable: ...
12841
12841
  @winrt_commethod(19)
@@ -12845,9 +12845,9 @@ class INumberBox(ComPtr):
12845
12845
  @winrt_commethod(21)
12846
12846
  def put_HeaderTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
12847
12847
  @winrt_commethod(22)
12848
- def get_PlaceholderText(self) -> WinRT_String: ...
12848
+ def get_PlaceholderText(self) -> hstr: ...
12849
12849
  @winrt_commethod(23)
12850
- def put_PlaceholderText(self, value: WinRT_String) -> Void: ...
12850
+ def put_PlaceholderText(self, value: hstr) -> Void: ...
12851
12851
  @winrt_commethod(24)
12852
12852
  def get_SelectionFlyout(self) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.FlyoutBase: ...
12853
12853
  @winrt_commethod(25)
@@ -12911,7 +12911,7 @@ class INumberBox(ComPtr):
12911
12911
  TextReadingOrder = property(get_TextReadingOrder, put_TextReadingOrder)
12912
12912
  ValidationMode = property(get_ValidationMode, put_ValidationMode)
12913
12913
  Value = property(get_Value, put_Value)
12914
- ValueChanged = event()
12914
+ ValueChanged = event(add_ValueChanged, remove_ValueChanged)
12915
12915
  class INumberBoxFactory(ComPtr):
12916
12916
  extends: IInspectable
12917
12917
  _classid_ = 'Microsoft.UI.Xaml.Controls.INumberBoxFactory'
@@ -13219,13 +13219,13 @@ class IPasswordBox(ComPtr):
13219
13219
  _classid_ = 'Microsoft.UI.Xaml.Controls.IPasswordBox'
13220
13220
  _iid_ = Guid('{6d3ccff7-aaee-5adc-8298-33300fa119da}')
13221
13221
  @winrt_commethod(6)
13222
- def get_Password(self) -> WinRT_String: ...
13222
+ def get_Password(self) -> hstr: ...
13223
13223
  @winrt_commethod(7)
13224
- def put_Password(self, value: WinRT_String) -> Void: ...
13224
+ def put_Password(self, value: hstr) -> Void: ...
13225
13225
  @winrt_commethod(8)
13226
- def get_PasswordChar(self) -> WinRT_String: ...
13226
+ def get_PasswordChar(self) -> hstr: ...
13227
13227
  @winrt_commethod(9)
13228
- def put_PasswordChar(self, value: WinRT_String) -> Void: ...
13228
+ def put_PasswordChar(self, value: hstr) -> Void: ...
13229
13229
  @winrt_commethod(10)
13230
13230
  def get_IsPasswordRevealButtonEnabled(self) -> Boolean: ...
13231
13231
  @winrt_commethod(11)
@@ -13243,9 +13243,9 @@ class IPasswordBox(ComPtr):
13243
13243
  @winrt_commethod(17)
13244
13244
  def put_HeaderTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
13245
13245
  @winrt_commethod(18)
13246
- def get_PlaceholderText(self) -> WinRT_String: ...
13246
+ def get_PlaceholderText(self) -> hstr: ...
13247
13247
  @winrt_commethod(19)
13248
- def put_PlaceholderText(self, value: WinRT_String) -> Void: ...
13248
+ def put_PlaceholderText(self, value: hstr) -> Void: ...
13249
13249
  @winrt_commethod(20)
13250
13250
  def get_SelectionHighlightColor(self) -> win32more.Microsoft.UI.Xaml.Media.SolidColorBrush: ...
13251
13251
  @winrt_commethod(21)
@@ -13311,10 +13311,10 @@ class IPasswordBox(ComPtr):
13311
13311
  SelectionFlyout = property(get_SelectionFlyout, put_SelectionFlyout)
13312
13312
  SelectionHighlightColor = property(get_SelectionHighlightColor, put_SelectionHighlightColor)
13313
13313
  TextReadingOrder = property(get_TextReadingOrder, put_TextReadingOrder)
13314
- PasswordChanged = event()
13315
- ContextMenuOpening = event()
13316
- Paste = event()
13317
- PasswordChanging = event()
13314
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
13315
+ PasswordChanged = event(add_PasswordChanged, remove_PasswordChanged)
13316
+ PasswordChanging = event(add_PasswordChanging, remove_PasswordChanging)
13317
+ Paste = event(add_Paste, remove_Paste)
13318
13318
  class IPasswordBoxPasswordChangingEventArgs(ComPtr):
13319
13319
  extends: IInspectable
13320
13320
  _classid_ = 'Microsoft.UI.Xaml.Controls.IPasswordBoxPasswordChangingEventArgs'
@@ -13424,17 +13424,17 @@ class IPersonPicture(ComPtr):
13424
13424
  @winrt_commethod(7)
13425
13425
  def put_BadgeNumber(self, value: Int32) -> Void: ...
13426
13426
  @winrt_commethod(8)
13427
- def get_BadgeGlyph(self) -> WinRT_String: ...
13427
+ def get_BadgeGlyph(self) -> hstr: ...
13428
13428
  @winrt_commethod(9)
13429
- def put_BadgeGlyph(self, value: WinRT_String) -> Void: ...
13429
+ def put_BadgeGlyph(self, value: hstr) -> Void: ...
13430
13430
  @winrt_commethod(10)
13431
13431
  def get_BadgeImageSource(self) -> win32more.Microsoft.UI.Xaml.Media.ImageSource: ...
13432
13432
  @winrt_commethod(11)
13433
13433
  def put_BadgeImageSource(self, value: win32more.Microsoft.UI.Xaml.Media.ImageSource) -> Void: ...
13434
13434
  @winrt_commethod(12)
13435
- def get_BadgeText(self) -> WinRT_String: ...
13435
+ def get_BadgeText(self) -> hstr: ...
13436
13436
  @winrt_commethod(13)
13437
- def put_BadgeText(self, value: WinRT_String) -> Void: ...
13437
+ def put_BadgeText(self, value: hstr) -> Void: ...
13438
13438
  @winrt_commethod(14)
13439
13439
  def get_IsGroup(self) -> Boolean: ...
13440
13440
  @winrt_commethod(15)
@@ -13444,13 +13444,13 @@ class IPersonPicture(ComPtr):
13444
13444
  @winrt_commethod(17)
13445
13445
  def put_Contact(self, value: win32more.Windows.ApplicationModel.Contacts.Contact) -> Void: ...
13446
13446
  @winrt_commethod(18)
13447
- def get_DisplayName(self) -> WinRT_String: ...
13447
+ def get_DisplayName(self) -> hstr: ...
13448
13448
  @winrt_commethod(19)
13449
- def put_DisplayName(self, value: WinRT_String) -> Void: ...
13449
+ def put_DisplayName(self, value: hstr) -> Void: ...
13450
13450
  @winrt_commethod(20)
13451
- def get_Initials(self) -> WinRT_String: ...
13451
+ def get_Initials(self) -> hstr: ...
13452
13452
  @winrt_commethod(21)
13453
- def put_Initials(self, value: WinRT_String) -> Void: ...
13453
+ def put_Initials(self, value: hstr) -> Void: ...
13454
13454
  @winrt_commethod(22)
13455
13455
  def get_PreferSmallImage(self) -> Boolean: ...
13456
13456
  @winrt_commethod(23)
@@ -13517,7 +13517,7 @@ class IPersonPictureTemplateSettings(ComPtr):
13517
13517
  _classid_ = 'Microsoft.UI.Xaml.Controls.IPersonPictureTemplateSettings'
13518
13518
  _iid_ = Guid('{e16df12f-c3c0-5f26-a381-08f2df052f29}')
13519
13519
  @winrt_commethod(6)
13520
- def get_ActualInitials(self) -> WinRT_String: ...
13520
+ def get_ActualInitials(self) -> hstr: ...
13521
13521
  @winrt_commethod(7)
13522
13522
  def get_ActualImageBrush(self) -> win32more.Microsoft.UI.Xaml.Media.ImageBrush: ...
13523
13523
  ActualImageBrush = property(get_ActualImageBrush, None)
@@ -13546,7 +13546,7 @@ class IPickerFlyout(ComPtr):
13546
13546
  def ShowAtAsync(self, target: win32more.Microsoft.UI.Xaml.FrameworkElement) -> win32more.Windows.Foundation.IAsyncOperation[Boolean]: ...
13547
13547
  ConfirmationButtonsVisible = property(get_ConfirmationButtonsVisible, put_ConfirmationButtonsVisible)
13548
13548
  Content = property(get_Content, put_Content)
13549
- Confirmed = event()
13549
+ Confirmed = event(add_Confirmed, remove_Confirmed)
13550
13550
  class IPickerFlyoutPresenter(ComPtr):
13551
13551
  extends: IInspectable
13552
13552
  _classid_ = 'Microsoft.UI.Xaml.Controls.IPickerFlyoutPresenter'
@@ -13622,7 +13622,7 @@ class IPipsPager(ComPtr):
13622
13622
  SelectedPageIndex = property(get_SelectedPageIndex, put_SelectedPageIndex)
13623
13623
  SelectedPipStyle = property(get_SelectedPipStyle, put_SelectedPipStyle)
13624
13624
  TemplateSettings = property(get_TemplateSettings, None)
13625
- SelectedIndexChanged = event()
13625
+ SelectedIndexChanged = event(add_SelectedIndexChanged, remove_SelectedIndexChanged)
13626
13626
  class IPipsPager2(ComPtr):
13627
13627
  extends: IInspectable
13628
13628
  _classid_ = 'Microsoft.UI.Xaml.Controls.IPipsPager2'
@@ -13774,11 +13774,11 @@ class IPivot(ComPtr):
13774
13774
  SelectedItem = property(get_SelectedItem, put_SelectedItem)
13775
13775
  Title = property(get_Title, put_Title)
13776
13776
  TitleTemplate = property(get_TitleTemplate, put_TitleTemplate)
13777
- SelectionChanged = event()
13778
- PivotItemLoading = event()
13779
- PivotItemLoaded = event()
13780
- PivotItemUnloading = event()
13781
- PivotItemUnloaded = event()
13777
+ PivotItemLoaded = event(add_PivotItemLoaded, remove_PivotItemLoaded)
13778
+ PivotItemLoading = event(add_PivotItemLoading, remove_PivotItemLoading)
13779
+ PivotItemUnloaded = event(add_PivotItemUnloaded, remove_PivotItemUnloaded)
13780
+ PivotItemUnloading = event(add_PivotItemUnloading, remove_PivotItemUnloading)
13781
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
13782
13782
  class IPivotFactory(ComPtr):
13783
13783
  extends: IInspectable
13784
13784
  _classid_ = 'Microsoft.UI.Xaml.Controls.IPivotFactory'
@@ -14016,9 +14016,9 @@ class IRadioButton(ComPtr):
14016
14016
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRadioButton'
14017
14017
  _iid_ = Guid('{38f30cee-e75a-5ba1-ae64-4474a3abeac7}')
14018
14018
  @winrt_commethod(6)
14019
- def get_GroupName(self) -> WinRT_String: ...
14019
+ def get_GroupName(self) -> hstr: ...
14020
14020
  @winrt_commethod(7)
14021
- def put_GroupName(self, value: WinRT_String) -> Void: ...
14021
+ def put_GroupName(self, value: hstr) -> Void: ...
14022
14022
  GroupName = property(get_GroupName, put_GroupName)
14023
14023
  class IRadioButtonFactory(ComPtr):
14024
14024
  extends: IInspectable
@@ -14081,7 +14081,7 @@ class IRadioButtons(ComPtr):
14081
14081
  MaxColumns = property(get_MaxColumns, put_MaxColumns)
14082
14082
  SelectedIndex = property(get_SelectedIndex, put_SelectedIndex)
14083
14083
  SelectedItem = property(get_SelectedItem, put_SelectedItem)
14084
- SelectionChanged = event()
14084
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
14085
14085
  class IRadioButtonsFactory(ComPtr):
14086
14086
  extends: IInspectable
14087
14087
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRadioButtonsFactory'
@@ -14125,9 +14125,9 @@ class IRadioMenuFlyoutItem(ComPtr):
14125
14125
  @winrt_commethod(7)
14126
14126
  def put_IsChecked(self, value: Boolean) -> Void: ...
14127
14127
  @winrt_commethod(8)
14128
- def get_GroupName(self) -> WinRT_String: ...
14128
+ def get_GroupName(self) -> hstr: ...
14129
14129
  @winrt_commethod(9)
14130
- def put_GroupName(self, value: WinRT_String) -> Void: ...
14130
+ def put_GroupName(self, value: hstr) -> Void: ...
14131
14131
  GroupName = property(get_GroupName, put_GroupName)
14132
14132
  IsChecked = property(get_IsChecked, put_IsChecked)
14133
14133
  class IRadioMenuFlyoutItemFactory(ComPtr):
@@ -14162,9 +14162,9 @@ class IRatingControl(ComPtr):
14162
14162
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRatingControl'
14163
14163
  _iid_ = Guid('{5488193b-ea4b-52c6-8544-c063219bcd90}')
14164
14164
  @winrt_commethod(6)
14165
- def get_Caption(self) -> WinRT_String: ...
14165
+ def get_Caption(self) -> hstr: ...
14166
14166
  @winrt_commethod(7)
14167
- def put_Caption(self, value: WinRT_String) -> Void: ...
14167
+ def put_Caption(self, value: hstr) -> Void: ...
14168
14168
  @winrt_commethod(8)
14169
14169
  def get_InitialSetValue(self) -> Int32: ...
14170
14170
  @winrt_commethod(9)
@@ -14205,7 +14205,7 @@ class IRatingControl(ComPtr):
14205
14205
  MaxRating = property(get_MaxRating, put_MaxRating)
14206
14206
  PlaceholderValue = property(get_PlaceholderValue, put_PlaceholderValue)
14207
14207
  Value = property(get_Value, put_Value)
14208
- ValueChanged = event()
14208
+ ValueChanged = event(add_ValueChanged, remove_ValueChanged)
14209
14209
  class IRatingControlFactory(ComPtr):
14210
14210
  extends: IInspectable
14211
14211
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRatingControlFactory'
@@ -14245,29 +14245,29 @@ class IRatingItemFontInfo(ComPtr):
14245
14245
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRatingItemFontInfo'
14246
14246
  _iid_ = Guid('{995a16dc-3a0f-5727-9f38-52cfc8143654}')
14247
14247
  @winrt_commethod(6)
14248
- def get_DisabledGlyph(self) -> WinRT_String: ...
14248
+ def get_DisabledGlyph(self) -> hstr: ...
14249
14249
  @winrt_commethod(7)
14250
- def put_DisabledGlyph(self, value: WinRT_String) -> Void: ...
14250
+ def put_DisabledGlyph(self, value: hstr) -> Void: ...
14251
14251
  @winrt_commethod(8)
14252
- def get_Glyph(self) -> WinRT_String: ...
14252
+ def get_Glyph(self) -> hstr: ...
14253
14253
  @winrt_commethod(9)
14254
- def put_Glyph(self, value: WinRT_String) -> Void: ...
14254
+ def put_Glyph(self, value: hstr) -> Void: ...
14255
14255
  @winrt_commethod(10)
14256
- def get_PointerOverGlyph(self) -> WinRT_String: ...
14256
+ def get_PointerOverGlyph(self) -> hstr: ...
14257
14257
  @winrt_commethod(11)
14258
- def put_PointerOverGlyph(self, value: WinRT_String) -> Void: ...
14258
+ def put_PointerOverGlyph(self, value: hstr) -> Void: ...
14259
14259
  @winrt_commethod(12)
14260
- def get_PointerOverPlaceholderGlyph(self) -> WinRT_String: ...
14260
+ def get_PointerOverPlaceholderGlyph(self) -> hstr: ...
14261
14261
  @winrt_commethod(13)
14262
- def put_PointerOverPlaceholderGlyph(self, value: WinRT_String) -> Void: ...
14262
+ def put_PointerOverPlaceholderGlyph(self, value: hstr) -> Void: ...
14263
14263
  @winrt_commethod(14)
14264
- def get_PlaceholderGlyph(self) -> WinRT_String: ...
14264
+ def get_PlaceholderGlyph(self) -> hstr: ...
14265
14265
  @winrt_commethod(15)
14266
- def put_PlaceholderGlyph(self, value: WinRT_String) -> Void: ...
14266
+ def put_PlaceholderGlyph(self, value: hstr) -> Void: ...
14267
14267
  @winrt_commethod(16)
14268
- def get_UnsetGlyph(self) -> WinRT_String: ...
14268
+ def get_UnsetGlyph(self) -> hstr: ...
14269
14269
  @winrt_commethod(17)
14270
- def put_UnsetGlyph(self, value: WinRT_String) -> Void: ...
14270
+ def put_UnsetGlyph(self, value: hstr) -> Void: ...
14271
14271
  DisabledGlyph = property(get_DisabledGlyph, put_DisabledGlyph)
14272
14272
  Glyph = property(get_Glyph, put_Glyph)
14273
14273
  PlaceholderGlyph = property(get_PlaceholderGlyph, put_PlaceholderGlyph)
@@ -14394,7 +14394,7 @@ class IRefreshContainer(ComPtr):
14394
14394
  def RequestRefresh(self) -> Void: ...
14395
14395
  PullDirection = property(get_PullDirection, put_PullDirection)
14396
14396
  Visualizer = property(get_Visualizer, put_Visualizer)
14397
- RefreshRequested = event()
14397
+ RefreshRequested = event(add_RefreshRequested, remove_RefreshRequested)
14398
14398
  class IRefreshContainerFactory(ComPtr):
14399
14399
  extends: IInspectable
14400
14400
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRefreshContainerFactory'
@@ -14461,8 +14461,8 @@ class IRefreshVisualizer(ComPtr):
14461
14461
  Content = property(get_Content, put_Content)
14462
14462
  Orientation = property(get_Orientation, put_Orientation)
14463
14463
  State = property(get_State, None)
14464
- RefreshRequested = event()
14465
- RefreshStateChanged = event()
14464
+ RefreshRequested = event(add_RefreshRequested, remove_RefreshRequested)
14465
+ RefreshStateChanged = event(add_RefreshStateChanged, remove_RefreshStateChanged)
14466
14466
  class IRefreshVisualizerFactory(ComPtr):
14467
14467
  extends: IInspectable
14468
14468
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRefreshVisualizerFactory'
@@ -14704,9 +14704,9 @@ class IRichEditBox(ComPtr):
14704
14704
  @winrt_commethod(24)
14705
14705
  def put_HeaderTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
14706
14706
  @winrt_commethod(25)
14707
- def get_PlaceholderText(self) -> WinRT_String: ...
14707
+ def get_PlaceholderText(self) -> hstr: ...
14708
14708
  @winrt_commethod(26)
14709
- def put_PlaceholderText(self, value: WinRT_String) -> Void: ...
14709
+ def put_PlaceholderText(self, value: hstr) -> Void: ...
14710
14710
  @winrt_commethod(27)
14711
14711
  def get_SelectionHighlightColor(self) -> win32more.Microsoft.UI.Xaml.Media.SolidColorBrush: ...
14712
14712
  @winrt_commethod(28)
@@ -14792,7 +14792,7 @@ class IRichEditBox(ComPtr):
14792
14792
  @winrt_commethod(68)
14793
14793
  def remove_SelectionChanging(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
14794
14794
  @winrt_commethod(69)
14795
- def GetLinguisticAlternativesAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[WinRT_String]]: ...
14795
+ def GetLinguisticAlternativesAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[hstr]]: ...
14796
14796
  @winrt_commethod(70)
14797
14797
  def get_TextReadingOrder(self) -> win32more.Microsoft.UI.Xaml.TextReadingOrder: ...
14798
14798
  @winrt_commethod(71)
@@ -14839,18 +14839,18 @@ class IRichEditBox(ComPtr):
14839
14839
  TextDocument = property(get_TextDocument, None)
14840
14840
  TextReadingOrder = property(get_TextReadingOrder, put_TextReadingOrder)
14841
14841
  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()
14842
+ CandidateWindowBoundsChanged = event(add_CandidateWindowBoundsChanged, remove_CandidateWindowBoundsChanged)
14843
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
14844
+ CopyingToClipboard = event(add_CopyingToClipboard, remove_CopyingToClipboard)
14845
+ CuttingToClipboard = event(add_CuttingToClipboard, remove_CuttingToClipboard)
14846
+ Paste = event(add_Paste, remove_Paste)
14847
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
14848
+ SelectionChanging = event(add_SelectionChanging, remove_SelectionChanging)
14849
+ TextChanged = event(add_TextChanged, remove_TextChanged)
14850
+ TextChanging = event(add_TextChanging, remove_TextChanging)
14851
+ TextCompositionChanged = event(add_TextCompositionChanged, remove_TextCompositionChanged)
14852
+ TextCompositionEnded = event(add_TextCompositionEnded, remove_TextCompositionEnded)
14853
+ TextCompositionStarted = event(add_TextCompositionStarted, remove_TextCompositionStarted)
14854
14854
  class IRichEditBoxFactory(ComPtr):
14855
14855
  extends: IInspectable
14856
14856
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRichEditBoxFactory'
@@ -15024,7 +15024,7 @@ class IRichTextBlock(ComPtr):
15024
15024
  @winrt_commethod(37)
15025
15025
  def get_HasOverflowContent(self) -> Boolean: ...
15026
15026
  @winrt_commethod(38)
15027
- def get_SelectedText(self) -> WinRT_String: ...
15027
+ def get_SelectedText(self) -> hstr: ...
15028
15028
  @winrt_commethod(39)
15029
15029
  def get_ContentStart(self) -> win32more.Microsoft.UI.Xaml.Documents.TextPointer: ...
15030
15030
  @winrt_commethod(40)
@@ -15139,9 +15139,9 @@ class IRichTextBlock(ComPtr):
15139
15139
  TextReadingOrder = property(get_TextReadingOrder, put_TextReadingOrder)
15140
15140
  TextTrimming = property(get_TextTrimming, put_TextTrimming)
15141
15141
  TextWrapping = property(get_TextWrapping, put_TextWrapping)
15142
- SelectionChanged = event()
15143
- ContextMenuOpening = event()
15144
- IsTextTrimmedChanged = event()
15142
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
15143
+ IsTextTrimmedChanged = event(add_IsTextTrimmedChanged, remove_IsTextTrimmedChanged)
15144
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
15145
15145
  class IRichTextBlockOverflow(ComPtr):
15146
15146
  extends: IInspectable
15147
15147
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRichTextBlockOverflow'
@@ -15185,7 +15185,7 @@ class IRichTextBlockOverflow(ComPtr):
15185
15185
  MaxLines = property(get_MaxLines, put_MaxLines)
15186
15186
  OverflowContentTarget = property(get_OverflowContentTarget, put_OverflowContentTarget)
15187
15187
  Padding = property(get_Padding, put_Padding)
15188
- IsTextTrimmedChanged = event()
15188
+ IsTextTrimmedChanged = event(add_IsTextTrimmedChanged, remove_IsTextTrimmedChanged)
15189
15189
  class IRichTextBlockOverflowStatics(ComPtr):
15190
15190
  extends: IInspectable
15191
15191
  _classid_ = 'Microsoft.UI.Xaml.Controls.IRichTextBlockOverflowStatics'
@@ -15629,15 +15629,15 @@ class IScrollView(ComPtr):
15629
15629
  ZoomChainMode = property(get_ZoomChainMode, put_ZoomChainMode)
15630
15630
  ZoomFactor = property(get_ZoomFactor, None)
15631
15631
  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()
15632
+ AnchorRequested = event(add_AnchorRequested, remove_AnchorRequested)
15633
+ BringingIntoView = event(add_BringingIntoView, remove_BringingIntoView)
15634
+ ExtentChanged = event(add_ExtentChanged, remove_ExtentChanged)
15635
+ ScrollAnimationStarting = event(add_ScrollAnimationStarting, remove_ScrollAnimationStarting)
15636
+ ScrollCompleted = event(add_ScrollCompleted, remove_ScrollCompleted)
15637
+ StateChanged = event(add_StateChanged, remove_StateChanged)
15638
+ ViewChanged = event(add_ViewChanged, remove_ViewChanged)
15639
+ ZoomAnimationStarting = event(add_ZoomAnimationStarting, remove_ZoomAnimationStarting)
15640
+ ZoomCompleted = event(add_ZoomCompleted, remove_ZoomCompleted)
15641
15641
  class IScrollViewFactory(ComPtr):
15642
15642
  extends: IInspectable
15643
15643
  _classid_ = 'Microsoft.UI.Xaml.Controls.IScrollViewFactory'
@@ -15926,11 +15926,11 @@ class IScrollViewer(ComPtr):
15926
15926
  ZoomMode = property(get_ZoomMode, put_ZoomMode)
15927
15927
  ZoomSnapPoints = property(get_ZoomSnapPoints, None)
15928
15928
  ZoomSnapPointsType = property(get_ZoomSnapPointsType, put_ZoomSnapPointsType)
15929
- AnchorRequested = event()
15930
- ViewChanging = event()
15931
- ViewChanged = event()
15932
- DirectManipulationStarted = event()
15933
- DirectManipulationCompleted = event()
15929
+ AnchorRequested = event(add_AnchorRequested, remove_AnchorRequested)
15930
+ DirectManipulationCompleted = event(add_DirectManipulationCompleted, remove_DirectManipulationCompleted)
15931
+ DirectManipulationStarted = event(add_DirectManipulationStarted, remove_DirectManipulationStarted)
15932
+ ViewChanged = event(add_ViewChanged, remove_ViewChanged)
15933
+ ViewChanging = event(add_ViewChanging, remove_ViewChanging)
15934
15934
  class IScrollViewerStatics(ComPtr):
15935
15935
  extends: IInspectable
15936
15936
  _classid_ = 'Microsoft.UI.Xaml.Controls.IScrollViewerStatics'
@@ -16329,7 +16329,7 @@ class ISelectorBar(ComPtr):
16329
16329
  def remove_SelectionChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
16330
16330
  Items = property(get_Items, None)
16331
16331
  SelectedItem = property(get_SelectedItem, put_SelectedItem)
16332
- SelectionChanged = event()
16332
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
16333
16333
  class ISelectorBarFactory(ComPtr):
16334
16334
  extends: IInspectable
16335
16335
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISelectorBarFactory'
@@ -16341,9 +16341,9 @@ class ISelectorBarItem(ComPtr):
16341
16341
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISelectorBarItem'
16342
16342
  _iid_ = Guid('{3cdba1f9-a13a-56a2-b9a9-f954998d3658}')
16343
16343
  @winrt_commethod(6)
16344
- def get_Text(self) -> WinRT_String: ...
16344
+ def get_Text(self) -> hstr: ...
16345
16345
  @winrt_commethod(7)
16346
- def put_Text(self, value: WinRT_String) -> Void: ...
16346
+ def put_Text(self, value: hstr) -> Void: ...
16347
16347
  @winrt_commethod(8)
16348
16348
  def get_Icon(self) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
16349
16349
  @winrt_commethod(9)
@@ -16419,8 +16419,8 @@ class ISemanticZoom(ComPtr):
16419
16419
  IsZoomedInViewActive = property(get_IsZoomedInViewActive, put_IsZoomedInViewActive)
16420
16420
  ZoomedInView = property(get_ZoomedInView, put_ZoomedInView)
16421
16421
  ZoomedOutView = property(get_ZoomedOutView, put_ZoomedOutView)
16422
- ViewChangeStarted = event()
16423
- ViewChangeCompleted = event()
16422
+ ViewChangeCompleted = event(add_ViewChangeCompleted, remove_ViewChangeCompleted)
16423
+ ViewChangeStarted = event(add_ViewChangeStarted, remove_ViewChangeStarted)
16424
16424
  class ISemanticZoomInformation(ComPtr):
16425
16425
  extends: IInspectable
16426
16426
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISemanticZoomInformation'
@@ -16631,7 +16631,7 @@ class ISplitButton(ComPtr):
16631
16631
  Command = property(get_Command, put_Command)
16632
16632
  CommandParameter = property(get_CommandParameter, put_CommandParameter)
16633
16633
  Flyout = property(get_Flyout, put_Flyout)
16634
- Click = event()
16634
+ Click = event(add_Click, remove_Click)
16635
16635
  class ISplitButtonClickEventArgs(ComPtr):
16636
16636
  extends: IInspectable
16637
16637
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISplitButtonClickEventArgs'
@@ -16723,10 +16723,10 @@ class ISplitView(ComPtr):
16723
16723
  PaneBackground = property(get_PaneBackground, put_PaneBackground)
16724
16724
  PanePlacement = property(get_PanePlacement, put_PanePlacement)
16725
16725
  TemplateSettings = property(get_TemplateSettings, None)
16726
- PaneClosing = event()
16727
- PaneClosed = event()
16728
- PaneOpening = event()
16729
- PaneOpened = event()
16726
+ PaneClosed = event(add_PaneClosed, remove_PaneClosed)
16727
+ PaneClosing = event(add_PaneClosing, remove_PaneClosing)
16728
+ PaneOpened = event(add_PaneOpened, remove_PaneOpened)
16729
+ PaneOpening = event(add_PaneOpening, remove_PaneOpening)
16730
16730
  class ISplitViewFactory(ComPtr):
16731
16731
  extends: IInspectable
16732
16732
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISplitViewFactory'
@@ -16928,7 +16928,7 @@ class ISwapChainPanel(ComPtr):
16928
16928
  def CreateCoreIndependentInputSource(self, deviceKinds: win32more.Microsoft.UI.Input.InputPointerSourceDeviceKinds) -> win32more.Microsoft.UI.Input.InputPointerSource: ...
16929
16929
  CompositionScaleX = property(get_CompositionScaleX, None)
16930
16930
  CompositionScaleY = property(get_CompositionScaleY, None)
16931
- CompositionScaleChanged = event()
16931
+ CompositionScaleChanged = event(add_CompositionScaleChanged, remove_CompositionScaleChanged)
16932
16932
  class ISwapChainPanelFactory(ComPtr):
16933
16933
  extends: IInspectable
16934
16934
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISwapChainPanelFactory'
@@ -16998,9 +16998,9 @@ class ISwipeItem(ComPtr):
16998
16998
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISwipeItem'
16999
16999
  _iid_ = Guid('{5e8d4950-b826-510a-b309-77afcdc65b1f}')
17000
17000
  @winrt_commethod(6)
17001
- def get_Text(self) -> WinRT_String: ...
17001
+ def get_Text(self) -> hstr: ...
17002
17002
  @winrt_commethod(7)
17003
- def put_Text(self, value: WinRT_String) -> Void: ...
17003
+ def put_Text(self, value: hstr) -> Void: ...
17004
17004
  @winrt_commethod(8)
17005
17005
  def get_IconSource(self) -> win32more.Microsoft.UI.Xaml.Controls.IconSource: ...
17006
17006
  @winrt_commethod(9)
@@ -17036,7 +17036,7 @@ class ISwipeItem(ComPtr):
17036
17036
  Foreground = property(get_Foreground, put_Foreground)
17037
17037
  IconSource = property(get_IconSource, put_IconSource)
17038
17038
  Text = property(get_Text, put_Text)
17039
- Invoked = event()
17039
+ Invoked = event(add_Invoked, remove_Invoked)
17040
17040
  class ISwipeItemFactory(ComPtr):
17041
17041
  extends: IInspectable
17042
17042
  _classid_ = 'Microsoft.UI.Xaml.Controls.ISwipeItemFactory'
@@ -17273,15 +17273,15 @@ class ITabView(ComPtr):
17273
17273
  TabStripHeader = property(get_TabStripHeader, put_TabStripHeader)
17274
17274
  TabStripHeaderTemplate = property(get_TabStripHeaderTemplate, put_TabStripHeaderTemplate)
17275
17275
  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()
17276
+ AddTabButtonClick = event(add_AddTabButtonClick, remove_AddTabButtonClick)
17277
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
17278
+ TabCloseRequested = event(add_TabCloseRequested, remove_TabCloseRequested)
17279
+ TabDragCompleted = event(add_TabDragCompleted, remove_TabDragCompleted)
17280
+ TabDragStarting = event(add_TabDragStarting, remove_TabDragStarting)
17281
+ TabDroppedOutside = event(add_TabDroppedOutside, remove_TabDroppedOutside)
17282
+ TabItemsChanged = event(add_TabItemsChanged, remove_TabItemsChanged)
17283
+ TabStripDragOver = event(add_TabStripDragOver, remove_TabStripDragOver)
17284
+ TabStripDrop = event(add_TabStripDrop, remove_TabStripDrop)
17285
17285
  class ITabView2(ComPtr):
17286
17286
  extends: IInspectable
17287
17287
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITabView2'
@@ -17307,10 +17307,10 @@ class ITabView2(ComPtr):
17307
17307
  @winrt_commethod(15)
17308
17308
  def remove_ExternalTornOutTabsDropped(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
17309
17309
  CanTearOutTabs = property(get_CanTearOutTabs, put_CanTearOutTabs)
17310
- TabTearOutWindowRequested = event()
17311
- TabTearOutRequested = event()
17312
- ExternalTornOutTabsDropping = event()
17313
- ExternalTornOutTabsDropped = event()
17310
+ ExternalTornOutTabsDropped = event(add_ExternalTornOutTabsDropped, remove_ExternalTornOutTabsDropped)
17311
+ ExternalTornOutTabsDropping = event(add_ExternalTornOutTabsDropping, remove_ExternalTornOutTabsDropping)
17312
+ TabTearOutRequested = event(add_TabTearOutRequested, remove_TabTearOutRequested)
17313
+ TabTearOutWindowRequested = event(add_TabTearOutWindowRequested, remove_TabTearOutWindowRequested)
17314
17314
  class ITabViewExternalTornOutTabsDroppedEventArgs(ComPtr):
17315
17315
  extends: IInspectable
17316
17316
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewExternalTornOutTabsDroppedEventArgs'
@@ -17379,7 +17379,7 @@ class ITabViewItem(ComPtr):
17379
17379
  IconSource = property(get_IconSource, put_IconSource)
17380
17380
  IsClosable = property(get_IsClosable, put_IsClosable)
17381
17381
  TabViewTemplateSettings = property(get_TabViewTemplateSettings, None)
17382
- CloseRequested = event()
17382
+ CloseRequested = event(add_CloseRequested, remove_CloseRequested)
17383
17383
  class ITabViewItemFactory(ComPtr):
17384
17384
  extends: IInspectable
17385
17385
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITabViewItemFactory'
@@ -17592,13 +17592,13 @@ class ITeachingTip(ComPtr):
17592
17592
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITeachingTip'
17593
17593
  _iid_ = Guid('{daebd5f7-3b47-5b12-b804-f4e1442b2113}')
17594
17594
  @winrt_commethod(6)
17595
- def get_Title(self) -> WinRT_String: ...
17595
+ def get_Title(self) -> hstr: ...
17596
17596
  @winrt_commethod(7)
17597
- def put_Title(self, value: WinRT_String) -> Void: ...
17597
+ def put_Title(self, value: hstr) -> Void: ...
17598
17598
  @winrt_commethod(8)
17599
- def get_Subtitle(self) -> WinRT_String: ...
17599
+ def get_Subtitle(self) -> hstr: ...
17600
17600
  @winrt_commethod(9)
17601
- def put_Subtitle(self, value: WinRT_String) -> Void: ...
17601
+ def put_Subtitle(self, value: hstr) -> Void: ...
17602
17602
  @winrt_commethod(10)
17603
17603
  def get_IsOpen(self) -> Boolean: ...
17604
17604
  @winrt_commethod(11)
@@ -17710,10 +17710,10 @@ class ITeachingTip(ComPtr):
17710
17710
  Target = property(get_Target, put_Target)
17711
17711
  TemplateSettings = property(get_TemplateSettings, None)
17712
17712
  Title = property(get_Title, put_Title)
17713
- ActionButtonClick = event()
17714
- CloseButtonClick = event()
17715
- Closing = event()
17716
- Closed = event()
17713
+ ActionButtonClick = event(add_ActionButtonClick, remove_ActionButtonClick)
17714
+ CloseButtonClick = event(add_CloseButtonClick, remove_CloseButtonClick)
17715
+ Closed = event(add_Closed, remove_Closed)
17716
+ Closing = event(add_Closing, remove_Closing)
17717
17717
  class ITeachingTipClosedEventArgs(ComPtr):
17718
17718
  extends: IInspectable
17719
17719
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITeachingTipClosedEventArgs'
@@ -17891,9 +17891,9 @@ class ITextBlock(ComPtr):
17891
17891
  @winrt_commethod(25)
17892
17892
  def put_TextAlignment(self, value: win32more.Microsoft.UI.Xaml.TextAlignment) -> Void: ...
17893
17893
  @winrt_commethod(26)
17894
- def get_Text(self) -> WinRT_String: ...
17894
+ def get_Text(self) -> hstr: ...
17895
17895
  @winrt_commethod(27)
17896
- def put_Text(self, value: WinRT_String) -> Void: ...
17896
+ def put_Text(self, value: hstr) -> Void: ...
17897
17897
  @winrt_commethod(28)
17898
17898
  def get_Inlines(self) -> win32more.Microsoft.UI.Xaml.Documents.InlineCollection: ...
17899
17899
  @winrt_commethod(29)
@@ -17913,7 +17913,7 @@ class ITextBlock(ComPtr):
17913
17913
  @winrt_commethod(36)
17914
17914
  def put_IsTextSelectionEnabled(self, value: Boolean) -> Void: ...
17915
17915
  @winrt_commethod(37)
17916
- def get_SelectedText(self) -> WinRT_String: ...
17916
+ def get_SelectedText(self) -> hstr: ...
17917
17917
  @winrt_commethod(38)
17918
17918
  def get_ContentStart(self) -> win32more.Microsoft.UI.Xaml.Documents.TextPointer: ...
17919
17919
  @winrt_commethod(39)
@@ -18022,9 +18022,9 @@ class ITextBlock(ComPtr):
18022
18022
  TextReadingOrder = property(get_TextReadingOrder, put_TextReadingOrder)
18023
18023
  TextTrimming = property(get_TextTrimming, put_TextTrimming)
18024
18024
  TextWrapping = property(get_TextWrapping, put_TextWrapping)
18025
- SelectionChanged = event()
18026
- ContextMenuOpening = event()
18027
- IsTextTrimmedChanged = event()
18025
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
18026
+ IsTextTrimmedChanged = event(add_IsTextTrimmedChanged, remove_IsTextTrimmedChanged)
18027
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
18028
18028
  class ITextBlockStatics(ComPtr):
18029
18029
  extends: IInspectable
18030
18030
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITextBlockStatics'
@@ -18115,13 +18115,13 @@ class ITextBox(ComPtr):
18115
18115
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITextBox'
18116
18116
  _iid_ = Guid('{873af7c2-ab89-5d76-8dbe-3d6325669df5}')
18117
18117
  @winrt_commethod(6)
18118
- def get_Text(self) -> WinRT_String: ...
18118
+ def get_Text(self) -> hstr: ...
18119
18119
  @winrt_commethod(7)
18120
- def put_Text(self, value: WinRT_String) -> Void: ...
18120
+ def put_Text(self, value: hstr) -> Void: ...
18121
18121
  @winrt_commethod(8)
18122
- def get_SelectedText(self) -> WinRT_String: ...
18122
+ def get_SelectedText(self) -> hstr: ...
18123
18123
  @winrt_commethod(9)
18124
- def put_SelectedText(self, value: WinRT_String) -> Void: ...
18124
+ def put_SelectedText(self, value: hstr) -> Void: ...
18125
18125
  @winrt_commethod(10)
18126
18126
  def get_SelectionLength(self) -> Int32: ...
18127
18127
  @winrt_commethod(11)
@@ -18171,9 +18171,9 @@ class ITextBox(ComPtr):
18171
18171
  @winrt_commethod(33)
18172
18172
  def put_HeaderTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
18173
18173
  @winrt_commethod(34)
18174
- def get_PlaceholderText(self) -> WinRT_String: ...
18174
+ def get_PlaceholderText(self) -> hstr: ...
18175
18175
  @winrt_commethod(35)
18176
- def put_PlaceholderText(self, value: WinRT_String) -> Void: ...
18176
+ def put_PlaceholderText(self, value: hstr) -> Void: ...
18177
18177
  @winrt_commethod(36)
18178
18178
  def get_SelectionHighlightColor(self) -> win32more.Microsoft.UI.Xaml.Media.SolidColorBrush: ...
18179
18179
  @winrt_commethod(37)
@@ -18269,7 +18269,7 @@ class ITextBox(ComPtr):
18269
18269
  @winrt_commethod(82)
18270
18270
  def GetRectFromCharacterIndex(self, charIndex: Int32, trailingEdge: Boolean) -> win32more.Windows.Foundation.Rect: ...
18271
18271
  @winrt_commethod(83)
18272
- def GetLinguisticAlternativesAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[WinRT_String]]: ...
18272
+ def GetLinguisticAlternativesAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[hstr]]: ...
18273
18273
  @winrt_commethod(84)
18274
18274
  def Undo(self) -> Void: ...
18275
18275
  @winrt_commethod(85)
@@ -18328,25 +18328,25 @@ class ITextBox(ComPtr):
18328
18328
  TextAlignment = property(get_TextAlignment, put_TextAlignment)
18329
18329
  TextReadingOrder = property(get_TextReadingOrder, put_TextReadingOrder)
18330
18330
  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()
18331
+ BeforeTextChanging = event(add_BeforeTextChanging, remove_BeforeTextChanging)
18332
+ CandidateWindowBoundsChanged = event(add_CandidateWindowBoundsChanged, remove_CandidateWindowBoundsChanged)
18333
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
18334
+ CopyingToClipboard = event(add_CopyingToClipboard, remove_CopyingToClipboard)
18335
+ CuttingToClipboard = event(add_CuttingToClipboard, remove_CuttingToClipboard)
18336
+ Paste = event(add_Paste, remove_Paste)
18337
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
18338
+ SelectionChanging = event(add_SelectionChanging, remove_SelectionChanging)
18339
+ TextChanged = event(add_TextChanged, remove_TextChanged)
18340
+ TextChanging = event(add_TextChanging, remove_TextChanging)
18341
+ TextCompositionChanged = event(add_TextCompositionChanged, remove_TextCompositionChanged)
18342
+ TextCompositionEnded = event(add_TextCompositionEnded, remove_TextCompositionEnded)
18343
+ TextCompositionStarted = event(add_TextCompositionStarted, remove_TextCompositionStarted)
18344
18344
  class ITextBoxBeforeTextChangingEventArgs(ComPtr):
18345
18345
  extends: IInspectable
18346
18346
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITextBoxBeforeTextChangingEventArgs'
18347
18347
  _iid_ = Guid('{ba46105b-9a16-5237-a20f-5df750992a05}')
18348
18348
  @winrt_commethod(6)
18349
- def get_NewText(self) -> WinRT_String: ...
18349
+ def get_NewText(self) -> hstr: ...
18350
18350
  @winrt_commethod(7)
18351
18351
  def get_Cancel(self) -> Boolean: ...
18352
18352
  @winrt_commethod(8)
@@ -18560,9 +18560,9 @@ class ITimePicker(ComPtr):
18560
18560
  @winrt_commethod(9)
18561
18561
  def put_HeaderTemplate(self, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
18562
18562
  @winrt_commethod(10)
18563
- def get_ClockIdentifier(self) -> WinRT_String: ...
18563
+ def get_ClockIdentifier(self) -> hstr: ...
18564
18564
  @winrt_commethod(11)
18565
- def put_ClockIdentifier(self, value: WinRT_String) -> Void: ...
18565
+ def put_ClockIdentifier(self, value: hstr) -> Void: ...
18566
18566
  @winrt_commethod(12)
18567
18567
  def get_MinuteIncrement(self) -> Int32: ...
18568
18568
  @winrt_commethod(13)
@@ -18594,8 +18594,8 @@ class ITimePicker(ComPtr):
18594
18594
  MinuteIncrement = property(get_MinuteIncrement, put_MinuteIncrement)
18595
18595
  SelectedTime = property(get_SelectedTime, put_SelectedTime)
18596
18596
  Time = property(get_Time, put_Time)
18597
- TimeChanged = event()
18598
- SelectedTimeChanged = event()
18597
+ SelectedTimeChanged = event(add_SelectedTimeChanged, remove_SelectedTimeChanged)
18598
+ TimeChanged = event(add_TimeChanged, remove_TimeChanged)
18599
18599
  class ITimePickerFactory(ComPtr):
18600
18600
  extends: IInspectable
18601
18601
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITimePickerFactory'
@@ -18607,9 +18607,9 @@ class ITimePickerFlyout(ComPtr):
18607
18607
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITimePickerFlyout'
18608
18608
  _iid_ = Guid('{479799dc-700a-5a9c-ba0b-9ab2587ed2e8}')
18609
18609
  @winrt_commethod(6)
18610
- def get_ClockIdentifier(self) -> WinRT_String: ...
18610
+ def get_ClockIdentifier(self) -> hstr: ...
18611
18611
  @winrt_commethod(7)
18612
- def put_ClockIdentifier(self, value: WinRT_String) -> Void: ...
18612
+ def put_ClockIdentifier(self, value: hstr) -> Void: ...
18613
18613
  @winrt_commethod(8)
18614
18614
  def get_Time(self) -> win32more.Windows.Foundation.TimeSpan: ...
18615
18615
  @winrt_commethod(9)
@@ -18627,7 +18627,7 @@ class ITimePickerFlyout(ComPtr):
18627
18627
  ClockIdentifier = property(get_ClockIdentifier, put_ClockIdentifier)
18628
18628
  MinuteIncrement = property(get_MinuteIncrement, put_MinuteIncrement)
18629
18629
  Time = property(get_Time, put_Time)
18630
- TimePicked = event()
18630
+ TimePicked = event(add_TimePicked, remove_TimePicked)
18631
18631
  class ITimePickerFlyoutPresenter(ComPtr):
18632
18632
  extends: IInspectable
18633
18633
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITimePickerFlyoutPresenter'
@@ -18707,13 +18707,13 @@ class ITitleBar(ComPtr):
18707
18707
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBar'
18708
18708
  _iid_ = Guid('{c552714d-5d30-5a2b-9c7a-d68bea3dde8d}')
18709
18709
  @winrt_commethod(6)
18710
- def get_Title(self) -> WinRT_String: ...
18710
+ def get_Title(self) -> hstr: ...
18711
18711
  @winrt_commethod(7)
18712
- def put_Title(self, value: WinRT_String) -> Void: ...
18712
+ def put_Title(self, value: hstr) -> Void: ...
18713
18713
  @winrt_commethod(8)
18714
- def get_Subtitle(self) -> WinRT_String: ...
18714
+ def get_Subtitle(self) -> hstr: ...
18715
18715
  @winrt_commethod(9)
18716
- def put_Subtitle(self, value: WinRT_String) -> Void: ...
18716
+ def put_Subtitle(self, value: hstr) -> Void: ...
18717
18717
  @winrt_commethod(10)
18718
18718
  def get_IconSource(self) -> win32more.Microsoft.UI.Xaml.Controls.IconSource: ...
18719
18719
  @winrt_commethod(11)
@@ -18762,8 +18762,8 @@ class ITitleBar(ComPtr):
18762
18762
  Subtitle = property(get_Subtitle, put_Subtitle)
18763
18763
  TemplateSettings = property(get_TemplateSettings, None)
18764
18764
  Title = property(get_Title, put_Title)
18765
- BackRequested = event()
18766
- PaneToggleRequested = event()
18765
+ BackRequested = event(add_BackRequested, remove_BackRequested)
18766
+ PaneToggleRequested = event(add_PaneToggleRequested, remove_PaneToggleRequested)
18767
18767
  class ITitleBarAutomationPeer(ComPtr):
18768
18768
  extends: IInspectable
18769
18769
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITitleBarAutomationPeer'
@@ -18871,7 +18871,7 @@ class IToggleSplitButton(ComPtr):
18871
18871
  @winrt_commethod(9)
18872
18872
  def remove_IsCheckedChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
18873
18873
  IsChecked = property(get_IsChecked, put_IsChecked)
18874
- IsCheckedChanged = event()
18874
+ IsCheckedChanged = event(add_IsCheckedChanged, remove_IsCheckedChanged)
18875
18875
  class IToggleSplitButtonFactory(ComPtr):
18876
18876
  extends: IInspectable
18877
18877
  _classid_ = 'Microsoft.UI.Xaml.Controls.IToggleSplitButtonFactory'
@@ -18935,7 +18935,7 @@ class IToggleSwitch(ComPtr):
18935
18935
  OnContent = property(get_OnContent, put_OnContent)
18936
18936
  OnContentTemplate = property(get_OnContentTemplate, put_OnContentTemplate)
18937
18937
  TemplateSettings = property(get_TemplateSettings, None)
18938
- Toggled = event()
18938
+ Toggled = event(add_Toggled, remove_Toggled)
18939
18939
  class IToggleSwitchOverrides(ComPtr):
18940
18940
  extends: IInspectable
18941
18941
  _classid_ = 'Microsoft.UI.Xaml.Controls.IToggleSwitchOverrides'
@@ -19018,8 +19018,8 @@ class IToolTip(ComPtr):
19018
19018
  PlacementTarget = property(get_PlacementTarget, put_PlacementTarget)
19019
19019
  TemplateSettings = property(get_TemplateSettings, None)
19020
19020
  VerticalOffset = property(get_VerticalOffset, put_VerticalOffset)
19021
- Closed = event()
19022
- Opened = event()
19021
+ Closed = event(add_Closed, remove_Closed)
19022
+ Opened = event(add_Opened, remove_Opened)
19023
19023
  class IToolTipFactory(ComPtr):
19024
19024
  extends: IInspectable
19025
19025
  _classid_ = 'Microsoft.UI.Xaml.Controls.IToolTipFactory'
@@ -19110,9 +19110,9 @@ class ITreeView(ComPtr):
19110
19110
  RootNodes = property(get_RootNodes, None)
19111
19111
  SelectedNodes = property(get_SelectedNodes, None)
19112
19112
  SelectionMode = property(get_SelectionMode, put_SelectionMode)
19113
- ItemInvoked = event()
19114
- Expanding = event()
19115
- Collapsed = event()
19113
+ Collapsed = event(add_Collapsed, remove_Collapsed)
19114
+ Expanding = event(add_Expanding, remove_Expanding)
19115
+ ItemInvoked = event(add_ItemInvoked, remove_ItemInvoked)
19116
19116
  class ITreeView2(ComPtr):
19117
19117
  extends: IInspectable
19118
19118
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITreeView2'
@@ -19186,8 +19186,8 @@ class ITreeView2(ComPtr):
19186
19186
  SelectedItem = property(get_SelectedItem, put_SelectedItem)
19187
19187
  SelectedItems = property(get_SelectedItems, None)
19188
19188
  SelectedNode = property(get_SelectedNode, put_SelectedNode)
19189
- DragItemsStarting = event()
19190
- DragItemsCompleted = event()
19189
+ DragItemsCompleted = event(add_DragItemsCompleted, remove_DragItemsCompleted)
19190
+ DragItemsStarting = event(add_DragItemsStarting, remove_DragItemsStarting)
19191
19191
  class ITreeView3(ComPtr):
19192
19192
  extends: IInspectable
19193
19193
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITreeView3'
@@ -19196,7 +19196,7 @@ class ITreeView3(ComPtr):
19196
19196
  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
19197
  @winrt_commethod(7)
19198
19198
  def remove_SelectionChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
19199
- SelectionChanged = event()
19199
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
19200
19200
  class ITreeViewCollapsedEventArgs(ComPtr):
19201
19201
  extends: IInspectable
19202
19202
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITreeViewCollapsedEventArgs'
@@ -19276,13 +19276,13 @@ class ITreeViewItem(ComPtr):
19276
19276
  @winrt_commethod(9)
19277
19277
  def put_GlyphBrush(self, value: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
19278
19278
  @winrt_commethod(10)
19279
- def get_ExpandedGlyph(self) -> WinRT_String: ...
19279
+ def get_ExpandedGlyph(self) -> hstr: ...
19280
19280
  @winrt_commethod(11)
19281
- def put_ExpandedGlyph(self, value: WinRT_String) -> Void: ...
19281
+ def put_ExpandedGlyph(self, value: hstr) -> Void: ...
19282
19282
  @winrt_commethod(12)
19283
- def get_CollapsedGlyph(self) -> WinRT_String: ...
19283
+ def get_CollapsedGlyph(self) -> hstr: ...
19284
19284
  @winrt_commethod(13)
19285
- def put_CollapsedGlyph(self, value: WinRT_String) -> Void: ...
19285
+ def put_CollapsedGlyph(self, value: hstr) -> Void: ...
19286
19286
  @winrt_commethod(14)
19287
19287
  def get_GlyphSize(self) -> Double: ...
19288
19288
  @winrt_commethod(15)
@@ -19572,7 +19572,7 @@ class ITwoPaneView(ComPtr):
19572
19572
  PanePriority = property(get_PanePriority, put_PanePriority)
19573
19573
  TallModeConfiguration = property(get_TallModeConfiguration, put_TallModeConfiguration)
19574
19574
  WideModeConfiguration = property(get_WideModeConfiguration, put_WideModeConfiguration)
19575
- ModeChanged = event()
19575
+ ModeChanged = event(add_ModeChanged, remove_ModeChanged)
19576
19576
  class ITwoPaneViewFactory(ComPtr):
19577
19577
  extends: IInspectable
19578
19578
  _classid_ = 'Microsoft.UI.Xaml.Controls.ITwoPaneViewFactory'
@@ -19958,7 +19958,7 @@ class IVirtualizingStackPanel(ComPtr):
19958
19958
  def remove_CleanUpVirtualizedItemEvent(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
19959
19959
  AreScrollSnapPointsRegular = property(get_AreScrollSnapPointsRegular, put_AreScrollSnapPointsRegular)
19960
19960
  Orientation = property(get_Orientation, put_Orientation)
19961
- CleanUpVirtualizedItemEvent = event()
19961
+ CleanUpVirtualizedItemEvent = event(add_CleanUpVirtualizedItemEvent, remove_CleanUpVirtualizedItemEvent)
19962
19962
  class IVirtualizingStackPanelOverrides(ComPtr):
19963
19963
  extends: IInspectable
19964
19964
  _classid_ = 'Microsoft.UI.Xaml.Controls.IVirtualizingStackPanelOverrides'
@@ -19996,7 +19996,7 @@ class IWebView2(ComPtr):
19996
19996
  @winrt_commethod(7)
19997
19997
  def EnsureCoreWebView2Async(self) -> win32more.Windows.Foundation.IAsyncAction: ...
19998
19998
  @winrt_commethod(8)
19999
- def ExecuteScriptAsync(self, javascriptCode: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperation[WinRT_String]: ...
19999
+ def ExecuteScriptAsync(self, javascriptCode: hstr) -> win32more.Windows.Foundation.IAsyncOperation[hstr]: ...
20000
20000
  @winrt_commethod(9)
20001
20001
  def get_Source(self) -> win32more.Windows.Foundation.Uri: ...
20002
20002
  @winrt_commethod(10)
@@ -20020,7 +20020,7 @@ class IWebView2(ComPtr):
20020
20020
  @winrt_commethod(19)
20021
20021
  def GoBack(self) -> Void: ...
20022
20022
  @winrt_commethod(20)
20023
- def NavigateToString(self, htmlContent: WinRT_String) -> Void: ...
20023
+ def NavigateToString(self, htmlContent: hstr) -> Void: ...
20024
20024
  @winrt_commethod(21)
20025
20025
  def Close(self) -> Void: ...
20026
20026
  @winrt_commethod(22)
@@ -20048,11 +20048,11 @@ class IWebView2(ComPtr):
20048
20048
  CoreWebView2 = property(get_CoreWebView2, None)
20049
20049
  DefaultBackgroundColor = property(get_DefaultBackgroundColor, put_DefaultBackgroundColor)
20050
20050
  Source = property(get_Source, put_Source)
20051
- NavigationCompleted = event()
20052
- WebMessageReceived = event()
20053
- NavigationStarting = event()
20054
- CoreProcessFailed = event()
20055
- CoreWebView2Initialized = event()
20051
+ CoreProcessFailed = event(add_CoreProcessFailed, remove_CoreProcessFailed)
20052
+ CoreWebView2Initialized = event(add_CoreWebView2Initialized, remove_CoreWebView2Initialized)
20053
+ NavigationCompleted = event(add_NavigationCompleted, remove_NavigationCompleted)
20054
+ NavigationStarting = event(add_NavigationStarting, remove_NavigationStarting)
20055
+ WebMessageReceived = event(add_WebMessageReceived, remove_WebMessageReceived)
20056
20056
  class IWebView22(ComPtr):
20057
20057
  extends: IInspectable
20058
20058
  _classid_ = 'Microsoft.UI.Xaml.Controls.IWebView22'
@@ -20265,8 +20265,8 @@ class Image(ComPtr, metaclass=_Image_Meta_):
20265
20265
  _Image_Meta_.NineGridProperty = property(get_NineGridProperty, None)
20266
20266
  _Image_Meta_.SourceProperty = property(get_SourceProperty, None)
20267
20267
  _Image_Meta_.StretchProperty = property(get_StretchProperty, None)
20268
- ImageFailed = event()
20269
- ImageOpened = event()
20268
+ ImageFailed = event(add_ImageFailed, remove_ImageFailed)
20269
+ ImageOpened = event(add_ImageOpened, remove_ImageOpened)
20270
20270
  class _ImageIcon_Meta_(ComPtr.__class__):
20271
20271
  pass
20272
20272
  class ImageIcon(ComPtr, metaclass=_ImageIcon_Meta_):
@@ -20408,13 +20408,13 @@ class InfoBar(ComPtr, metaclass=_InfoBar_Meta_):
20408
20408
  @winrt_mixinmethod
20409
20409
  def put_IsOpen(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar, value: Boolean) -> Void: ...
20410
20410
  @winrt_mixinmethod
20411
- def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar) -> WinRT_String: ...
20411
+ def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar) -> hstr: ...
20412
20412
  @winrt_mixinmethod
20413
- def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar, value: WinRT_String) -> Void: ...
20413
+ def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar, value: hstr) -> Void: ...
20414
20414
  @winrt_mixinmethod
20415
- def get_Message(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar) -> WinRT_String: ...
20415
+ def get_Message(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar) -> hstr: ...
20416
20416
  @winrt_mixinmethod
20417
- def put_Message(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar, value: WinRT_String) -> Void: ...
20417
+ def put_Message(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar, value: hstr) -> Void: ...
20418
20418
  @winrt_mixinmethod
20419
20419
  def get_Severity(self: win32more.Microsoft.UI.Xaml.Controls.IInfoBar) -> win32more.Microsoft.UI.Xaml.Controls.InfoBarSeverity: ...
20420
20420
  @winrt_mixinmethod
@@ -20525,9 +20525,9 @@ class InfoBar(ComPtr, metaclass=_InfoBar_Meta_):
20525
20525
  _InfoBar_Meta_.SeverityProperty = property(get_SeverityProperty, None)
20526
20526
  _InfoBar_Meta_.TemplateSettingsProperty = property(get_TemplateSettingsProperty, None)
20527
20527
  _InfoBar_Meta_.TitleProperty = property(get_TitleProperty, None)
20528
- CloseButtonClick = event()
20529
- Closing = event()
20530
- Closed = event()
20528
+ CloseButtonClick = event(add_CloseButtonClick, remove_CloseButtonClick)
20529
+ Closed = event(add_Closed, remove_Closed)
20530
+ Closing = event(add_Closing, remove_Closing)
20531
20531
  class InfoBarCloseReason(Enum, Int32):
20532
20532
  CloseButton = 0
20533
20533
  Programmatic = 1
@@ -20639,7 +20639,7 @@ class ItemCollection(ComPtr):
20639
20639
  @winrt_mixinmethod
20640
20640
  def First(self: win32more.Windows.Foundation.Collections.IIterable[IInspectable]) -> win32more.Windows.Foundation.Collections.IIterator[IInspectable]: ...
20641
20641
  Size = property(get_Size, None)
20642
- VectorChanged = event()
20642
+ VectorChanged = event(add_VectorChanged, remove_VectorChanged)
20643
20643
  class ItemCollectionTransition(ComPtr):
20644
20644
  extends: IInspectable
20645
20645
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IItemCollectionTransition
@@ -20712,7 +20712,7 @@ class ItemCollectionTransitionProvider(ComPtr):
20712
20712
  def ShouldAnimateCore(self: win32more.Microsoft.UI.Xaml.Controls.IItemCollectionTransitionProviderOverrides, transition: win32more.Microsoft.UI.Xaml.Controls.ItemCollectionTransition) -> Boolean: ...
20713
20713
  @winrt_mixinmethod
20714
20714
  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()
20715
+ TransitionCompleted = event(add_TransitionCompleted, remove_TransitionCompleted)
20716
20716
  class ItemCollectionTransitionTriggers(Enum, UInt32):
20717
20717
  CollectionChangeAdd = 1
20718
20718
  CollectionChangeRemove = 2
@@ -20785,7 +20785,7 @@ class ItemContainerGenerator(ComPtr):
20785
20785
  def IndexFromGeneratorPosition(self: win32more.Microsoft.UI.Xaml.Controls.IItemContainerGenerator, position: win32more.Microsoft.UI.Xaml.Controls.Primitives.GeneratorPosition) -> Int32: ...
20786
20786
  @winrt_mixinmethod
20787
20787
  def Recycle(self: win32more.Microsoft.UI.Xaml.Controls.IItemContainerGenerator, position: win32more.Microsoft.UI.Xaml.Controls.Primitives.GeneratorPosition, count: Int32) -> Void: ...
20788
- ItemsChanged = event()
20788
+ ItemsChanged = event(add_ItemsChanged, remove_ItemsChanged)
20789
20789
  class _ItemsControl_Meta_(ComPtr.__class__):
20790
20790
  pass
20791
20791
  class ItemsControl(ComPtr, metaclass=_ItemsControl_Meta_):
@@ -20820,9 +20820,9 @@ class ItemsControl(ComPtr, metaclass=_ItemsControl_Meta_):
20820
20820
  @winrt_mixinmethod
20821
20821
  def put_ItemsPanel(self: win32more.Microsoft.UI.Xaml.Controls.IItemsControl, value: win32more.Microsoft.UI.Xaml.Controls.ItemsPanelTemplate) -> Void: ...
20822
20822
  @winrt_mixinmethod
20823
- def get_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IItemsControl) -> WinRT_String: ...
20823
+ def get_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IItemsControl) -> hstr: ...
20824
20824
  @winrt_mixinmethod
20825
- def put_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IItemsControl, value: WinRT_String) -> Void: ...
20825
+ def put_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IItemsControl, value: hstr) -> Void: ...
20826
20826
  @winrt_mixinmethod
20827
20827
  def get_ItemsPanelRoot(self: win32more.Microsoft.UI.Xaml.Controls.IItemsControl) -> win32more.Microsoft.UI.Xaml.Controls.Panel: ...
20828
20828
  @winrt_mixinmethod
@@ -21046,8 +21046,8 @@ class ItemsPresenter(ComPtr, metaclass=_ItemsPresenter_Meta_):
21046
21046
  _ItemsPresenter_Meta_.HeaderTemplateProperty = property(get_HeaderTemplateProperty, None)
21047
21047
  _ItemsPresenter_Meta_.HeaderTransitionsProperty = property(get_HeaderTransitionsProperty, None)
21048
21048
  _ItemsPresenter_Meta_.PaddingProperty = property(get_PaddingProperty, None)
21049
- HorizontalSnapPointsChanged = event()
21050
- VerticalSnapPointsChanged = event()
21049
+ HorizontalSnapPointsChanged = event(add_HorizontalSnapPointsChanged, remove_HorizontalSnapPointsChanged)
21050
+ VerticalSnapPointsChanged = event(add_VerticalSnapPointsChanged, remove_VerticalSnapPointsChanged)
21051
21051
  class _ItemsRepeater_Meta_(ComPtr.__class__):
21052
21052
  pass
21053
21053
  class ItemsRepeater(ComPtr, metaclass=_ItemsRepeater_Meta_):
@@ -21140,9 +21140,9 @@ class ItemsRepeater(ComPtr, metaclass=_ItemsRepeater_Meta_):
21140
21140
  _ItemsRepeater_Meta_.ItemsSourceProperty = property(get_ItemsSourceProperty, None)
21141
21141
  _ItemsRepeater_Meta_.LayoutProperty = property(get_LayoutProperty, None)
21142
21142
  _ItemsRepeater_Meta_.VerticalCacheLengthProperty = property(get_VerticalCacheLengthProperty, None)
21143
- ElementPrepared = event()
21144
- ElementClearing = event()
21145
- ElementIndexChanged = event()
21143
+ ElementClearing = event(add_ElementClearing, remove_ElementClearing)
21144
+ ElementIndexChanged = event(add_ElementIndexChanged, remove_ElementIndexChanged)
21145
+ ElementPrepared = event(add_ElementPrepared, remove_ElementPrepared)
21146
21146
  class ItemsRepeaterElementClearingEventArgs(ComPtr):
21147
21147
  extends: IInspectable
21148
21148
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IItemsRepeaterElementClearingEventArgs
@@ -21224,9 +21224,9 @@ class ItemsSourceView(ComPtr):
21224
21224
  @winrt_mixinmethod
21225
21225
  def get_HasKeyIndexMapping(self: win32more.Microsoft.UI.Xaml.Controls.IItemsSourceView) -> Boolean: ...
21226
21226
  @winrt_mixinmethod
21227
- def KeyFromIndex(self: win32more.Microsoft.UI.Xaml.Controls.IItemsSourceView, index: Int32) -> WinRT_String: ...
21227
+ def KeyFromIndex(self: win32more.Microsoft.UI.Xaml.Controls.IItemsSourceView, index: Int32) -> hstr: ...
21228
21228
  @winrt_mixinmethod
21229
- def IndexFromKey(self: win32more.Microsoft.UI.Xaml.Controls.IItemsSourceView, key: WinRT_String) -> Int32: ...
21229
+ def IndexFromKey(self: win32more.Microsoft.UI.Xaml.Controls.IItemsSourceView, key: hstr) -> Int32: ...
21230
21230
  @winrt_mixinmethod
21231
21231
  def IndexOf(self: win32more.Microsoft.UI.Xaml.Controls.IItemsSourceView, item: IInspectable) -> Int32: ...
21232
21232
  @winrt_mixinmethod
@@ -21235,7 +21235,7 @@ class ItemsSourceView(ComPtr):
21235
21235
  def remove_CollectionChanged(self: win32more.Microsoft.UI.Xaml.Interop.INotifyCollectionChanged, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
21236
21236
  Count = property(get_Count, None)
21237
21237
  HasKeyIndexMapping = property(get_HasKeyIndexMapping, None)
21238
- CollectionChanged = event()
21238
+ CollectionChanged = event(add_CollectionChanged, remove_CollectionChanged)
21239
21239
  class _ItemsStackPanel_Meta_(ComPtr.__class__):
21240
21240
  pass
21241
21241
  class ItemsStackPanel(ComPtr, metaclass=_ItemsStackPanel_Meta_):
@@ -21431,8 +21431,8 @@ class ItemsView(ComPtr, metaclass=_ItemsView_Meta_):
21431
21431
  _ItemsView_Meta_.SelectedItemProperty = property(get_SelectedItemProperty, None)
21432
21432
  _ItemsView_Meta_.SelectionModeProperty = property(get_SelectionModeProperty, None)
21433
21433
  _ItemsView_Meta_.VerticalScrollControllerProperty = property(get_VerticalScrollControllerProperty, None)
21434
- ItemInvoked = event()
21435
- SelectionChanged = event()
21434
+ ItemInvoked = event(add_ItemInvoked, remove_ItemInvoked)
21435
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
21436
21436
  class ItemsViewItemInvokedEventArgs(ComPtr):
21437
21437
  extends: IInspectable
21438
21438
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IItemsViewItemInvokedEventArgs
@@ -21574,8 +21574,8 @@ class Layout(ComPtr):
21574
21574
  @winrt_mixinmethod
21575
21575
  def CreateDefaultItemTransitionProvider(self: win32more.Microsoft.UI.Xaml.Controls.ILayoutOverrides) -> win32more.Microsoft.UI.Xaml.Controls.ItemCollectionTransitionProvider: ...
21576
21576
  IndexBasedLayoutOrientation = property(get_IndexBasedLayoutOrientation, None)
21577
- MeasureInvalidated = event()
21578
- ArrangeInvalidated = event()
21577
+ ArrangeInvalidated = event(add_ArrangeInvalidated, remove_ArrangeInvalidated)
21578
+ MeasureInvalidated = event(add_MeasureInvalidated, remove_MeasureInvalidated)
21579
21579
  class LayoutContext(ComPtr):
21580
21580
  extends: win32more.Microsoft.UI.Xaml.DependencyObject
21581
21581
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ILayoutContext
@@ -21673,8 +21673,8 @@ class LinedFlowLayout(ComPtr, metaclass=_LinedFlowLayout_Meta_):
21673
21673
  _LinedFlowLayout_Meta_.LineHeightProperty = property(get_LineHeightProperty, None)
21674
21674
  _LinedFlowLayout_Meta_.LineSpacingProperty = property(get_LineSpacingProperty, None)
21675
21675
  _LinedFlowLayout_Meta_.MinItemSpacingProperty = property(get_MinItemSpacingProperty, None)
21676
- ItemsInfoRequested = event()
21677
- ItemsUnlocked = event()
21676
+ ItemsInfoRequested = event(add_ItemsInfoRequested, remove_ItemsInfoRequested)
21677
+ ItemsUnlocked = event(add_ItemsUnlocked, remove_ItemsUnlocked)
21678
21678
  class LinedFlowLayoutItemCollectionTransitionProvider(ComPtr):
21679
21679
  extends: win32more.Microsoft.UI.Xaml.Controls.ItemCollectionTransitionProvider
21680
21680
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ILinedFlowLayoutItemCollectionTransitionProvider
@@ -21801,9 +21801,9 @@ class ListPickerFlyout(ComPtr, metaclass=_ListPickerFlyout_Meta_):
21801
21801
  @winrt_mixinmethod
21802
21802
  def put_ItemTemplate(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
21803
21803
  @winrt_mixinmethod
21804
- def get_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout) -> WinRT_String: ...
21804
+ def get_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout) -> hstr: ...
21805
21805
  @winrt_mixinmethod
21806
- def put_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout, value: WinRT_String) -> Void: ...
21806
+ def put_DisplayMemberPath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout, value: hstr) -> Void: ...
21807
21807
  @winrt_mixinmethod
21808
21808
  def get_SelectionMode(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout) -> win32more.Microsoft.UI.Xaml.Controls.ListPickerFlyoutSelectionMode: ...
21809
21809
  @winrt_mixinmethod
@@ -21821,9 +21821,9 @@ class ListPickerFlyout(ComPtr, metaclass=_ListPickerFlyout_Meta_):
21821
21821
  @winrt_mixinmethod
21822
21822
  def put_SelectedValue(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout, value: IInspectable) -> Void: ...
21823
21823
  @winrt_mixinmethod
21824
- def get_SelectedValuePath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout) -> WinRT_String: ...
21824
+ def get_SelectedValuePath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout) -> hstr: ...
21825
21825
  @winrt_mixinmethod
21826
- def put_SelectedValuePath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout, value: WinRT_String) -> Void: ...
21826
+ def put_SelectedValuePath(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout, value: hstr) -> Void: ...
21827
21827
  @winrt_mixinmethod
21828
21828
  def get_SelectedItems(self: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyout) -> win32more.Windows.Foundation.Collections.IVector[IInspectable]: ...
21829
21829
  @winrt_mixinmethod
@@ -21865,7 +21865,7 @@ class ListPickerFlyout(ComPtr, metaclass=_ListPickerFlyout_Meta_):
21865
21865
  _ListPickerFlyout_Meta_.SelectedValuePathProperty = property(get_SelectedValuePathProperty, None)
21866
21866
  _ListPickerFlyout_Meta_.SelectedValueProperty = property(get_SelectedValueProperty, None)
21867
21867
  _ListPickerFlyout_Meta_.SelectionModeProperty = property(get_SelectionModeProperty, None)
21868
- ItemsPicked = event()
21868
+ ItemsPicked = event(add_ItemsPicked, remove_ItemsPicked)
21869
21869
  class ListPickerFlyoutPresenter(ComPtr):
21870
21870
  extends: win32more.Microsoft.UI.Xaml.Controls.Control
21871
21871
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IListPickerFlyoutPresenter
@@ -21994,9 +21994,9 @@ class ListViewBase(ComPtr, metaclass=_ListViewBase_Meta_):
21994
21994
  @winrt_mixinmethod
21995
21995
  def IsDragSource(self: win32more.Microsoft.UI.Xaml.Controls.IListViewBase) -> Boolean: ...
21996
21996
  @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]: ...
21997
+ 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
21998
  @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: ...
21999
+ def PrepareConnectedAnimation(self: win32more.Microsoft.UI.Xaml.Controls.IListViewBase, key: hstr, item: IInspectable, elementName: hstr) -> win32more.Microsoft.UI.Xaml.Media.Animation.ConnectedAnimation: ...
22000
22000
  @winrt_mixinmethod
22001
22001
  def get_Header(self: win32more.Microsoft.UI.Xaml.Controls.IListViewBase) -> IInspectable: ...
22002
22002
  @winrt_mixinmethod
@@ -22133,12 +22133,12 @@ class ListViewBase(ComPtr, metaclass=_ListViewBase_Meta_):
22133
22133
  _ListViewBase_Meta_.SemanticZoomOwnerProperty = property(get_SemanticZoomOwnerProperty, None)
22134
22134
  _ListViewBase_Meta_.ShowsScrollingPlaceholdersProperty = property(get_ShowsScrollingPlaceholdersProperty, None)
22135
22135
  _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()
22136
+ ChoosingGroupHeaderContainer = event(add_ChoosingGroupHeaderContainer, remove_ChoosingGroupHeaderContainer)
22137
+ ChoosingItemContainer = event(add_ChoosingItemContainer, remove_ChoosingItemContainer)
22138
+ ContainerContentChanging = event(add_ContainerContentChanging, remove_ContainerContentChanging)
22139
+ DragItemsCompleted = event(add_DragItemsCompleted, remove_DragItemsCompleted)
22140
+ DragItemsStarting = event(add_DragItemsStarting, remove_DragItemsStarting)
22141
+ ItemClick = event(add_ItemClick, remove_ItemClick)
22142
22142
  class ListViewBaseHeaderItem(ComPtr):
22143
22143
  extends: win32more.Microsoft.UI.Xaml.Controls.ContentControl
22144
22144
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IListViewBaseHeaderItem
@@ -22176,20 +22176,20 @@ class ListViewItemToKeyHandler(MulticastDelegate):
22176
22176
  extends: IUnknown
22177
22177
  _iid_ = Guid('{2a47f009-91fc-54ce-9861-344e80f7e9d7}')
22178
22178
  @winrt_commethod(3)
22179
- def Invoke(self, item: IInspectable) -> WinRT_String: ...
22179
+ def Invoke(self, item: IInspectable) -> hstr: ...
22180
22180
  class ListViewKeyToItemHandler(MulticastDelegate):
22181
22181
  extends: IUnknown
22182
22182
  _iid_ = Guid('{46c8e78e-b948-5ef3-b845-b278b5918ba9}')
22183
22183
  @winrt_commethod(3)
22184
- def Invoke(self, key: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperation[IInspectable]: ...
22184
+ def Invoke(self, key: hstr) -> win32more.Windows.Foundation.IAsyncOperation[IInspectable]: ...
22185
22185
  class ListViewPersistenceHelper(ComPtr):
22186
22186
  extends: IInspectable
22187
22187
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IListViewPersistenceHelper
22188
22188
  _classid_ = 'Microsoft.UI.Xaml.Controls.ListViewPersistenceHelper'
22189
22189
  @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: ...
22190
+ 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
22191
  @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: ...
22192
+ 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
22193
  class ListViewReorderMode(Enum, Int32):
22194
22194
  Disabled = 0
22195
22195
  Enabled = 1
@@ -22214,9 +22214,9 @@ class MapControl(ComPtr, metaclass=_MapControl_Meta_):
22214
22214
  @winrt_factorymethod
22215
22215
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IMapControlFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.MapControl: ...
22216
22216
  @winrt_mixinmethod
22217
- def get_MapServiceToken(self: win32more.Microsoft.UI.Xaml.Controls.IMapControl) -> WinRT_String: ...
22217
+ def get_MapServiceToken(self: win32more.Microsoft.UI.Xaml.Controls.IMapControl) -> hstr: ...
22218
22218
  @winrt_mixinmethod
22219
- def put_MapServiceToken(self: win32more.Microsoft.UI.Xaml.Controls.IMapControl, value: WinRT_String) -> Void: ...
22219
+ def put_MapServiceToken(self: win32more.Microsoft.UI.Xaml.Controls.IMapControl, value: hstr) -> Void: ...
22220
22220
  @winrt_mixinmethod
22221
22221
  def get_Center(self: win32more.Microsoft.UI.Xaml.Controls.IMapControl) -> win32more.Windows.Devices.Geolocation.Geopoint: ...
22222
22222
  @winrt_mixinmethod
@@ -22261,14 +22261,14 @@ class MapControl(ComPtr, metaclass=_MapControl_Meta_):
22261
22261
  _MapControl_Meta_.LayersProperty = property(get_LayersProperty, None)
22262
22262
  _MapControl_Meta_.MapServiceTokenProperty = property(get_MapServiceTokenProperty, None)
22263
22263
  _MapControl_Meta_.ZoomLevelProperty = property(get_ZoomLevelProperty, None)
22264
- MapElementClick = event()
22265
- MapServiceErrorOccurred = event()
22264
+ MapElementClick = event(add_MapElementClick, remove_MapElementClick)
22265
+ MapServiceErrorOccurred = event(add_MapServiceErrorOccurred, remove_MapServiceErrorOccurred)
22266
22266
  class MapControlMapServiceErrorOccurredEventArgs(ComPtr):
22267
22267
  extends: IInspectable
22268
22268
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IMapControlMapServiceErrorOccurredEventArgs
22269
22269
  _classid_ = 'Microsoft.UI.Xaml.Controls.MapControlMapServiceErrorOccurredEventArgs'
22270
22270
  @winrt_mixinmethod
22271
- def get_DiagnosticMessage(self: win32more.Microsoft.UI.Xaml.Controls.IMapControlMapServiceErrorOccurredEventArgs) -> WinRT_String: ...
22271
+ def get_DiagnosticMessage(self: win32more.Microsoft.UI.Xaml.Controls.IMapControlMapServiceErrorOccurredEventArgs) -> hstr: ...
22272
22272
  DiagnosticMessage = property(get_DiagnosticMessage, None)
22273
22273
  class MapElement(ComPtr):
22274
22274
  extends: win32more.Microsoft.UI.Xaml.DependencyObject
@@ -22311,7 +22311,7 @@ class MapElementsLayer(ComPtr, metaclass=_MapElementsLayer_Meta_):
22311
22311
  def get_MapElementsProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IMapElementsLayerStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
22312
22312
  MapElements = property(get_MapElements, put_MapElements)
22313
22313
  _MapElementsLayer_Meta_.MapElementsProperty = property(get_MapElementsProperty, None)
22314
- MapElementClick = event()
22314
+ MapElementClick = event(add_MapElementClick, remove_MapElementClick)
22315
22315
  class _MapIcon_Meta_(ComPtr.__class__):
22316
22316
  pass
22317
22317
  class MapIcon(ComPtr, metaclass=_MapIcon_Meta_):
@@ -22677,7 +22677,7 @@ class MediaTransportControls(ComPtr, metaclass=_MediaTransportControls_Meta_):
22677
22677
  _MediaTransportControls_Meta_.IsZoomButtonVisibleProperty = property(get_IsZoomButtonVisibleProperty, None)
22678
22678
  _MediaTransportControls_Meta_.IsZoomEnabledProperty = property(get_IsZoomEnabledProperty, None)
22679
22679
  _MediaTransportControls_Meta_.ShowAndHideAutomaticallyProperty = property(get_ShowAndHideAutomaticallyProperty, None)
22680
- ThumbnailRequested = event()
22680
+ ThumbnailRequested = event(add_ThumbnailRequested, remove_ThumbnailRequested)
22681
22681
  class _MediaTransportControlsHelper_Meta_(ComPtr.__class__):
22682
22682
  pass
22683
22683
  class MediaTransportControlsHelper(ComPtr, metaclass=_MediaTransportControlsHelper_Meta_):
@@ -22728,9 +22728,9 @@ class MenuBarItem(ComPtr, metaclass=_MenuBarItem_Meta_):
22728
22728
  @winrt_factorymethod
22729
22729
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IMenuBarItemFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.MenuBarItem: ...
22730
22730
  @winrt_mixinmethod
22731
- def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.IMenuBarItem) -> WinRT_String: ...
22731
+ def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.IMenuBarItem) -> hstr: ...
22732
22732
  @winrt_mixinmethod
22733
- def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.IMenuBarItem, value: WinRT_String) -> Void: ...
22733
+ def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.IMenuBarItem, value: hstr) -> Void: ...
22734
22734
  @winrt_mixinmethod
22735
22735
  def get_Items(self: win32more.Microsoft.UI.Xaml.Controls.IMenuBarItem) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.UI.Xaml.Controls.MenuFlyoutItemBase]: ...
22736
22736
  @winrt_classmethod
@@ -22798,9 +22798,9 @@ class MenuFlyoutItem(ComPtr, metaclass=_MenuFlyoutItem_Meta_):
22798
22798
  @winrt_factorymethod
22799
22799
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItemFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.MenuFlyoutItem: ...
22800
22800
  @winrt_mixinmethod
22801
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem) -> WinRT_String: ...
22801
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem) -> hstr: ...
22802
22802
  @winrt_mixinmethod
22803
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem, value: WinRT_String) -> Void: ...
22803
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem, value: hstr) -> Void: ...
22804
22804
  @winrt_mixinmethod
22805
22805
  def get_Command(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem) -> win32more.Microsoft.UI.Xaml.Input.ICommand: ...
22806
22806
  @winrt_mixinmethod
@@ -22814,9 +22814,9 @@ class MenuFlyoutItem(ComPtr, metaclass=_MenuFlyoutItem_Meta_):
22814
22814
  @winrt_mixinmethod
22815
22815
  def put_Icon(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem, value: win32more.Microsoft.UI.Xaml.Controls.IconElement) -> Void: ...
22816
22816
  @winrt_mixinmethod
22817
- def get_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem) -> WinRT_String: ...
22817
+ def get_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem) -> hstr: ...
22818
22818
  @winrt_mixinmethod
22819
- def put_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem, value: WinRT_String) -> Void: ...
22819
+ def put_KeyboardAcceleratorTextOverride(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem, value: hstr) -> Void: ...
22820
22820
  @winrt_mixinmethod
22821
22821
  def get_TemplateSettings(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItem) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.MenuFlyoutItemTemplateSettings: ...
22822
22822
  @winrt_mixinmethod
@@ -22844,7 +22844,7 @@ class MenuFlyoutItem(ComPtr, metaclass=_MenuFlyoutItem_Meta_):
22844
22844
  _MenuFlyoutItem_Meta_.IconProperty = property(get_IconProperty, None)
22845
22845
  _MenuFlyoutItem_Meta_.KeyboardAcceleratorTextOverrideProperty = property(get_KeyboardAcceleratorTextOverrideProperty, None)
22846
22846
  _MenuFlyoutItem_Meta_.TextProperty = property(get_TextProperty, None)
22847
- Click = event()
22847
+ Click = event(add_Click, remove_Click)
22848
22848
  class MenuFlyoutItemBase(ComPtr):
22849
22849
  extends: win32more.Microsoft.UI.Xaml.Controls.Control
22850
22850
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutItemBase
@@ -22914,9 +22914,9 @@ class MenuFlyoutSubItem(ComPtr, metaclass=_MenuFlyoutSubItem_Meta_):
22914
22914
  @winrt_mixinmethod
22915
22915
  def get_Items(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutSubItem) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.UI.Xaml.Controls.MenuFlyoutItemBase]: ...
22916
22916
  @winrt_mixinmethod
22917
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutSubItem) -> WinRT_String: ...
22917
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutSubItem) -> hstr: ...
22918
22918
  @winrt_mixinmethod
22919
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutSubItem, value: WinRT_String) -> Void: ...
22919
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutSubItem, value: hstr) -> Void: ...
22920
22920
  @winrt_mixinmethod
22921
22921
  def get_Icon(self: win32more.Microsoft.UI.Xaml.Controls.IMenuFlyoutSubItem) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
22922
22922
  @winrt_mixinmethod
@@ -23062,9 +23062,9 @@ class NavigationView(ComPtr, metaclass=_NavigationView_Meta_):
23062
23062
  @winrt_mixinmethod
23063
23063
  def put_IsBackEnabled(self: win32more.Microsoft.UI.Xaml.Controls.INavigationView2, value: Boolean) -> Void: ...
23064
23064
  @winrt_mixinmethod
23065
- def get_PaneTitle(self: win32more.Microsoft.UI.Xaml.Controls.INavigationView2) -> WinRT_String: ...
23065
+ def get_PaneTitle(self: win32more.Microsoft.UI.Xaml.Controls.INavigationView2) -> hstr: ...
23066
23066
  @winrt_mixinmethod
23067
- def put_PaneTitle(self: win32more.Microsoft.UI.Xaml.Controls.INavigationView2, value: WinRT_String) -> Void: ...
23067
+ def put_PaneTitle(self: win32more.Microsoft.UI.Xaml.Controls.INavigationView2, value: hstr) -> Void: ...
23068
23068
  @winrt_mixinmethod
23069
23069
  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
23070
  @winrt_mixinmethod
@@ -23279,16 +23279,16 @@ class NavigationView(ComPtr, metaclass=_NavigationView_Meta_):
23279
23279
  _NavigationView_Meta_.SettingsItemProperty = property(get_SettingsItemProperty, None)
23280
23280
  _NavigationView_Meta_.ShoulderNavigationEnabledProperty = property(get_ShoulderNavigationEnabledProperty, None)
23281
23281
  _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()
23282
+ BackRequested = event(add_BackRequested, remove_BackRequested)
23283
+ Collapsed = event(add_Collapsed, remove_Collapsed)
23284
+ DisplayModeChanged = event(add_DisplayModeChanged, remove_DisplayModeChanged)
23285
+ Expanding = event(add_Expanding, remove_Expanding)
23286
+ ItemInvoked = event(add_ItemInvoked, remove_ItemInvoked)
23287
+ PaneClosed = event(add_PaneClosed, remove_PaneClosed)
23288
+ PaneClosing = event(add_PaneClosing, remove_PaneClosing)
23289
+ PaneOpened = event(add_PaneOpened, remove_PaneOpened)
23290
+ PaneOpening = event(add_PaneOpening, remove_PaneOpening)
23291
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
23292
23292
  class NavigationViewBackButtonVisible(Enum, Int32):
23293
23293
  Collapsed = 0
23294
23294
  Visible = 1
@@ -23668,9 +23668,9 @@ class NumberBox(ComPtr, metaclass=_NumberBox_Meta_):
23668
23668
  @winrt_mixinmethod
23669
23669
  def put_LargeChange(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox, value: Double) -> Void: ...
23670
23670
  @winrt_mixinmethod
23671
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox) -> WinRT_String: ...
23671
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox) -> hstr: ...
23672
23672
  @winrt_mixinmethod
23673
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox, value: WinRT_String) -> Void: ...
23673
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox, value: hstr) -> Void: ...
23674
23674
  @winrt_mixinmethod
23675
23675
  def get_Header(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox) -> IInspectable: ...
23676
23676
  @winrt_mixinmethod
@@ -23680,9 +23680,9 @@ class NumberBox(ComPtr, metaclass=_NumberBox_Meta_):
23680
23680
  @winrt_mixinmethod
23681
23681
  def put_HeaderTemplate(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
23682
23682
  @winrt_mixinmethod
23683
- def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox) -> WinRT_String: ...
23683
+ def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox) -> hstr: ...
23684
23684
  @winrt_mixinmethod
23685
- def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox, value: WinRT_String) -> Void: ...
23685
+ def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox, value: hstr) -> Void: ...
23686
23686
  @winrt_mixinmethod
23687
23687
  def get_SelectionFlyout(self: win32more.Microsoft.UI.Xaml.Controls.INumberBox) -> win32more.Microsoft.UI.Xaml.Controls.Primitives.FlyoutBase: ...
23688
23688
  @winrt_mixinmethod
@@ -23803,7 +23803,7 @@ class NumberBox(ComPtr, metaclass=_NumberBox_Meta_):
23803
23803
  _NumberBox_Meta_.TextReadingOrderProperty = property(get_TextReadingOrderProperty, None)
23804
23804
  _NumberBox_Meta_.ValidationModeProperty = property(get_ValidationModeProperty, None)
23805
23805
  _NumberBox_Meta_.ValueProperty = property(get_ValueProperty, None)
23806
- ValueChanged = event()
23806
+ ValueChanged = event(add_ValueChanged, remove_ValueChanged)
23807
23807
  class NumberBoxSpinButtonPlacementMode(Enum, Int32):
23808
23808
  Hidden = 0
23809
23809
  Compact = 1
@@ -24071,13 +24071,13 @@ class PasswordBox(ComPtr, metaclass=_PasswordBox_Meta_):
24071
24071
  @winrt_activatemethod
24072
24072
  def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Controls.PasswordBox: ...
24073
24073
  @winrt_mixinmethod
24074
- def get_Password(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> WinRT_String: ...
24074
+ def get_Password(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> hstr: ...
24075
24075
  @winrt_mixinmethod
24076
- def put_Password(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox, value: WinRT_String) -> Void: ...
24076
+ def put_Password(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox, value: hstr) -> Void: ...
24077
24077
  @winrt_mixinmethod
24078
- def get_PasswordChar(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> WinRT_String: ...
24078
+ def get_PasswordChar(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> hstr: ...
24079
24079
  @winrt_mixinmethod
24080
- def put_PasswordChar(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox, value: WinRT_String) -> Void: ...
24080
+ def put_PasswordChar(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox, value: hstr) -> Void: ...
24081
24081
  @winrt_mixinmethod
24082
24082
  def get_IsPasswordRevealButtonEnabled(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> Boolean: ...
24083
24083
  @winrt_mixinmethod
@@ -24095,9 +24095,9 @@ class PasswordBox(ComPtr, metaclass=_PasswordBox_Meta_):
24095
24095
  @winrt_mixinmethod
24096
24096
  def put_HeaderTemplate(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
24097
24097
  @winrt_mixinmethod
24098
- def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> WinRT_String: ...
24098
+ def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> hstr: ...
24099
24099
  @winrt_mixinmethod
24100
- def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox, value: WinRT_String) -> Void: ...
24100
+ def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox, value: hstr) -> Void: ...
24101
24101
  @winrt_mixinmethod
24102
24102
  def get_SelectionHighlightColor(self: win32more.Microsoft.UI.Xaml.Controls.IPasswordBox) -> win32more.Microsoft.UI.Xaml.Media.SolidColorBrush: ...
24103
24103
  @winrt_mixinmethod
@@ -24208,10 +24208,10 @@ class PasswordBox(ComPtr, metaclass=_PasswordBox_Meta_):
24208
24208
  _PasswordBox_Meta_.SelectionFlyoutProperty = property(get_SelectionFlyoutProperty, None)
24209
24209
  _PasswordBox_Meta_.SelectionHighlightColorProperty = property(get_SelectionHighlightColorProperty, None)
24210
24210
  _PasswordBox_Meta_.TextReadingOrderProperty = property(get_TextReadingOrderProperty, None)
24211
- PasswordChanged = event()
24212
- ContextMenuOpening = event()
24213
- Paste = event()
24214
- PasswordChanging = event()
24211
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
24212
+ PasswordChanged = event(add_PasswordChanged, remove_PasswordChanged)
24213
+ PasswordChanging = event(add_PasswordChanging, remove_PasswordChanging)
24214
+ Paste = event(add_Paste, remove_Paste)
24215
24215
  class PasswordBoxPasswordChangingEventArgs(ComPtr):
24216
24216
  extends: IInspectable
24217
24217
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IPasswordBoxPasswordChangingEventArgs
@@ -24289,17 +24289,17 @@ class PersonPicture(ComPtr, metaclass=_PersonPicture_Meta_):
24289
24289
  @winrt_mixinmethod
24290
24290
  def put_BadgeNumber(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: Int32) -> Void: ...
24291
24291
  @winrt_mixinmethod
24292
- def get_BadgeGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> WinRT_String: ...
24292
+ def get_BadgeGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> hstr: ...
24293
24293
  @winrt_mixinmethod
24294
- def put_BadgeGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: WinRT_String) -> Void: ...
24294
+ def put_BadgeGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: hstr) -> Void: ...
24295
24295
  @winrt_mixinmethod
24296
24296
  def get_BadgeImageSource(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> win32more.Microsoft.UI.Xaml.Media.ImageSource: ...
24297
24297
  @winrt_mixinmethod
24298
24298
  def put_BadgeImageSource(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: win32more.Microsoft.UI.Xaml.Media.ImageSource) -> Void: ...
24299
24299
  @winrt_mixinmethod
24300
- def get_BadgeText(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> WinRT_String: ...
24300
+ def get_BadgeText(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> hstr: ...
24301
24301
  @winrt_mixinmethod
24302
- def put_BadgeText(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: WinRT_String) -> Void: ...
24302
+ def put_BadgeText(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: hstr) -> Void: ...
24303
24303
  @winrt_mixinmethod
24304
24304
  def get_IsGroup(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> Boolean: ...
24305
24305
  @winrt_mixinmethod
@@ -24309,13 +24309,13 @@ class PersonPicture(ComPtr, metaclass=_PersonPicture_Meta_):
24309
24309
  @winrt_mixinmethod
24310
24310
  def put_Contact(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: win32more.Windows.ApplicationModel.Contacts.Contact) -> Void: ...
24311
24311
  @winrt_mixinmethod
24312
- def get_DisplayName(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> WinRT_String: ...
24312
+ def get_DisplayName(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> hstr: ...
24313
24313
  @winrt_mixinmethod
24314
- def put_DisplayName(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: WinRT_String) -> Void: ...
24314
+ def put_DisplayName(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: hstr) -> Void: ...
24315
24315
  @winrt_mixinmethod
24316
- def get_Initials(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> WinRT_String: ...
24316
+ def get_Initials(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> hstr: ...
24317
24317
  @winrt_mixinmethod
24318
- def put_Initials(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: WinRT_String) -> Void: ...
24318
+ def put_Initials(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture, value: hstr) -> Void: ...
24319
24319
  @winrt_mixinmethod
24320
24320
  def get_PreferSmallImage(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPicture) -> Boolean: ...
24321
24321
  @winrt_mixinmethod
@@ -24372,7 +24372,7 @@ class PersonPictureTemplateSettings(ComPtr):
24372
24372
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IPersonPictureTemplateSettings
24373
24373
  _classid_ = 'Microsoft.UI.Xaml.Controls.PersonPictureTemplateSettings'
24374
24374
  @winrt_mixinmethod
24375
- def get_ActualInitials(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPictureTemplateSettings) -> WinRT_String: ...
24375
+ def get_ActualInitials(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPictureTemplateSettings) -> hstr: ...
24376
24376
  @winrt_mixinmethod
24377
24377
  def get_ActualImageBrush(self: win32more.Microsoft.UI.Xaml.Controls.IPersonPictureTemplateSettings) -> win32more.Microsoft.UI.Xaml.Media.ImageBrush: ...
24378
24378
  ActualImageBrush = property(get_ActualImageBrush, None)
@@ -24427,7 +24427,7 @@ class PickerFlyout(ComPtr, metaclass=_PickerFlyout_Meta_):
24427
24427
  Content = property(get_Content, put_Content)
24428
24428
  _PickerFlyout_Meta_.ConfirmationButtonsVisibleProperty = property(get_ConfirmationButtonsVisibleProperty, None)
24429
24429
  _PickerFlyout_Meta_.ContentProperty = property(get_ContentProperty, None)
24430
- Confirmed = event()
24430
+ Confirmed = event(add_Confirmed, remove_Confirmed)
24431
24431
  class PickerFlyoutPresenter(ComPtr):
24432
24432
  extends: win32more.Microsoft.UI.Xaml.Controls.ContentControl
24433
24433
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IPickerFlyoutPresenter
@@ -24542,7 +24542,7 @@ class PipsPager(ComPtr, metaclass=_PipsPager_Meta_):
24542
24542
  _PipsPager_Meta_.SelectedPageIndexProperty = property(get_SelectedPageIndexProperty, None)
24543
24543
  _PipsPager_Meta_.SelectedPipStyleProperty = property(get_SelectedPipStyleProperty, None)
24544
24544
  _PipsPager_Meta_.WrapModeProperty = property(get_WrapModeProperty, None)
24545
- SelectedIndexChanged = event()
24545
+ SelectedIndexChanged = event(add_SelectedIndexChanged, remove_SelectedIndexChanged)
24546
24546
  class PipsPagerButtonVisibility(Enum, Int32):
24547
24547
  Visible = 0
24548
24548
  VisibleOnPointerOver = 1
@@ -24699,11 +24699,11 @@ class Pivot(ComPtr, metaclass=_Pivot_Meta_):
24699
24699
  _Pivot_Meta_.SlideInAnimationGroupProperty = property(get_SlideInAnimationGroupProperty, None)
24700
24700
  _Pivot_Meta_.TitleProperty = property(get_TitleProperty, None)
24701
24701
  _Pivot_Meta_.TitleTemplateProperty = property(get_TitleTemplateProperty, None)
24702
- SelectionChanged = event()
24703
- PivotItemLoading = event()
24704
- PivotItemLoaded = event()
24705
- PivotItemUnloading = event()
24706
- PivotItemUnloaded = event()
24702
+ PivotItemLoaded = event(add_PivotItemLoaded, remove_PivotItemLoaded)
24703
+ PivotItemLoading = event(add_PivotItemLoading, remove_PivotItemLoading)
24704
+ PivotItemUnloaded = event(add_PivotItemUnloaded, remove_PivotItemUnloaded)
24705
+ PivotItemUnloading = event(add_PivotItemUnloading, remove_PivotItemUnloading)
24706
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
24707
24707
  class PivotHeaderFocusVisualPlacement(Enum, Int32):
24708
24708
  ItemHeaders = 0
24709
24709
  SelectedItemHeader = 1
@@ -24922,9 +24922,9 @@ class RadioButton(ComPtr, metaclass=_RadioButton_Meta_):
24922
24922
  @winrt_factorymethod
24923
24923
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IRadioButtonFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.RadioButton: ...
24924
24924
  @winrt_mixinmethod
24925
- def get_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioButton) -> WinRT_String: ...
24925
+ def get_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioButton) -> hstr: ...
24926
24926
  @winrt_mixinmethod
24927
- def put_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioButton, value: WinRT_String) -> Void: ...
24927
+ def put_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioButton, value: hstr) -> Void: ...
24928
24928
  @winrt_classmethod
24929
24929
  def get_GroupNameProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IRadioButtonStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
24930
24930
  GroupName = property(get_GroupName, put_GroupName)
@@ -25012,7 +25012,7 @@ class RadioButtons(ComPtr, metaclass=_RadioButtons_Meta_):
25012
25012
  _RadioButtons_Meta_.MaxColumnsProperty = property(get_MaxColumnsProperty, None)
25013
25013
  _RadioButtons_Meta_.SelectedIndexProperty = property(get_SelectedIndexProperty, None)
25014
25014
  _RadioButtons_Meta_.SelectedItemProperty = property(get_SelectedItemProperty, None)
25015
- SelectionChanged = event()
25015
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
25016
25016
  class _RadioMenuFlyoutItem_Meta_(ComPtr.__class__):
25017
25017
  pass
25018
25018
  class RadioMenuFlyoutItem(ComPtr, metaclass=_RadioMenuFlyoutItem_Meta_):
@@ -25033,9 +25033,9 @@ class RadioMenuFlyoutItem(ComPtr, metaclass=_RadioMenuFlyoutItem_Meta_):
25033
25033
  @winrt_mixinmethod
25034
25034
  def put_IsChecked(self: win32more.Microsoft.UI.Xaml.Controls.IRadioMenuFlyoutItem, value: Boolean) -> Void: ...
25035
25035
  @winrt_mixinmethod
25036
- def get_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioMenuFlyoutItem) -> WinRT_String: ...
25036
+ def get_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioMenuFlyoutItem) -> hstr: ...
25037
25037
  @winrt_mixinmethod
25038
- def put_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioMenuFlyoutItem, value: WinRT_String) -> Void: ...
25038
+ def put_GroupName(self: win32more.Microsoft.UI.Xaml.Controls.IRadioMenuFlyoutItem, value: hstr) -> Void: ...
25039
25039
  @winrt_classmethod
25040
25040
  def get_AreCheckStatesEnabledProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IRadioMenuFlyoutItemStatics2) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
25041
25041
  @winrt_classmethod
@@ -25067,9 +25067,9 @@ class RatingControl(ComPtr, metaclass=_RatingControl_Meta_):
25067
25067
  @winrt_factorymethod
25068
25068
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IRatingControlFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.RatingControl: ...
25069
25069
  @winrt_mixinmethod
25070
- def get_Caption(self: win32more.Microsoft.UI.Xaml.Controls.IRatingControl) -> WinRT_String: ...
25070
+ def get_Caption(self: win32more.Microsoft.UI.Xaml.Controls.IRatingControl) -> hstr: ...
25071
25071
  @winrt_mixinmethod
25072
- def put_Caption(self: win32more.Microsoft.UI.Xaml.Controls.IRatingControl, value: WinRT_String) -> Void: ...
25072
+ def put_Caption(self: win32more.Microsoft.UI.Xaml.Controls.IRatingControl, value: hstr) -> Void: ...
25073
25073
  @winrt_mixinmethod
25074
25074
  def get_InitialSetValue(self: win32more.Microsoft.UI.Xaml.Controls.IRatingControl) -> Int32: ...
25075
25075
  @winrt_mixinmethod
@@ -25134,7 +25134,7 @@ class RatingControl(ComPtr, metaclass=_RatingControl_Meta_):
25134
25134
  _RatingControl_Meta_.MaxRatingProperty = property(get_MaxRatingProperty, None)
25135
25135
  _RatingControl_Meta_.PlaceholderValueProperty = property(get_PlaceholderValueProperty, None)
25136
25136
  _RatingControl_Meta_.ValueProperty = property(get_ValueProperty, None)
25137
- ValueChanged = event()
25137
+ ValueChanged = event(add_ValueChanged, remove_ValueChanged)
25138
25138
  class _RatingItemFontInfo_Meta_(ComPtr.__class__):
25139
25139
  pass
25140
25140
  class RatingItemFontInfo(ComPtr, metaclass=_RatingItemFontInfo_Meta_):
@@ -25151,29 +25151,29 @@ class RatingItemFontInfo(ComPtr, metaclass=_RatingItemFontInfo_Meta_):
25151
25151
  @winrt_factorymethod
25152
25152
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfoFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.RatingItemFontInfo: ...
25153
25153
  @winrt_mixinmethod
25154
- def get_DisabledGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> WinRT_String: ...
25154
+ def get_DisabledGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> hstr: ...
25155
25155
  @winrt_mixinmethod
25156
- def put_DisabledGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: WinRT_String) -> Void: ...
25156
+ def put_DisabledGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: hstr) -> Void: ...
25157
25157
  @winrt_mixinmethod
25158
- def get_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> WinRT_String: ...
25158
+ def get_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> hstr: ...
25159
25159
  @winrt_mixinmethod
25160
- def put_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: WinRT_String) -> Void: ...
25160
+ def put_Glyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: hstr) -> Void: ...
25161
25161
  @winrt_mixinmethod
25162
- def get_PointerOverGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> WinRT_String: ...
25162
+ def get_PointerOverGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> hstr: ...
25163
25163
  @winrt_mixinmethod
25164
- def put_PointerOverGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: WinRT_String) -> Void: ...
25164
+ def put_PointerOverGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: hstr) -> Void: ...
25165
25165
  @winrt_mixinmethod
25166
- def get_PointerOverPlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> WinRT_String: ...
25166
+ def get_PointerOverPlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> hstr: ...
25167
25167
  @winrt_mixinmethod
25168
- def put_PointerOverPlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: WinRT_String) -> Void: ...
25168
+ def put_PointerOverPlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: hstr) -> Void: ...
25169
25169
  @winrt_mixinmethod
25170
- def get_PlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> WinRT_String: ...
25170
+ def get_PlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> hstr: ...
25171
25171
  @winrt_mixinmethod
25172
- def put_PlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: WinRT_String) -> Void: ...
25172
+ def put_PlaceholderGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: hstr) -> Void: ...
25173
25173
  @winrt_mixinmethod
25174
- def get_UnsetGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> WinRT_String: ...
25174
+ def get_UnsetGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo) -> hstr: ...
25175
25175
  @winrt_mixinmethod
25176
- def put_UnsetGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: WinRT_String) -> Void: ...
25176
+ def put_UnsetGlyph(self: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfo, value: hstr) -> Void: ...
25177
25177
  @winrt_classmethod
25178
25178
  def get_DisabledGlyphProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IRatingItemFontInfoStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
25179
25179
  @winrt_classmethod
@@ -25311,7 +25311,7 @@ class RefreshContainer(ComPtr, metaclass=_RefreshContainer_Meta_):
25311
25311
  Visualizer = property(get_Visualizer, put_Visualizer)
25312
25312
  _RefreshContainer_Meta_.PullDirectionProperty = property(get_PullDirectionProperty, None)
25313
25313
  _RefreshContainer_Meta_.VisualizerProperty = property(get_VisualizerProperty, None)
25314
- RefreshRequested = event()
25314
+ RefreshRequested = event(add_RefreshRequested, remove_RefreshRequested)
25315
25315
  class RefreshInteractionRatioChangedEventArgs(ComPtr):
25316
25316
  extends: IInspectable
25317
25317
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IRefreshInteractionRatioChangedEventArgs
@@ -25390,8 +25390,8 @@ class RefreshVisualizer(ComPtr, metaclass=_RefreshVisualizer_Meta_):
25390
25390
  _RefreshVisualizer_Meta_.InfoProviderProperty = property(get_InfoProviderProperty, None)
25391
25391
  _RefreshVisualizer_Meta_.OrientationProperty = property(get_OrientationProperty, None)
25392
25392
  _RefreshVisualizer_Meta_.StateProperty = property(get_StateProperty, None)
25393
- RefreshRequested = event()
25394
- RefreshStateChanged = event()
25393
+ RefreshRequested = event(add_RefreshRequested, remove_RefreshRequested)
25394
+ RefreshStateChanged = event(add_RefreshStateChanged, remove_RefreshStateChanged)
25395
25395
  class RefreshVisualizerOrientation(Enum, Int32):
25396
25396
  Auto = 0
25397
25397
  Normal = 1
@@ -25641,9 +25641,9 @@ class RichEditBox(ComPtr, metaclass=_RichEditBox_Meta_):
25641
25641
  @winrt_mixinmethod
25642
25642
  def put_HeaderTemplate(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
25643
25643
  @winrt_mixinmethod
25644
- def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox) -> WinRT_String: ...
25644
+ def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox) -> hstr: ...
25645
25645
  @winrt_mixinmethod
25646
- def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox, value: WinRT_String) -> Void: ...
25646
+ def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox, value: hstr) -> Void: ...
25647
25647
  @winrt_mixinmethod
25648
25648
  def get_SelectionHighlightColor(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox) -> win32more.Microsoft.UI.Xaml.Media.SolidColorBrush: ...
25649
25649
  @winrt_mixinmethod
@@ -25729,7 +25729,7 @@ class RichEditBox(ComPtr, metaclass=_RichEditBox_Meta_):
25729
25729
  @winrt_mixinmethod
25730
25730
  def remove_SelectionChanging(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
25731
25731
  @winrt_mixinmethod
25732
- def GetLinguisticAlternativesAsync(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[WinRT_String]]: ...
25732
+ def GetLinguisticAlternativesAsync(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[hstr]]: ...
25733
25733
  @winrt_mixinmethod
25734
25734
  def get_TextReadingOrder(self: win32more.Microsoft.UI.Xaml.Controls.IRichEditBox) -> win32more.Microsoft.UI.Xaml.TextReadingOrder: ...
25735
25735
  @winrt_mixinmethod
@@ -25848,18 +25848,18 @@ class RichEditBox(ComPtr, metaclass=_RichEditBox_Meta_):
25848
25848
  _RichEditBox_Meta_.TextAlignmentProperty = property(get_TextAlignmentProperty, None)
25849
25849
  _RichEditBox_Meta_.TextReadingOrderProperty = property(get_TextReadingOrderProperty, None)
25850
25850
  _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()
25851
+ CandidateWindowBoundsChanged = event(add_CandidateWindowBoundsChanged, remove_CandidateWindowBoundsChanged)
25852
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
25853
+ CopyingToClipboard = event(add_CopyingToClipboard, remove_CopyingToClipboard)
25854
+ CuttingToClipboard = event(add_CuttingToClipboard, remove_CuttingToClipboard)
25855
+ Paste = event(add_Paste, remove_Paste)
25856
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
25857
+ SelectionChanging = event(add_SelectionChanging, remove_SelectionChanging)
25858
+ TextChanged = event(add_TextChanged, remove_TextChanged)
25859
+ TextChanging = event(add_TextChanging, remove_TextChanging)
25860
+ TextCompositionChanged = event(add_TextCompositionChanged, remove_TextCompositionChanged)
25861
+ TextCompositionEnded = event(add_TextCompositionEnded, remove_TextCompositionEnded)
25862
+ TextCompositionStarted = event(add_TextCompositionStarted, remove_TextCompositionStarted)
25863
25863
  class RichEditBoxSelectionChangingEventArgs(ComPtr):
25864
25864
  extends: IInspectable
25865
25865
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IRichEditBoxSelectionChangingEventArgs
@@ -25965,7 +25965,7 @@ class RichTextBlock(ComPtr, metaclass=_RichTextBlock_Meta_):
25965
25965
  @winrt_mixinmethod
25966
25966
  def get_HasOverflowContent(self: win32more.Microsoft.UI.Xaml.Controls.IRichTextBlock) -> Boolean: ...
25967
25967
  @winrt_mixinmethod
25968
- def get_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.IRichTextBlock) -> WinRT_String: ...
25968
+ def get_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.IRichTextBlock) -> hstr: ...
25969
25969
  @winrt_mixinmethod
25970
25970
  def get_ContentStart(self: win32more.Microsoft.UI.Xaml.Controls.IRichTextBlock) -> win32more.Microsoft.UI.Xaml.Documents.TextPointer: ...
25971
25971
  @winrt_mixinmethod
@@ -26167,9 +26167,9 @@ class RichTextBlock(ComPtr, metaclass=_RichTextBlock_Meta_):
26167
26167
  _RichTextBlock_Meta_.TextReadingOrderProperty = property(get_TextReadingOrderProperty, None)
26168
26168
  _RichTextBlock_Meta_.TextTrimmingProperty = property(get_TextTrimmingProperty, None)
26169
26169
  _RichTextBlock_Meta_.TextWrappingProperty = property(get_TextWrappingProperty, None)
26170
- SelectionChanged = event()
26171
- ContextMenuOpening = event()
26172
- IsTextTrimmedChanged = event()
26170
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
26171
+ IsTextTrimmedChanged = event(add_IsTextTrimmedChanged, remove_IsTextTrimmedChanged)
26172
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
26173
26173
  class _RichTextBlockOverflow_Meta_(ComPtr.__class__):
26174
26174
  pass
26175
26175
  class RichTextBlockOverflow(ComPtr, metaclass=_RichTextBlockOverflow_Meta_):
@@ -26239,7 +26239,7 @@ class RichTextBlockOverflow(ComPtr, metaclass=_RichTextBlockOverflow_Meta_):
26239
26239
  _RichTextBlockOverflow_Meta_.MaxLinesProperty = property(get_MaxLinesProperty, None)
26240
26240
  _RichTextBlockOverflow_Meta_.OverflowContentTargetProperty = property(get_OverflowContentTargetProperty, None)
26241
26241
  _RichTextBlockOverflow_Meta_.PaddingProperty = property(get_PaddingProperty, None)
26242
- IsTextTrimmedChanged = event()
26242
+ IsTextTrimmedChanged = event(add_IsTextTrimmedChanged, remove_IsTextTrimmedChanged)
26243
26243
  class _RowDefinition_Meta_(ComPtr.__class__):
26244
26244
  pass
26245
26245
  class RowDefinition(ComPtr, metaclass=_RowDefinition_Meta_):
@@ -26697,15 +26697,15 @@ class ScrollView(ComPtr, metaclass=_ScrollView_Meta_):
26697
26697
  _ScrollView_Meta_.VerticalScrollRailModeProperty = property(get_VerticalScrollRailModeProperty, None)
26698
26698
  _ScrollView_Meta_.ZoomChainModeProperty = property(get_ZoomChainModeProperty, None)
26699
26699
  _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()
26700
+ AnchorRequested = event(add_AnchorRequested, remove_AnchorRequested)
26701
+ BringingIntoView = event(add_BringingIntoView, remove_BringingIntoView)
26702
+ ExtentChanged = event(add_ExtentChanged, remove_ExtentChanged)
26703
+ ScrollAnimationStarting = event(add_ScrollAnimationStarting, remove_ScrollAnimationStarting)
26704
+ ScrollCompleted = event(add_ScrollCompleted, remove_ScrollCompleted)
26705
+ StateChanged = event(add_StateChanged, remove_StateChanged)
26706
+ ViewChanged = event(add_ViewChanged, remove_ViewChanged)
26707
+ ZoomAnimationStarting = event(add_ZoomAnimationStarting, remove_ZoomAnimationStarting)
26708
+ ZoomCompleted = event(add_ZoomCompleted, remove_ZoomCompleted)
26709
26709
  class _ScrollViewer_Meta_(ComPtr.__class__):
26710
26710
  pass
26711
26711
  class ScrollViewer(ComPtr, metaclass=_ScrollViewer_Meta_):
@@ -27116,11 +27116,11 @@ class ScrollViewer(ComPtr, metaclass=_ScrollViewer_Meta_):
27116
27116
  _ScrollViewer_Meta_.ZoomModeProperty = property(get_ZoomModeProperty, None)
27117
27117
  _ScrollViewer_Meta_.ZoomSnapPointsProperty = property(get_ZoomSnapPointsProperty, None)
27118
27118
  _ScrollViewer_Meta_.ZoomSnapPointsTypeProperty = property(get_ZoomSnapPointsTypeProperty, None)
27119
- AnchorRequested = event()
27120
- ViewChanging = event()
27121
- ViewChanged = event()
27122
- DirectManipulationStarted = event()
27123
- DirectManipulationCompleted = event()
27119
+ AnchorRequested = event(add_AnchorRequested, remove_AnchorRequested)
27120
+ DirectManipulationCompleted = event(add_DirectManipulationCompleted, remove_DirectManipulationCompleted)
27121
+ DirectManipulationStarted = event(add_DirectManipulationStarted, remove_DirectManipulationStarted)
27122
+ ViewChanged = event(add_ViewChanged, remove_ViewChanged)
27123
+ ViewChanging = event(add_ViewChanging, remove_ViewChanging)
27124
27124
  class ScrollViewerView(ComPtr):
27125
27125
  extends: IInspectable
27126
27126
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IScrollViewerView
@@ -27427,7 +27427,7 @@ class SelectorBar(ComPtr, metaclass=_SelectorBar_Meta_):
27427
27427
  SelectedItem = property(get_SelectedItem, put_SelectedItem)
27428
27428
  _SelectorBar_Meta_.ItemsProperty = property(get_ItemsProperty, None)
27429
27429
  _SelectorBar_Meta_.SelectedItemProperty = property(get_SelectedItemProperty, None)
27430
- SelectionChanged = event()
27430
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
27431
27431
  class _SelectorBarItem_Meta_(ComPtr.__class__):
27432
27432
  pass
27433
27433
  class SelectorBarItem(ComPtr, metaclass=_SelectorBarItem_Meta_):
@@ -27444,9 +27444,9 @@ class SelectorBarItem(ComPtr, metaclass=_SelectorBarItem_Meta_):
27444
27444
  @winrt_factorymethod
27445
27445
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ISelectorBarItemFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.SelectorBarItem: ...
27446
27446
  @winrt_mixinmethod
27447
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISelectorBarItem) -> WinRT_String: ...
27447
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISelectorBarItem) -> hstr: ...
27448
27448
  @winrt_mixinmethod
27449
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISelectorBarItem, value: WinRT_String) -> Void: ...
27449
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISelectorBarItem, value: hstr) -> Void: ...
27450
27450
  @winrt_mixinmethod
27451
27451
  def get_Icon(self: win32more.Microsoft.UI.Xaml.Controls.ISelectorBarItem) -> win32more.Microsoft.UI.Xaml.Controls.IconElement: ...
27452
27452
  @winrt_mixinmethod
@@ -27528,8 +27528,8 @@ class SemanticZoom(ComPtr, metaclass=_SemanticZoom_Meta_):
27528
27528
  _SemanticZoom_Meta_.IsZoomedInViewActiveProperty = property(get_IsZoomedInViewActiveProperty, None)
27529
27529
  _SemanticZoom_Meta_.ZoomedInViewProperty = property(get_ZoomedInViewProperty, None)
27530
27530
  _SemanticZoom_Meta_.ZoomedOutViewProperty = property(get_ZoomedOutViewProperty, None)
27531
- ViewChangeStarted = event()
27532
- ViewChangeCompleted = event()
27531
+ ViewChangeCompleted = event(add_ViewChangeCompleted, remove_ViewChangeCompleted)
27532
+ ViewChangeStarted = event(add_ViewChangeStarted, remove_ViewChangeStarted)
27533
27533
  class SemanticZoomLocation(ComPtr):
27534
27534
  extends: IInspectable
27535
27535
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ISemanticZoomLocation
@@ -27738,7 +27738,7 @@ class SplitButton(ComPtr, metaclass=_SplitButton_Meta_):
27738
27738
  _SplitButton_Meta_.CommandParameterProperty = property(get_CommandParameterProperty, None)
27739
27739
  _SplitButton_Meta_.CommandProperty = property(get_CommandProperty, None)
27740
27740
  _SplitButton_Meta_.FlyoutProperty = property(get_FlyoutProperty, None)
27741
- Click = event()
27741
+ Click = event(add_Click, remove_Click)
27742
27742
  class SplitButtonClickEventArgs(ComPtr):
27743
27743
  extends: IInspectable
27744
27744
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ISplitButtonClickEventArgs
@@ -27852,10 +27852,10 @@ class SplitView(ComPtr, metaclass=_SplitView_Meta_):
27852
27852
  _SplitView_Meta_.PanePlacementProperty = property(get_PanePlacementProperty, None)
27853
27853
  _SplitView_Meta_.PaneProperty = property(get_PaneProperty, None)
27854
27854
  _SplitView_Meta_.TemplateSettingsProperty = property(get_TemplateSettingsProperty, None)
27855
- PaneClosing = event()
27856
- PaneClosed = event()
27857
- PaneOpening = event()
27858
- PaneOpened = event()
27855
+ PaneClosed = event(add_PaneClosed, remove_PaneClosed)
27856
+ PaneClosing = event(add_PaneClosing, remove_PaneClosing)
27857
+ PaneOpened = event(add_PaneOpened, remove_PaneOpened)
27858
+ PaneOpening = event(add_PaneOpening, remove_PaneOpening)
27859
27859
  class SplitViewDisplayMode(Enum, Int32):
27860
27860
  Overlay = 0
27861
27861
  Inline = 1
@@ -28003,8 +28003,8 @@ class StackPanel(ComPtr, metaclass=_StackPanel_Meta_):
28003
28003
  _StackPanel_Meta_.OrientationProperty = property(get_OrientationProperty, None)
28004
28004
  _StackPanel_Meta_.PaddingProperty = property(get_PaddingProperty, None)
28005
28005
  _StackPanel_Meta_.SpacingProperty = property(get_SpacingProperty, None)
28006
- HorizontalSnapPointsChanged = event()
28007
- VerticalSnapPointsChanged = event()
28006
+ HorizontalSnapPointsChanged = event(add_HorizontalSnapPointsChanged, remove_HorizontalSnapPointsChanged)
28007
+ VerticalSnapPointsChanged = event(add_VerticalSnapPointsChanged, remove_VerticalSnapPointsChanged)
28008
28008
  class StretchDirection(Enum, Int32):
28009
28009
  UpOnly = 0
28010
28010
  DownOnly = 1
@@ -28072,7 +28072,7 @@ class SwapChainPanel(ComPtr, metaclass=_SwapChainPanel_Meta_):
28072
28072
  CompositionScaleY = property(get_CompositionScaleY, None)
28073
28073
  _SwapChainPanel_Meta_.CompositionScaleXProperty = property(get_CompositionScaleXProperty, None)
28074
28074
  _SwapChainPanel_Meta_.CompositionScaleYProperty = property(get_CompositionScaleYProperty, None)
28075
- CompositionScaleChanged = event()
28075
+ CompositionScaleChanged = event(add_CompositionScaleChanged, remove_CompositionScaleChanged)
28076
28076
  class SwipeBehaviorOnInvoked(Enum, Int32):
28077
28077
  Auto = 0
28078
28078
  Close = 1
@@ -28142,9 +28142,9 @@ class SwipeItem(ComPtr, metaclass=_SwipeItem_Meta_):
28142
28142
  @winrt_factorymethod
28143
28143
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ISwipeItemFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.SwipeItem: ...
28144
28144
  @winrt_mixinmethod
28145
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISwipeItem) -> WinRT_String: ...
28145
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISwipeItem) -> hstr: ...
28146
28146
  @winrt_mixinmethod
28147
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISwipeItem, value: WinRT_String) -> Void: ...
28147
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ISwipeItem, value: hstr) -> Void: ...
28148
28148
  @winrt_mixinmethod
28149
28149
  def get_IconSource(self: win32more.Microsoft.UI.Xaml.Controls.ISwipeItem) -> win32more.Microsoft.UI.Xaml.Controls.IconSource: ...
28150
28150
  @winrt_mixinmethod
@@ -28201,7 +28201,7 @@ class SwipeItem(ComPtr, metaclass=_SwipeItem_Meta_):
28201
28201
  _SwipeItem_Meta_.ForegroundProperty = property(get_ForegroundProperty, None)
28202
28202
  _SwipeItem_Meta_.IconSourceProperty = property(get_IconSourceProperty, None)
28203
28203
  _SwipeItem_Meta_.TextProperty = property(get_TextProperty, None)
28204
- Invoked = event()
28204
+ Invoked = event(add_Invoked, remove_Invoked)
28205
28205
  class SwipeItemInvokedEventArgs(ComPtr):
28206
28206
  extends: IInspectable
28207
28207
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ISwipeItemInvokedEventArgs
@@ -28732,19 +28732,19 @@ class TabView(ComPtr, metaclass=_TabView_Meta_):
28732
28732
  _TabView_Meta_.TabStripHeaderProperty = property(get_TabStripHeaderProperty, None)
28733
28733
  _TabView_Meta_.TabStripHeaderTemplateProperty = property(get_TabStripHeaderTemplateProperty, None)
28734
28734
  _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()
28735
+ AddTabButtonClick = event(add_AddTabButtonClick, remove_AddTabButtonClick)
28736
+ ExternalTornOutTabsDropped = event(add_ExternalTornOutTabsDropped, remove_ExternalTornOutTabsDropped)
28737
+ ExternalTornOutTabsDropping = event(add_ExternalTornOutTabsDropping, remove_ExternalTornOutTabsDropping)
28738
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
28739
+ TabCloseRequested = event(add_TabCloseRequested, remove_TabCloseRequested)
28740
+ TabDragCompleted = event(add_TabDragCompleted, remove_TabDragCompleted)
28741
+ TabDragStarting = event(add_TabDragStarting, remove_TabDragStarting)
28742
+ TabDroppedOutside = event(add_TabDroppedOutside, remove_TabDroppedOutside)
28743
+ TabItemsChanged = event(add_TabItemsChanged, remove_TabItemsChanged)
28744
+ TabStripDragOver = event(add_TabStripDragOver, remove_TabStripDragOver)
28745
+ TabStripDrop = event(add_TabStripDrop, remove_TabStripDrop)
28746
+ TabTearOutRequested = event(add_TabTearOutRequested, remove_TabTearOutRequested)
28747
+ TabTearOutWindowRequested = event(add_TabTearOutWindowRequested, remove_TabTearOutWindowRequested)
28748
28748
  class TabViewCloseButtonOverlayMode(Enum, Int32):
28749
28749
  Auto = 0
28750
28750
  OnPointerOver = 1
@@ -28837,7 +28837,7 @@ class TabViewItem(ComPtr, metaclass=_TabViewItem_Meta_):
28837
28837
  _TabViewItem_Meta_.IconSourceProperty = property(get_IconSourceProperty, None)
28838
28838
  _TabViewItem_Meta_.IsClosableProperty = property(get_IsClosableProperty, None)
28839
28839
  _TabViewItem_Meta_.TabViewTemplateSettingsProperty = property(get_TabViewTemplateSettingsProperty, None)
28840
- CloseRequested = event()
28840
+ CloseRequested = event(add_CloseRequested, remove_CloseRequested)
28841
28841
  class _TabViewItemTemplateSettings_Meta_(ComPtr.__class__):
28842
28842
  pass
28843
28843
  class TabViewItemTemplateSettings(ComPtr, metaclass=_TabViewItemTemplateSettings_Meta_):
@@ -28968,13 +28968,13 @@ class TeachingTip(ComPtr, metaclass=_TeachingTip_Meta_):
28968
28968
  @winrt_factorymethod
28969
28969
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ITeachingTipFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TeachingTip: ...
28970
28970
  @winrt_mixinmethod
28971
- def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip) -> WinRT_String: ...
28971
+ def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip) -> hstr: ...
28972
28972
  @winrt_mixinmethod
28973
- def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip, value: WinRT_String) -> Void: ...
28973
+ def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip, value: hstr) -> Void: ...
28974
28974
  @winrt_mixinmethod
28975
- def get_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip) -> WinRT_String: ...
28975
+ def get_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip) -> hstr: ...
28976
28976
  @winrt_mixinmethod
28977
- def put_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip, value: WinRT_String) -> Void: ...
28977
+ def put_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip, value: hstr) -> Void: ...
28978
28978
  @winrt_mixinmethod
28979
28979
  def get_IsOpen(self: win32more.Microsoft.UI.Xaml.Controls.ITeachingTip) -> Boolean: ...
28980
28980
  @winrt_mixinmethod
@@ -29149,10 +29149,10 @@ class TeachingTip(ComPtr, metaclass=_TeachingTip_Meta_):
29149
29149
  _TeachingTip_Meta_.TargetProperty = property(get_TargetProperty, None)
29150
29150
  _TeachingTip_Meta_.TemplateSettingsProperty = property(get_TemplateSettingsProperty, None)
29151
29151
  _TeachingTip_Meta_.TitleProperty = property(get_TitleProperty, None)
29152
- ActionButtonClick = event()
29153
- CloseButtonClick = event()
29154
- Closing = event()
29155
- Closed = event()
29152
+ ActionButtonClick = event(add_ActionButtonClick, remove_ActionButtonClick)
29153
+ CloseButtonClick = event(add_CloseButtonClick, remove_CloseButtonClick)
29154
+ Closed = event(add_Closed, remove_Closed)
29155
+ Closing = event(add_Closing, remove_Closing)
29156
29156
  class TeachingTipCloseReason(Enum, Int32):
29157
29157
  CloseButton = 0
29158
29158
  LightDismiss = 1
@@ -29296,9 +29296,9 @@ class TextBlock(ComPtr, metaclass=_TextBlock_Meta_):
29296
29296
  @winrt_mixinmethod
29297
29297
  def put_TextAlignment(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock, value: win32more.Microsoft.UI.Xaml.TextAlignment) -> Void: ...
29298
29298
  @winrt_mixinmethod
29299
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock) -> WinRT_String: ...
29299
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock) -> hstr: ...
29300
29300
  @winrt_mixinmethod
29301
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock, value: WinRT_String) -> Void: ...
29301
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock, value: hstr) -> Void: ...
29302
29302
  @winrt_mixinmethod
29303
29303
  def get_Inlines(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock) -> win32more.Microsoft.UI.Xaml.Documents.InlineCollection: ...
29304
29304
  @winrt_mixinmethod
@@ -29318,7 +29318,7 @@ class TextBlock(ComPtr, metaclass=_TextBlock_Meta_):
29318
29318
  @winrt_mixinmethod
29319
29319
  def put_IsTextSelectionEnabled(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock, value: Boolean) -> Void: ...
29320
29320
  @winrt_mixinmethod
29321
- def get_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock) -> WinRT_String: ...
29321
+ def get_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock) -> hstr: ...
29322
29322
  @winrt_mixinmethod
29323
29323
  def get_ContentStart(self: win32more.Microsoft.UI.Xaml.Controls.ITextBlock) -> win32more.Microsoft.UI.Xaml.Documents.TextPointer: ...
29324
29324
  @winrt_mixinmethod
@@ -29508,9 +29508,9 @@ class TextBlock(ComPtr, metaclass=_TextBlock_Meta_):
29508
29508
  _TextBlock_Meta_.TextReadingOrderProperty = property(get_TextReadingOrderProperty, None)
29509
29509
  _TextBlock_Meta_.TextTrimmingProperty = property(get_TextTrimmingProperty, None)
29510
29510
  _TextBlock_Meta_.TextWrappingProperty = property(get_TextWrappingProperty, None)
29511
- SelectionChanged = event()
29512
- ContextMenuOpening = event()
29513
- IsTextTrimmedChanged = event()
29511
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
29512
+ IsTextTrimmedChanged = event(add_IsTextTrimmedChanged, remove_IsTextTrimmedChanged)
29513
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
29514
29514
  class _TextBox_Meta_(ComPtr.__class__):
29515
29515
  pass
29516
29516
  class TextBox(ComPtr, metaclass=_TextBox_Meta_):
@@ -29527,13 +29527,13 @@ class TextBox(ComPtr, metaclass=_TextBox_Meta_):
29527
29527
  @winrt_factorymethod
29528
29528
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ITextBoxFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TextBox: ...
29529
29529
  @winrt_mixinmethod
29530
- def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> WinRT_String: ...
29530
+ def get_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> hstr: ...
29531
29531
  @winrt_mixinmethod
29532
- def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, value: WinRT_String) -> Void: ...
29532
+ def put_Text(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, value: hstr) -> Void: ...
29533
29533
  @winrt_mixinmethod
29534
- def get_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> WinRT_String: ...
29534
+ def get_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> hstr: ...
29535
29535
  @winrt_mixinmethod
29536
- def put_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, value: WinRT_String) -> Void: ...
29536
+ def put_SelectedText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, value: hstr) -> Void: ...
29537
29537
  @winrt_mixinmethod
29538
29538
  def get_SelectionLength(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> Int32: ...
29539
29539
  @winrt_mixinmethod
@@ -29583,9 +29583,9 @@ class TextBox(ComPtr, metaclass=_TextBox_Meta_):
29583
29583
  @winrt_mixinmethod
29584
29584
  def put_HeaderTemplate(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
29585
29585
  @winrt_mixinmethod
29586
- def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> WinRT_String: ...
29586
+ def get_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> hstr: ...
29587
29587
  @winrt_mixinmethod
29588
- def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, value: WinRT_String) -> Void: ...
29588
+ def put_PlaceholderText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, value: hstr) -> Void: ...
29589
29589
  @winrt_mixinmethod
29590
29590
  def get_SelectionHighlightColor(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> win32more.Microsoft.UI.Xaml.Media.SolidColorBrush: ...
29591
29591
  @winrt_mixinmethod
@@ -29681,7 +29681,7 @@ class TextBox(ComPtr, metaclass=_TextBox_Meta_):
29681
29681
  @winrt_mixinmethod
29682
29682
  def GetRectFromCharacterIndex(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox, charIndex: Int32, trailingEdge: Boolean) -> win32more.Windows.Foundation.Rect: ...
29683
29683
  @winrt_mixinmethod
29684
- def GetLinguisticAlternativesAsync(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[WinRT_String]]: ...
29684
+ def GetLinguisticAlternativesAsync(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[hstr]]: ...
29685
29685
  @winrt_mixinmethod
29686
29686
  def Undo(self: win32more.Microsoft.UI.Xaml.Controls.ITextBox) -> Void: ...
29687
29687
  @winrt_mixinmethod
@@ -29821,25 +29821,25 @@ class TextBox(ComPtr, metaclass=_TextBox_Meta_):
29821
29821
  _TextBox_Meta_.TextProperty = property(get_TextProperty, None)
29822
29822
  _TextBox_Meta_.TextReadingOrderProperty = property(get_TextReadingOrderProperty, None)
29823
29823
  _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()
29824
+ BeforeTextChanging = event(add_BeforeTextChanging, remove_BeforeTextChanging)
29825
+ CandidateWindowBoundsChanged = event(add_CandidateWindowBoundsChanged, remove_CandidateWindowBoundsChanged)
29826
+ ContextMenuOpening = event(add_ContextMenuOpening, remove_ContextMenuOpening)
29827
+ CopyingToClipboard = event(add_CopyingToClipboard, remove_CopyingToClipboard)
29828
+ CuttingToClipboard = event(add_CuttingToClipboard, remove_CuttingToClipboard)
29829
+ Paste = event(add_Paste, remove_Paste)
29830
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
29831
+ SelectionChanging = event(add_SelectionChanging, remove_SelectionChanging)
29832
+ TextChanged = event(add_TextChanged, remove_TextChanged)
29833
+ TextChanging = event(add_TextChanging, remove_TextChanging)
29834
+ TextCompositionChanged = event(add_TextCompositionChanged, remove_TextCompositionChanged)
29835
+ TextCompositionEnded = event(add_TextCompositionEnded, remove_TextCompositionEnded)
29836
+ TextCompositionStarted = event(add_TextCompositionStarted, remove_TextCompositionStarted)
29837
29837
  class TextBoxBeforeTextChangingEventArgs(ComPtr):
29838
29838
  extends: IInspectable
29839
29839
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ITextBoxBeforeTextChangingEventArgs
29840
29840
  _classid_ = 'Microsoft.UI.Xaml.Controls.TextBoxBeforeTextChangingEventArgs'
29841
29841
  @winrt_mixinmethod
29842
- def get_NewText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBoxBeforeTextChangingEventArgs) -> WinRT_String: ...
29842
+ def get_NewText(self: win32more.Microsoft.UI.Xaml.Controls.ITextBoxBeforeTextChangingEventArgs) -> hstr: ...
29843
29843
  @winrt_mixinmethod
29844
29844
  def get_Cancel(self: win32more.Microsoft.UI.Xaml.Controls.ITextBoxBeforeTextChangingEventArgs) -> Boolean: ...
29845
29845
  @winrt_mixinmethod
@@ -29995,9 +29995,9 @@ class TimePicker(ComPtr, metaclass=_TimePicker_Meta_):
29995
29995
  @winrt_mixinmethod
29996
29996
  def put_HeaderTemplate(self: win32more.Microsoft.UI.Xaml.Controls.ITimePicker, value: win32more.Microsoft.UI.Xaml.DataTemplate) -> Void: ...
29997
29997
  @winrt_mixinmethod
29998
- def get_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePicker) -> WinRT_String: ...
29998
+ def get_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePicker) -> hstr: ...
29999
29999
  @winrt_mixinmethod
30000
- def put_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePicker, value: WinRT_String) -> Void: ...
30000
+ def put_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePicker, value: hstr) -> Void: ...
30001
30001
  @winrt_mixinmethod
30002
30002
  def get_MinuteIncrement(self: win32more.Microsoft.UI.Xaml.Controls.ITimePicker) -> Int32: ...
30003
30003
  @winrt_mixinmethod
@@ -30050,8 +30050,8 @@ class TimePicker(ComPtr, metaclass=_TimePicker_Meta_):
30050
30050
  _TimePicker_Meta_.MinuteIncrementProperty = property(get_MinuteIncrementProperty, None)
30051
30051
  _TimePicker_Meta_.SelectedTimeProperty = property(get_SelectedTimeProperty, None)
30052
30052
  _TimePicker_Meta_.TimeProperty = property(get_TimeProperty, None)
30053
- TimeChanged = event()
30054
- SelectedTimeChanged = event()
30053
+ SelectedTimeChanged = event(add_SelectedTimeChanged, remove_SelectedTimeChanged)
30054
+ TimeChanged = event(add_TimeChanged, remove_TimeChanged)
30055
30055
  class _TimePickerFlyout_Meta_(ComPtr.__class__):
30056
30056
  pass
30057
30057
  class TimePickerFlyout(ComPtr, metaclass=_TimePickerFlyout_Meta_):
@@ -30068,9 +30068,9 @@ class TimePickerFlyout(ComPtr, metaclass=_TimePickerFlyout_Meta_):
30068
30068
  @winrt_activatemethod
30069
30069
  def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Controls.TimePickerFlyout: ...
30070
30070
  @winrt_mixinmethod
30071
- def get_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePickerFlyout) -> WinRT_String: ...
30071
+ def get_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePickerFlyout) -> hstr: ...
30072
30072
  @winrt_mixinmethod
30073
- def put_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePickerFlyout, value: WinRT_String) -> Void: ...
30073
+ def put_ClockIdentifier(self: win32more.Microsoft.UI.Xaml.Controls.ITimePickerFlyout, value: hstr) -> Void: ...
30074
30074
  @winrt_mixinmethod
30075
30075
  def get_Time(self: win32more.Microsoft.UI.Xaml.Controls.ITimePickerFlyout) -> win32more.Windows.Foundation.TimeSpan: ...
30076
30076
  @winrt_mixinmethod
@@ -30097,7 +30097,7 @@ class TimePickerFlyout(ComPtr, metaclass=_TimePickerFlyout_Meta_):
30097
30097
  _TimePickerFlyout_Meta_.ClockIdentifierProperty = property(get_ClockIdentifierProperty, None)
30098
30098
  _TimePickerFlyout_Meta_.MinuteIncrementProperty = property(get_MinuteIncrementProperty, None)
30099
30099
  _TimePickerFlyout_Meta_.TimeProperty = property(get_TimeProperty, None)
30100
- TimePicked = event()
30100
+ TimePicked = event(add_TimePicked, remove_TimePicked)
30101
30101
  class _TimePickerFlyoutPresenter_Meta_(ComPtr.__class__):
30102
30102
  pass
30103
30103
  class TimePickerFlyoutPresenter(ComPtr, metaclass=_TimePickerFlyoutPresenter_Meta_):
@@ -30148,13 +30148,13 @@ class TitleBar(ComPtr, metaclass=_TitleBar_Meta_):
30148
30148
  @winrt_factorymethod
30149
30149
  def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Controls.ITitleBarFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Controls.TitleBar: ...
30150
30150
  @winrt_mixinmethod
30151
- def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> WinRT_String: ...
30151
+ def get_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> hstr: ...
30152
30152
  @winrt_mixinmethod
30153
- def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: WinRT_String) -> Void: ...
30153
+ def put_Title(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: hstr) -> Void: ...
30154
30154
  @winrt_mixinmethod
30155
- def get_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> WinRT_String: ...
30155
+ def get_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> hstr: ...
30156
30156
  @winrt_mixinmethod
30157
- def put_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: WinRT_String) -> Void: ...
30157
+ def put_Subtitle(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar, value: hstr) -> Void: ...
30158
30158
  @winrt_mixinmethod
30159
30159
  def get_IconSource(self: win32more.Microsoft.UI.Xaml.Controls.ITitleBar) -> win32more.Microsoft.UI.Xaml.Controls.IconSource: ...
30160
30160
  @winrt_mixinmethod
@@ -30233,8 +30233,8 @@ class TitleBar(ComPtr, metaclass=_TitleBar_Meta_):
30233
30233
  _TitleBar_Meta_.SubtitleProperty = property(get_SubtitleProperty, None)
30234
30234
  _TitleBar_Meta_.TemplateSettingsProperty = property(get_TemplateSettingsProperty, None)
30235
30235
  _TitleBar_Meta_.TitleProperty = property(get_TitleProperty, None)
30236
- BackRequested = event()
30237
- PaneToggleRequested = event()
30236
+ BackRequested = event(add_BackRequested, remove_BackRequested)
30237
+ PaneToggleRequested = event(add_PaneToggleRequested, remove_PaneToggleRequested)
30238
30238
  class TitleBarAutomationPeer(ComPtr):
30239
30239
  extends: win32more.Microsoft.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer
30240
30240
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ITitleBarAutomationPeer
@@ -30321,7 +30321,7 @@ class ToggleSplitButton(ComPtr, metaclass=_ToggleSplitButton_Meta_):
30321
30321
  def get_IsCheckedProperty(cls: win32more.Microsoft.UI.Xaml.Controls.IToggleSplitButtonStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
30322
30322
  IsChecked = property(get_IsChecked, put_IsChecked)
30323
30323
  _ToggleSplitButton_Meta_.IsCheckedProperty = property(get_IsCheckedProperty, None)
30324
- IsCheckedChanged = event()
30324
+ IsCheckedChanged = event(add_IsCheckedChanged, remove_IsCheckedChanged)
30325
30325
  class ToggleSplitButtonIsCheckedChangedEventArgs(ComPtr):
30326
30326
  extends: IInspectable
30327
30327
  default_interface: win32more.Microsoft.UI.Xaml.Controls.IToggleSplitButtonIsCheckedChangedEventArgs
@@ -30412,7 +30412,7 @@ class ToggleSwitch(ComPtr, metaclass=_ToggleSwitch_Meta_):
30412
30412
  _ToggleSwitch_Meta_.OffContentTemplateProperty = property(get_OffContentTemplateProperty, None)
30413
30413
  _ToggleSwitch_Meta_.OnContentProperty = property(get_OnContentProperty, None)
30414
30414
  _ToggleSwitch_Meta_.OnContentTemplateProperty = property(get_OnContentTemplateProperty, None)
30415
- Toggled = event()
30415
+ Toggled = event(add_Toggled, remove_Toggled)
30416
30416
  class _ToolTip_Meta_(ComPtr.__class__):
30417
30417
  pass
30418
30418
  class ToolTip(ComPtr, metaclass=_ToolTip_Meta_):
@@ -30487,8 +30487,8 @@ class ToolTip(ComPtr, metaclass=_ToolTip_Meta_):
30487
30487
  _ToolTip_Meta_.PlacementRectProperty = property(get_PlacementRectProperty, None)
30488
30488
  _ToolTip_Meta_.PlacementTargetProperty = property(get_PlacementTargetProperty, None)
30489
30489
  _ToolTip_Meta_.VerticalOffsetProperty = property(get_VerticalOffsetProperty, None)
30490
- Closed = event()
30491
- Opened = event()
30490
+ Closed = event(add_Closed, remove_Closed)
30491
+ Opened = event(add_Opened, remove_Opened)
30492
30492
  class _ToolTipService_Meta_(ComPtr.__class__):
30493
30493
  pass
30494
30494
  class ToolTipService(ComPtr, metaclass=_ToolTipService_Meta_):
@@ -30663,12 +30663,12 @@ class TreeView(ComPtr, metaclass=_TreeView_Meta_):
30663
30663
  _TreeView_Meta_.ItemsSourceProperty = property(get_ItemsSourceProperty, None)
30664
30664
  _TreeView_Meta_.SelectedItemProperty = property(get_SelectedItemProperty, None)
30665
30665
  _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()
30666
+ Collapsed = event(add_Collapsed, remove_Collapsed)
30667
+ DragItemsCompleted = event(add_DragItemsCompleted, remove_DragItemsCompleted)
30668
+ DragItemsStarting = event(add_DragItemsStarting, remove_DragItemsStarting)
30669
+ Expanding = event(add_Expanding, remove_Expanding)
30670
+ ItemInvoked = event(add_ItemInvoked, remove_ItemInvoked)
30671
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
30672
30672
  class TreeViewCollapsedEventArgs(ComPtr):
30673
30673
  extends: IInspectable
30674
30674
  default_interface: win32more.Microsoft.UI.Xaml.Controls.ITreeViewCollapsedEventArgs
@@ -30741,13 +30741,13 @@ class TreeViewItem(ComPtr, metaclass=_TreeViewItem_Meta_):
30741
30741
  @winrt_mixinmethod
30742
30742
  def put_GlyphBrush(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem, value: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
30743
30743
  @winrt_mixinmethod
30744
- def get_ExpandedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem) -> WinRT_String: ...
30744
+ def get_ExpandedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem) -> hstr: ...
30745
30745
  @winrt_mixinmethod
30746
- def put_ExpandedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem, value: WinRT_String) -> Void: ...
30746
+ def put_ExpandedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem, value: hstr) -> Void: ...
30747
30747
  @winrt_mixinmethod
30748
- def get_CollapsedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem) -> WinRT_String: ...
30748
+ def get_CollapsedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem) -> hstr: ...
30749
30749
  @winrt_mixinmethod
30750
- def put_CollapsedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem, value: WinRT_String) -> Void: ...
30750
+ def put_CollapsedGlyph(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem, value: hstr) -> Void: ...
30751
30751
  @winrt_mixinmethod
30752
30752
  def get_GlyphSize(self: win32more.Microsoft.UI.Xaml.Controls.ITreeViewItem) -> Double: ...
30753
30753
  @winrt_mixinmethod
@@ -31031,7 +31031,7 @@ class TwoPaneView(ComPtr, metaclass=_TwoPaneView_Meta_):
31031
31031
  _TwoPaneView_Meta_.PanePriorityProperty = property(get_PanePriorityProperty, None)
31032
31032
  _TwoPaneView_Meta_.TallModeConfigurationProperty = property(get_TallModeConfigurationProperty, None)
31033
31033
  _TwoPaneView_Meta_.WideModeConfigurationProperty = property(get_WideModeConfigurationProperty, None)
31034
- ModeChanged = event()
31034
+ ModeChanged = event(add_ModeChanged, remove_ModeChanged)
31035
31035
  class TwoPaneViewMode(Enum, Int32):
31036
31036
  SinglePane = 0
31037
31037
  Wide = 1
@@ -31459,7 +31459,7 @@ class VirtualizingStackPanel(ComPtr, metaclass=_VirtualizingStackPanel_Meta_):
31459
31459
  _VirtualizingStackPanel_Meta_.IsVirtualizingProperty = property(get_IsVirtualizingProperty, None)
31460
31460
  _VirtualizingStackPanel_Meta_.OrientationProperty = property(get_OrientationProperty, None)
31461
31461
  _VirtualizingStackPanel_Meta_.VirtualizationModeProperty = property(get_VirtualizationModeProperty, None)
31462
- CleanUpVirtualizedItemEvent = event()
31462
+ CleanUpVirtualizedItemEvent = event(add_CleanUpVirtualizedItemEvent, remove_CleanUpVirtualizedItemEvent)
31463
31463
  class _WebView2_Meta_(ComPtr.__class__):
31464
31464
  pass
31465
31465
  class WebView2(ComPtr, metaclass=_WebView2_Meta_):
@@ -31480,7 +31480,7 @@ class WebView2(ComPtr, metaclass=_WebView2_Meta_):
31480
31480
  @winrt_mixinmethod
31481
31481
  def EnsureCoreWebView2Async(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2) -> win32more.Windows.Foundation.IAsyncAction: ...
31482
31482
  @winrt_mixinmethod
31483
- def ExecuteScriptAsync(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2, javascriptCode: WinRT_String) -> win32more.Windows.Foundation.IAsyncOperation[WinRT_String]: ...
31483
+ def ExecuteScriptAsync(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2, javascriptCode: hstr) -> win32more.Windows.Foundation.IAsyncOperation[hstr]: ...
31484
31484
  @winrt_mixinmethod
31485
31485
  def get_Source(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2) -> win32more.Windows.Foundation.Uri: ...
31486
31486
  @winrt_mixinmethod
@@ -31504,7 +31504,7 @@ class WebView2(ComPtr, metaclass=_WebView2_Meta_):
31504
31504
  @winrt_mixinmethod
31505
31505
  def GoBack(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2) -> Void: ...
31506
31506
  @winrt_mixinmethod
31507
- def NavigateToString(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2, htmlContent: WinRT_String) -> Void: ...
31507
+ def NavigateToString(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2, htmlContent: hstr) -> Void: ...
31508
31508
  @winrt_mixinmethod
31509
31509
  def Close(self: win32more.Microsoft.UI.Xaml.Controls.IWebView2) -> Void: ...
31510
31510
  @winrt_mixinmethod
@@ -31548,11 +31548,11 @@ class WebView2(ComPtr, metaclass=_WebView2_Meta_):
31548
31548
  _WebView2_Meta_.CanGoForwardProperty = property(get_CanGoForwardProperty, None)
31549
31549
  _WebView2_Meta_.DefaultBackgroundColorProperty = property(get_DefaultBackgroundColorProperty, None)
31550
31550
  _WebView2_Meta_.SourceProperty = property(get_SourceProperty, None)
31551
- NavigationCompleted = event()
31552
- WebMessageReceived = event()
31553
- NavigationStarting = event()
31554
- CoreProcessFailed = event()
31555
- CoreWebView2Initialized = event()
31551
+ CoreProcessFailed = event(add_CoreProcessFailed, remove_CoreProcessFailed)
31552
+ CoreWebView2Initialized = event(add_CoreWebView2Initialized, remove_CoreWebView2Initialized)
31553
+ NavigationCompleted = event(add_NavigationCompleted, remove_NavigationCompleted)
31554
+ NavigationStarting = event(add_NavigationStarting, remove_NavigationStarting)
31555
+ WebMessageReceived = event(add_WebMessageReceived, remove_WebMessageReceived)
31556
31556
  class _WrapGrid_Meta_(ComPtr.__class__):
31557
31557
  pass
31558
31558
  class WrapGrid(ComPtr, metaclass=_WrapGrid_Meta_):