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.Composition
4
4
  import win32more.Microsoft.UI.Input
5
5
  import win32more.Microsoft.UI.Xaml
@@ -136,7 +136,7 @@ class ButtonBase(ComPtr, metaclass=_ButtonBase_Meta_):
136
136
  _ButtonBase_Meta_.CommandProperty = property(get_CommandProperty, None)
137
137
  _ButtonBase_Meta_.IsPointerOverProperty = property(get_IsPointerOverProperty, None)
138
138
  _ButtonBase_Meta_.IsPressedProperty = property(get_IsPressedProperty, None)
139
- Click = event()
139
+ Click = event(add_Click, remove_Click)
140
140
  class CalendarPanel(ComPtr):
141
141
  extends: win32more.Microsoft.UI.Xaml.Controls.Panel
142
142
  default_interface: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarPanel
@@ -157,21 +157,21 @@ class CalendarViewTemplateSettings(ComPtr):
157
157
  @winrt_mixinmethod
158
158
  def get_MinViewWidth(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> Double: ...
159
159
  @winrt_mixinmethod
160
- def get_HeaderText(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> WinRT_String: ...
160
+ def get_HeaderText(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> hstr: ...
161
161
  @winrt_mixinmethod
162
- def get_WeekDay1(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> WinRT_String: ...
162
+ def get_WeekDay1(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> hstr: ...
163
163
  @winrt_mixinmethod
164
- def get_WeekDay2(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> WinRT_String: ...
164
+ def get_WeekDay2(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> hstr: ...
165
165
  @winrt_mixinmethod
166
- def get_WeekDay3(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> WinRT_String: ...
166
+ def get_WeekDay3(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> hstr: ...
167
167
  @winrt_mixinmethod
168
- def get_WeekDay4(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> WinRT_String: ...
168
+ def get_WeekDay4(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> hstr: ...
169
169
  @winrt_mixinmethod
170
- def get_WeekDay5(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> WinRT_String: ...
170
+ def get_WeekDay5(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> hstr: ...
171
171
  @winrt_mixinmethod
172
- def get_WeekDay6(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> WinRT_String: ...
172
+ def get_WeekDay6(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> hstr: ...
173
173
  @winrt_mixinmethod
174
- def get_WeekDay7(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> WinRT_String: ...
174
+ def get_WeekDay7(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> hstr: ...
175
175
  @winrt_mixinmethod
176
176
  def get_HasMoreContentAfter(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICalendarViewTemplateSettings) -> Boolean: ...
177
177
  @winrt_mixinmethod
@@ -293,8 +293,8 @@ class CarouselPanel(ComPtr):
293
293
  VerticalOffset = property(get_VerticalOffset, None)
294
294
  ViewportHeight = property(get_ViewportHeight, None)
295
295
  ViewportWidth = property(get_ViewportWidth, None)
296
- HorizontalSnapPointsChanged = event()
297
- VerticalSnapPointsChanged = event()
296
+ HorizontalSnapPointsChanged = event(add_HorizontalSnapPointsChanged, remove_HorizontalSnapPointsChanged)
297
+ VerticalSnapPointsChanged = event(add_VerticalSnapPointsChanged, remove_VerticalSnapPointsChanged)
298
298
  class _ColorPickerSlider_Meta_(ComPtr.__class__):
299
299
  pass
300
300
  class ColorPickerSlider(ComPtr, metaclass=_ColorPickerSlider_Meta_):
@@ -417,7 +417,7 @@ class ColorSpectrum(ComPtr, metaclass=_ColorSpectrum_Meta_):
417
417
  _ColorSpectrum_Meta_.MinSaturationProperty = property(get_MinSaturationProperty, None)
418
418
  _ColorSpectrum_Meta_.MinValueProperty = property(get_MinValueProperty, None)
419
419
  _ColorSpectrum_Meta_.ShapeProperty = property(get_ShapeProperty, None)
420
- ColorChanged = event()
420
+ ColorChanged = event(add_ColorChanged, remove_ColorChanged)
421
421
  class _ColumnMajorUniformToLargestGridLayout_Meta_(ComPtr.__class__):
422
422
  pass
423
423
  class ColumnMajorUniformToLargestGridLayout(ComPtr, metaclass=_ColumnMajorUniformToLargestGridLayout_Meta_):
@@ -658,9 +658,9 @@ class CornerRadiusFilterConverter(ComPtr, metaclass=_CornerRadiusFilterConverter
658
658
  @winrt_mixinmethod
659
659
  def put_Scale(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICornerRadiusFilterConverter, value: Double) -> Void: ...
660
660
  @winrt_mixinmethod
661
- def Convert(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: WinRT_String) -> IInspectable: ...
661
+ def Convert(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: hstr) -> IInspectable: ...
662
662
  @winrt_mixinmethod
663
- def ConvertBack(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: WinRT_String) -> IInspectable: ...
663
+ def ConvertBack(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: hstr) -> IInspectable: ...
664
664
  @winrt_classmethod
665
665
  def get_FilterProperty(cls: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICornerRadiusFilterConverterStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
666
666
  @winrt_classmethod
@@ -701,9 +701,9 @@ class CornerRadiusToThicknessConverter(ComPtr, metaclass=_CornerRadiusToThicknes
701
701
  @winrt_mixinmethod
702
702
  def put_Multiplier(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICornerRadiusToThicknessConverter, value: Double) -> Void: ...
703
703
  @winrt_mixinmethod
704
- def Convert(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: WinRT_String) -> IInspectable: ...
704
+ def Convert(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: hstr) -> IInspectable: ...
705
705
  @winrt_mixinmethod
706
- def ConvertBack(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: WinRT_String) -> IInspectable: ...
706
+ def ConvertBack(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: hstr) -> IInspectable: ...
707
707
  @winrt_classmethod
708
708
  def get_ConversionKindProperty(cls: win32more.Microsoft.UI.Xaml.Controls.Primitives.ICornerRadiusToThicknessConverterStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
709
709
  @winrt_classmethod
@@ -963,10 +963,10 @@ class FlyoutBase(ComPtr, metaclass=_FlyoutBase_Meta_):
963
963
  _FlyoutBase_Meta_.ShowModeProperty = property(get_ShowModeProperty, None)
964
964
  _FlyoutBase_Meta_.SystemBackdropProperty = property(get_SystemBackdropProperty, None)
965
965
  _FlyoutBase_Meta_.TargetProperty = property(get_TargetProperty, None)
966
- Opened = event()
967
- Closed = event()
968
- Opening = event()
969
- Closing = event()
966
+ Closed = event(add_Closed, remove_Closed)
967
+ Closing = event(add_Closing, remove_Closing)
968
+ Opened = event(add_Opened, remove_Opened)
969
+ Opening = event(add_Opening, remove_Opening)
970
970
  class FlyoutBaseClosingEventArgs(ComPtr):
971
971
  extends: IInspectable
972
972
  default_interface: win32more.Microsoft.UI.Xaml.Controls.Primitives.IFlyoutBaseClosingEventArgs
@@ -1033,6 +1033,7 @@ class GeneratorDirection(Enum, Int32):
1033
1033
  Forward = 0
1034
1034
  Backward = 1
1035
1035
  class GeneratorPosition(Structure):
1036
+ _name_ = 'Microsoft.UI.Xaml.Controls.Primitives.GeneratorPosition'
1036
1037
  Index: Int32
1037
1038
  Offset: Int32
1038
1039
  class GeneratorPositionHelper(ComPtr):
@@ -1334,7 +1335,7 @@ class IButtonBase(ComPtr):
1334
1335
  CommandParameter = property(get_CommandParameter, put_CommandParameter)
1335
1336
  IsPointerOver = property(get_IsPointerOver, None)
1336
1337
  IsPressed = property(get_IsPressed, None)
1337
- Click = event()
1338
+ Click = event(add_Click, remove_Click)
1338
1339
  class IButtonBaseFactory(ComPtr):
1339
1340
  extends: IInspectable
1340
1341
  _classid_ = 'Microsoft.UI.Xaml.Controls.Primitives.IButtonBaseFactory'
@@ -1371,21 +1372,21 @@ class ICalendarViewTemplateSettings(ComPtr):
1371
1372
  @winrt_commethod(6)
1372
1373
  def get_MinViewWidth(self) -> Double: ...
1373
1374
  @winrt_commethod(7)
1374
- def get_HeaderText(self) -> WinRT_String: ...
1375
+ def get_HeaderText(self) -> hstr: ...
1375
1376
  @winrt_commethod(8)
1376
- def get_WeekDay1(self) -> WinRT_String: ...
1377
+ def get_WeekDay1(self) -> hstr: ...
1377
1378
  @winrt_commethod(9)
1378
- def get_WeekDay2(self) -> WinRT_String: ...
1379
+ def get_WeekDay2(self) -> hstr: ...
1379
1380
  @winrt_commethod(10)
1380
- def get_WeekDay3(self) -> WinRT_String: ...
1381
+ def get_WeekDay3(self) -> hstr: ...
1381
1382
  @winrt_commethod(11)
1382
- def get_WeekDay4(self) -> WinRT_String: ...
1383
+ def get_WeekDay4(self) -> hstr: ...
1383
1384
  @winrt_commethod(12)
1384
- def get_WeekDay5(self) -> WinRT_String: ...
1385
+ def get_WeekDay5(self) -> hstr: ...
1385
1386
  @winrt_commethod(13)
1386
- def get_WeekDay6(self) -> WinRT_String: ...
1387
+ def get_WeekDay6(self) -> hstr: ...
1387
1388
  @winrt_commethod(14)
1388
- def get_WeekDay7(self) -> WinRT_String: ...
1389
+ def get_WeekDay7(self) -> hstr: ...
1389
1390
  @winrt_commethod(15)
1390
1391
  def get_HasMoreContentAfter(self) -> Boolean: ...
1391
1392
  @winrt_commethod(16)
@@ -1566,7 +1567,7 @@ class IColorSpectrum(ComPtr):
1566
1567
  MinSaturation = property(get_MinSaturation, put_MinSaturation)
1567
1568
  MinValue = property(get_MinValue, put_MinValue)
1568
1569
  Shape = property(get_Shape, put_Shape)
1569
- ColorChanged = event()
1570
+ ColorChanged = event(add_ColorChanged, remove_ColorChanged)
1570
1571
  class IColorSpectrumFactory(ComPtr):
1571
1572
  extends: IInspectable
1572
1573
  _classid_ = 'Microsoft.UI.Xaml.Controls.Primitives.IColorSpectrumFactory'
@@ -2012,10 +2013,10 @@ class IFlyoutBase(ComPtr):
2012
2013
  ShowMode = property(get_ShowMode, put_ShowMode)
2013
2014
  Target = property(get_Target, None)
2014
2015
  XamlRoot = property(get_XamlRoot, put_XamlRoot)
2015
- Opened = event()
2016
- Closed = event()
2017
- Opening = event()
2018
- Closing = event()
2016
+ Closed = event(add_Closed, remove_Closed)
2017
+ Closing = event(add_Closing, remove_Closing)
2018
+ Opened = event(add_Opened, remove_Opened)
2019
+ Opening = event(add_Opening, remove_Opening)
2019
2020
  class IFlyoutBase2(ComPtr):
2020
2021
  extends: IInspectable
2021
2022
  _classid_ = 'Microsoft.UI.Xaml.Controls.Primitives.IFlyoutBase2'
@@ -3002,7 +3003,7 @@ class ILoopingSelector(ComPtr):
3002
3003
  SelectedIndex = property(get_SelectedIndex, put_SelectedIndex)
3003
3004
  SelectedItem = property(get_SelectedItem, put_SelectedItem)
3004
3005
  ShouldLoop = property(get_ShouldLoop, put_ShouldLoop)
3005
- SelectionChanged = event()
3006
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
3006
3007
  class ILoopingSelectorItem(ComPtr):
3007
3008
  extends: IInspectable
3008
3009
  _classid_ = 'Microsoft.UI.Xaml.Controls.Primitives.ILoopingSelectorItem'
@@ -3246,9 +3247,9 @@ class IPickerFlyoutBaseStatics(ComPtr):
3246
3247
  @winrt_commethod(6)
3247
3248
  def get_TitleProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
3248
3249
  @winrt_commethod(7)
3249
- def GetTitle(self, element: win32more.Microsoft.UI.Xaml.DependencyObject) -> WinRT_String: ...
3250
+ def GetTitle(self, element: win32more.Microsoft.UI.Xaml.DependencyObject) -> hstr: ...
3250
3251
  @winrt_commethod(8)
3251
- def SetTitle(self, element: win32more.Microsoft.UI.Xaml.DependencyObject, value: WinRT_String) -> Void: ...
3252
+ def SetTitle(self, element: win32more.Microsoft.UI.Xaml.DependencyObject, value: hstr) -> Void: ...
3252
3253
  TitleProperty = property(get_TitleProperty, None)
3253
3254
  class IPivotHeaderItem(ComPtr):
3254
3255
  extends: IInspectable
@@ -3323,8 +3324,8 @@ class IPopup(ComPtr):
3323
3324
  LightDismissOverlayMode = property(get_LightDismissOverlayMode, put_LightDismissOverlayMode)
3324
3325
  ShouldConstrainToRootBounds = property(get_ShouldConstrainToRootBounds, put_ShouldConstrainToRootBounds)
3325
3326
  VerticalOffset = property(get_VerticalOffset, put_VerticalOffset)
3326
- Opened = event()
3327
- Closed = event()
3327
+ Closed = event(add_Closed, remove_Closed)
3328
+ Opened = event(add_Opened, remove_Opened)
3328
3329
  class IPopup2(ComPtr):
3329
3330
  extends: IInspectable
3330
3331
  _classid_ = 'Microsoft.UI.Xaml.Controls.Primitives.IPopup2'
@@ -3346,7 +3347,7 @@ class IPopup2(ComPtr):
3346
3347
  ActualPlacement = property(get_ActualPlacement, None)
3347
3348
  DesiredPlacement = property(get_DesiredPlacement, put_DesiredPlacement)
3348
3349
  PlacementTarget = property(get_PlacementTarget, put_PlacementTarget)
3349
- ActualPlacementChanged = event()
3350
+ ActualPlacementChanged = event(add_ActualPlacementChanged, remove_ActualPlacementChanged)
3350
3351
  class IPopup3(ComPtr):
3351
3352
  extends: IInspectable
3352
3353
  _classid_ = 'Microsoft.UI.Xaml.Controls.Primitives.IPopup3'
@@ -3434,7 +3435,7 @@ class IRangeBase(ComPtr):
3434
3435
  Minimum = property(get_Minimum, put_Minimum)
3435
3436
  SmallChange = property(get_SmallChange, put_SmallChange)
3436
3437
  Value = property(get_Value, put_Value)
3437
- ValueChanged = event()
3438
+ ValueChanged = event(add_ValueChanged, remove_ValueChanged)
3438
3439
  class IRangeBaseFactory(ComPtr):
3439
3440
  extends: IInspectable
3440
3441
  _classid_ = 'Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseFactory'
@@ -3571,7 +3572,7 @@ class IScrollBar(ComPtr):
3571
3572
  IndicatorMode = property(get_IndicatorMode, put_IndicatorMode)
3572
3573
  Orientation = property(get_Orientation, put_Orientation)
3573
3574
  ViewportSize = property(get_ViewportSize, put_ViewportSize)
3574
- Scroll = event()
3575
+ Scroll = event(add_Scroll, remove_Scroll)
3575
3576
  class IScrollBarStatics(ComPtr):
3576
3577
  extends: IInspectable
3577
3578
  _classid_ = 'Microsoft.UI.Xaml.Controls.Primitives.IScrollBarStatics'
@@ -3626,11 +3627,11 @@ class IScrollController(ComPtr):
3626
3627
  CanScroll = property(get_CanScroll, None)
3627
3628
  IsScrollingWithMouse = property(get_IsScrollingWithMouse, None)
3628
3629
  PanningInfo = property(get_PanningInfo, None)
3629
- CanScrollChanged = event()
3630
- IsScrollingWithMouseChanged = event()
3631
- ScrollToRequested = event()
3632
- ScrollByRequested = event()
3633
- AddScrollVelocityRequested = event()
3630
+ AddScrollVelocityRequested = event(add_AddScrollVelocityRequested, remove_AddScrollVelocityRequested)
3631
+ CanScrollChanged = event(add_CanScrollChanged, remove_CanScrollChanged)
3632
+ IsScrollingWithMouseChanged = event(add_IsScrollingWithMouseChanged, remove_IsScrollingWithMouseChanged)
3633
+ ScrollByRequested = event(add_ScrollByRequested, remove_ScrollByRequested)
3634
+ ScrollToRequested = event(add_ScrollToRequested, remove_ScrollToRequested)
3634
3635
  class IScrollControllerAddScrollVelocityRequestedEventArgs(ComPtr):
3635
3636
  extends: IInspectable
3636
3637
  _classid_ = 'Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerAddScrollVelocityRequestedEventArgs'
@@ -3681,7 +3682,7 @@ class IScrollControllerPanningInfo(ComPtr):
3681
3682
  @winrt_commethod(8)
3682
3683
  def get_PanningElementAncestor(self) -> win32more.Microsoft.UI.Xaml.UIElement: ...
3683
3684
  @winrt_commethod(9)
3684
- def SetPanningElementExpressionAnimationSources(self, propertySet: win32more.Microsoft.UI.Composition.CompositionPropertySet, minOffsetPropertyName: WinRT_String, maxOffsetPropertyName: WinRT_String, offsetPropertyName: WinRT_String, multiplierPropertyName: WinRT_String) -> Void: ...
3685
+ def SetPanningElementExpressionAnimationSources(self, propertySet: win32more.Microsoft.UI.Composition.CompositionPropertySet, minOffsetPropertyName: hstr, maxOffsetPropertyName: hstr, offsetPropertyName: hstr, multiplierPropertyName: hstr) -> Void: ...
3685
3686
  @winrt_commethod(10)
3686
3687
  def add_Changed(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerPanningInfo, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
3687
3688
  @winrt_commethod(11)
@@ -3693,8 +3694,8 @@ class IScrollControllerPanningInfo(ComPtr):
3693
3694
  IsRailEnabled = property(get_IsRailEnabled, None)
3694
3695
  PanOrientation = property(get_PanOrientation, None)
3695
3696
  PanningElementAncestor = property(get_PanningElementAncestor, None)
3696
- Changed = event()
3697
- PanRequested = event()
3697
+ Changed = event(add_Changed, remove_Changed)
3698
+ PanRequested = event(add_PanRequested, remove_PanRequested)
3698
3699
  class IScrollControllerScrollByRequestedEventArgs(ComPtr):
3699
3700
  extends: IInspectable
3700
3701
  _classid_ = 'Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerScrollByRequestedEventArgs'
@@ -3945,15 +3946,15 @@ class IScrollPresenter(ComPtr):
3945
3946
  ZoomFactor = property(get_ZoomFactor, None)
3946
3947
  ZoomMode = property(get_ZoomMode, put_ZoomMode)
3947
3948
  ZoomSnapPoints = property(get_ZoomSnapPoints, None)
3948
- ExtentChanged = event()
3949
- StateChanged = event()
3950
- ViewChanged = event()
3951
- ScrollAnimationStarting = event()
3952
- ZoomAnimationStarting = event()
3953
- ScrollCompleted = event()
3954
- ZoomCompleted = event()
3955
- BringingIntoView = event()
3956
- AnchorRequested = event()
3949
+ AnchorRequested = event(add_AnchorRequested, remove_AnchorRequested)
3950
+ BringingIntoView = event(add_BringingIntoView, remove_BringingIntoView)
3951
+ ExtentChanged = event(add_ExtentChanged, remove_ExtentChanged)
3952
+ ScrollAnimationStarting = event(add_ScrollAnimationStarting, remove_ScrollAnimationStarting)
3953
+ ScrollCompleted = event(add_ScrollCompleted, remove_ScrollCompleted)
3954
+ StateChanged = event(add_StateChanged, remove_StateChanged)
3955
+ ViewChanged = event(add_ViewChanged, remove_ViewChanged)
3956
+ ZoomAnimationStarting = event(add_ZoomAnimationStarting, remove_ZoomAnimationStarting)
3957
+ ZoomCompleted = event(add_ZoomCompleted, remove_ZoomCompleted)
3957
3958
  class IScrollPresenterFactory(ComPtr):
3958
3959
  extends: IInspectable
3959
3960
  _classid_ = 'Microsoft.UI.Xaml.Controls.Primitives.IScrollPresenterFactory'
@@ -4064,8 +4065,8 @@ class IScrollSnapPointsInfo(ComPtr):
4064
4065
  def GetRegularSnapPoints(self, orientation: win32more.Microsoft.UI.Xaml.Controls.Orientation, alignment: win32more.Microsoft.UI.Xaml.Controls.Primitives.SnapPointsAlignment, offset: POINTER(Single)) -> Single: ...
4065
4066
  AreHorizontalSnapPointsRegular = property(get_AreHorizontalSnapPointsRegular, None)
4066
4067
  AreVerticalSnapPointsRegular = property(get_AreVerticalSnapPointsRegular, None)
4067
- HorizontalSnapPointsChanged = event()
4068
- VerticalSnapPointsChanged = event()
4068
+ HorizontalSnapPointsChanged = event(add_HorizontalSnapPointsChanged, remove_HorizontalSnapPointsChanged)
4069
+ VerticalSnapPointsChanged = event(add_VerticalSnapPointsChanged, remove_VerticalSnapPointsChanged)
4069
4070
  class ISelector(ComPtr):
4070
4071
  extends: IInspectable
4071
4072
  _classid_ = 'Microsoft.UI.Xaml.Controls.Primitives.ISelector'
@@ -4083,9 +4084,9 @@ class ISelector(ComPtr):
4083
4084
  @winrt_commethod(11)
4084
4085
  def put_SelectedValue(self, value: IInspectable) -> Void: ...
4085
4086
  @winrt_commethod(12)
4086
- def get_SelectedValuePath(self) -> WinRT_String: ...
4087
+ def get_SelectedValuePath(self) -> hstr: ...
4087
4088
  @winrt_commethod(13)
4088
- def put_SelectedValuePath(self, value: WinRT_String) -> Void: ...
4089
+ def put_SelectedValuePath(self, value: hstr) -> Void: ...
4089
4090
  @winrt_commethod(14)
4090
4091
  def get_IsSynchronizedWithCurrentItem(self) -> win32more.Windows.Foundation.IReference[Boolean]: ...
4091
4092
  @winrt_commethod(15)
@@ -4099,7 +4100,7 @@ class ISelector(ComPtr):
4099
4100
  SelectedItem = property(get_SelectedItem, put_SelectedItem)
4100
4101
  SelectedValue = property(get_SelectedValue, put_SelectedValue)
4101
4102
  SelectedValuePath = property(get_SelectedValuePath, put_SelectedValuePath)
4102
- SelectionChanged = event()
4103
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
4103
4104
  class ISelectorFactory(ComPtr):
4104
4105
  extends: IInspectable
4105
4106
  _classid_ = 'Microsoft.UI.Xaml.Controls.Primitives.ISelectorFactory'
@@ -4208,9 +4209,9 @@ class IThumb(ComPtr):
4208
4209
  @winrt_commethod(13)
4209
4210
  def CancelDrag(self) -> Void: ...
4210
4211
  IsDragging = property(get_IsDragging, None)
4211
- DragStarted = event()
4212
- DragDelta = event()
4213
- DragCompleted = event()
4212
+ DragCompleted = event(add_DragCompleted, remove_DragCompleted)
4213
+ DragDelta = event(add_DragDelta, remove_DragDelta)
4214
+ DragStarted = event(add_DragStarted, remove_DragStarted)
4214
4215
  class IThumbStatics(ComPtr):
4215
4216
  extends: IInspectable
4216
4217
  _classid_ = 'Microsoft.UI.Xaml.Controls.Primitives.IThumbStatics'
@@ -4260,9 +4261,9 @@ class IToggleButton(ComPtr):
4260
4261
  def remove_Indeterminate(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
4261
4262
  IsChecked = property(get_IsChecked, put_IsChecked)
4262
4263
  IsThreeState = property(get_IsThreeState, put_IsThreeState)
4263
- Checked = event()
4264
- Unchecked = event()
4265
- Indeterminate = event()
4264
+ Checked = event(add_Checked, remove_Checked)
4265
+ Indeterminate = event(add_Indeterminate, remove_Indeterminate)
4266
+ Unchecked = event(add_Unchecked, remove_Unchecked)
4266
4267
  class IToggleButtonFactory(ComPtr):
4267
4268
  extends: IInspectable
4268
4269
  _classid_ = 'Microsoft.UI.Xaml.Controls.Primitives.IToggleButtonFactory'
@@ -4437,9 +4438,9 @@ class JumpListItemBackgroundConverter(ComPtr, metaclass=_JumpListItemBackgroundC
4437
4438
  @winrt_mixinmethod
4438
4439
  def put_Disabled(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.IJumpListItemBackgroundConverter, value: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
4439
4440
  @winrt_mixinmethod
4440
- def Convert(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: WinRT_String) -> IInspectable: ...
4441
+ def Convert(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: hstr) -> IInspectable: ...
4441
4442
  @winrt_mixinmethod
4442
- def ConvertBack(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: WinRT_String) -> IInspectable: ...
4443
+ def ConvertBack(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: hstr) -> IInspectable: ...
4443
4444
  @winrt_classmethod
4444
4445
  def get_EnabledProperty(cls: win32more.Microsoft.UI.Xaml.Controls.Primitives.IJumpListItemBackgroundConverterStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
4445
4446
  @winrt_classmethod
@@ -4472,9 +4473,9 @@ class JumpListItemForegroundConverter(ComPtr, metaclass=_JumpListItemForegroundC
4472
4473
  @winrt_mixinmethod
4473
4474
  def put_Disabled(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.IJumpListItemForegroundConverter, value: win32more.Microsoft.UI.Xaml.Media.Brush) -> Void: ...
4474
4475
  @winrt_mixinmethod
4475
- def Convert(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: WinRT_String) -> IInspectable: ...
4476
+ def Convert(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: hstr) -> IInspectable: ...
4476
4477
  @winrt_mixinmethod
4477
- def ConvertBack(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: WinRT_String) -> IInspectable: ...
4478
+ def ConvertBack(self: win32more.Microsoft.UI.Xaml.Data.IValueConverter, value: IInspectable, targetType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, language: hstr) -> IInspectable: ...
4478
4479
  @winrt_classmethod
4479
4480
  def get_EnabledProperty(cls: win32more.Microsoft.UI.Xaml.Controls.Primitives.IJumpListItemForegroundConverterStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
4480
4481
  @winrt_classmethod
@@ -5059,7 +5060,7 @@ class LoopingSelector(ComPtr, metaclass=_LoopingSelector_Meta_):
5059
5060
  _LoopingSelector_Meta_.SelectedIndexProperty = property(get_SelectedIndexProperty, None)
5060
5061
  _LoopingSelector_Meta_.SelectedItemProperty = property(get_SelectedItemProperty, None)
5061
5062
  _LoopingSelector_Meta_.ShouldLoopProperty = property(get_ShouldLoopProperty, None)
5062
- SelectionChanged = event()
5063
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
5063
5064
  class LoopingSelectorItem(ComPtr):
5064
5065
  extends: win32more.Microsoft.UI.Xaml.Controls.ContentControl
5065
5066
  default_interface: win32more.Microsoft.UI.Xaml.Controls.Primitives.ILoopingSelectorItem
@@ -5086,8 +5087,8 @@ class LoopingSelectorPanel(ComPtr):
5086
5087
  def GetRegularSnapPoints(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.IScrollSnapPointsInfo, orientation: win32more.Microsoft.UI.Xaml.Controls.Orientation, alignment: win32more.Microsoft.UI.Xaml.Controls.Primitives.SnapPointsAlignment, offset: POINTER(Single)) -> Single: ...
5087
5088
  AreHorizontalSnapPointsRegular = property(get_AreHorizontalSnapPointsRegular, None)
5088
5089
  AreVerticalSnapPointsRegular = property(get_AreVerticalSnapPointsRegular, None)
5089
- HorizontalSnapPointsChanged = event()
5090
- VerticalSnapPointsChanged = event()
5090
+ HorizontalSnapPointsChanged = event(add_HorizontalSnapPointsChanged, remove_HorizontalSnapPointsChanged)
5091
+ VerticalSnapPointsChanged = event(add_VerticalSnapPointsChanged, remove_VerticalSnapPointsChanged)
5091
5092
  class MenuFlyoutItemTemplateSettings(ComPtr):
5092
5093
  extends: win32more.Microsoft.UI.Xaml.DependencyObject
5093
5094
  default_interface: win32more.Microsoft.UI.Xaml.Controls.Primitives.IMenuFlyoutItemTemplateSettings
@@ -5284,8 +5285,8 @@ class OrientedVirtualizingPanel(ComPtr):
5284
5285
  VerticalOffset = property(get_VerticalOffset, None)
5285
5286
  ViewportHeight = property(get_ViewportHeight, None)
5286
5287
  ViewportWidth = property(get_ViewportWidth, None)
5287
- HorizontalSnapPointsChanged = event()
5288
- VerticalSnapPointsChanged = event()
5288
+ HorizontalSnapPointsChanged = event(add_HorizontalSnapPointsChanged, remove_HorizontalSnapPointsChanged)
5289
+ VerticalSnapPointsChanged = event(add_VerticalSnapPointsChanged, remove_VerticalSnapPointsChanged)
5289
5290
  class _PickerFlyoutBase_Meta_(ComPtr.__class__):
5290
5291
  pass
5291
5292
  class PickerFlyoutBase(ComPtr, metaclass=_PickerFlyoutBase_Meta_):
@@ -5308,9 +5309,9 @@ class PickerFlyoutBase(ComPtr, metaclass=_PickerFlyoutBase_Meta_):
5308
5309
  @winrt_classmethod
5309
5310
  def get_TitleProperty(cls: win32more.Microsoft.UI.Xaml.Controls.Primitives.IPickerFlyoutBaseStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
5310
5311
  @winrt_classmethod
5311
- def GetTitle(cls: win32more.Microsoft.UI.Xaml.Controls.Primitives.IPickerFlyoutBaseStatics, element: win32more.Microsoft.UI.Xaml.DependencyObject) -> WinRT_String: ...
5312
+ def GetTitle(cls: win32more.Microsoft.UI.Xaml.Controls.Primitives.IPickerFlyoutBaseStatics, element: win32more.Microsoft.UI.Xaml.DependencyObject) -> hstr: ...
5312
5313
  @winrt_classmethod
5313
- def SetTitle(cls: win32more.Microsoft.UI.Xaml.Controls.Primitives.IPickerFlyoutBaseStatics, element: win32more.Microsoft.UI.Xaml.DependencyObject, value: WinRT_String) -> Void: ...
5314
+ def SetTitle(cls: win32more.Microsoft.UI.Xaml.Controls.Primitives.IPickerFlyoutBaseStatics, element: win32more.Microsoft.UI.Xaml.DependencyObject, value: hstr) -> Void: ...
5314
5315
  _PickerFlyoutBase_Meta_.TitleProperty = property(get_TitleProperty, None)
5315
5316
  class PivotHeaderItem(ComPtr):
5316
5317
  extends: win32more.Microsoft.UI.Xaml.Controls.ContentControl
@@ -5369,8 +5370,8 @@ class PivotPanel(ComPtr):
5369
5370
  def GetRegularSnapPoints(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.IScrollSnapPointsInfo, orientation: win32more.Microsoft.UI.Xaml.Controls.Orientation, alignment: win32more.Microsoft.UI.Xaml.Controls.Primitives.SnapPointsAlignment, offset: POINTER(Single)) -> Single: ...
5370
5371
  AreHorizontalSnapPointsRegular = property(get_AreHorizontalSnapPointsRegular, None)
5371
5372
  AreVerticalSnapPointsRegular = property(get_AreVerticalSnapPointsRegular, None)
5372
- HorizontalSnapPointsChanged = event()
5373
- VerticalSnapPointsChanged = event()
5373
+ HorizontalSnapPointsChanged = event(add_HorizontalSnapPointsChanged, remove_HorizontalSnapPointsChanged)
5374
+ VerticalSnapPointsChanged = event(add_VerticalSnapPointsChanged, remove_VerticalSnapPointsChanged)
5374
5375
  class PlacementMode(Enum, Int32):
5375
5376
  Bottom = 2
5376
5377
  Left = 9
@@ -5498,9 +5499,9 @@ class Popup(ComPtr, metaclass=_Popup_Meta_):
5498
5499
  _Popup_Meta_.ShouldConstrainToRootBoundsProperty = property(get_ShouldConstrainToRootBoundsProperty, None)
5499
5500
  _Popup_Meta_.SystemBackdropProperty = property(get_SystemBackdropProperty, None)
5500
5501
  _Popup_Meta_.VerticalOffsetProperty = property(get_VerticalOffsetProperty, None)
5501
- Opened = event()
5502
- Closed = event()
5503
- ActualPlacementChanged = event()
5502
+ ActualPlacementChanged = event(add_ActualPlacementChanged, remove_ActualPlacementChanged)
5503
+ Closed = event(add_Closed, remove_Closed)
5504
+ Opened = event(add_Opened, remove_Opened)
5504
5505
  class PopupPlacementMode(Enum, Int32):
5505
5506
  Auto = 0
5506
5507
  Top = 1
@@ -5580,7 +5581,7 @@ class RangeBase(ComPtr, metaclass=_RangeBase_Meta_):
5580
5581
  _RangeBase_Meta_.MinimumProperty = property(get_MinimumProperty, None)
5581
5582
  _RangeBase_Meta_.SmallChangeProperty = property(get_SmallChangeProperty, None)
5582
5583
  _RangeBase_Meta_.ValueProperty = property(get_ValueProperty, None)
5583
- ValueChanged = event()
5584
+ ValueChanged = event(add_ValueChanged, remove_ValueChanged)
5584
5585
  class RangeBaseValueChangedEventArgs(ComPtr):
5585
5586
  extends: win32more.Microsoft.UI.Xaml.RoutedEventArgs
5586
5587
  default_interface: win32more.Microsoft.UI.Xaml.Controls.Primitives.IRangeBaseValueChangedEventArgs
@@ -5720,7 +5721,7 @@ class ScrollBar(ComPtr, metaclass=_ScrollBar_Meta_):
5720
5721
  _ScrollBar_Meta_.IndicatorModeProperty = property(get_IndicatorModeProperty, None)
5721
5722
  _ScrollBar_Meta_.OrientationProperty = property(get_OrientationProperty, None)
5722
5723
  _ScrollBar_Meta_.ViewportSizeProperty = property(get_ViewportSizeProperty, None)
5723
- Scroll = event()
5724
+ Scroll = event(add_Scroll, remove_Scroll)
5724
5725
  class ScrollControllerAddScrollVelocityRequestedEventArgs(ComPtr):
5725
5726
  extends: IInspectable
5726
5727
  default_interface: win32more.Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerAddScrollVelocityRequestedEventArgs
@@ -6118,15 +6119,15 @@ class ScrollPresenter(ComPtr, metaclass=_ScrollPresenter_Meta_):
6118
6119
  _ScrollPresenter_Meta_.VerticalScrollRailModeProperty = property(get_VerticalScrollRailModeProperty, None)
6119
6120
  _ScrollPresenter_Meta_.ZoomChainModeProperty = property(get_ZoomChainModeProperty, None)
6120
6121
  _ScrollPresenter_Meta_.ZoomModeProperty = property(get_ZoomModeProperty, None)
6121
- ExtentChanged = event()
6122
- StateChanged = event()
6123
- ViewChanged = event()
6124
- ScrollAnimationStarting = event()
6125
- ZoomAnimationStarting = event()
6126
- ScrollCompleted = event()
6127
- ZoomCompleted = event()
6128
- BringingIntoView = event()
6129
- AnchorRequested = event()
6122
+ AnchorRequested = event(add_AnchorRequested, remove_AnchorRequested)
6123
+ BringingIntoView = event(add_BringingIntoView, remove_BringingIntoView)
6124
+ ExtentChanged = event(add_ExtentChanged, remove_ExtentChanged)
6125
+ ScrollAnimationStarting = event(add_ScrollAnimationStarting, remove_ScrollAnimationStarting)
6126
+ ScrollCompleted = event(add_ScrollCompleted, remove_ScrollCompleted)
6127
+ StateChanged = event(add_StateChanged, remove_StateChanged)
6128
+ ViewChanged = event(add_ViewChanged, remove_ViewChanged)
6129
+ ZoomAnimationStarting = event(add_ZoomAnimationStarting, remove_ZoomAnimationStarting)
6130
+ ZoomCompleted = event(add_ZoomCompleted, remove_ZoomCompleted)
6130
6131
  class ScrollSnapPoint(ComPtr):
6131
6132
  extends: win32more.Microsoft.UI.Xaml.Controls.Primitives.ScrollSnapPointBase
6132
6133
  default_interface: win32more.Microsoft.UI.Xaml.Controls.Primitives.IScrollSnapPoint
@@ -6177,9 +6178,9 @@ class Selector(ComPtr, metaclass=_Selector_Meta_):
6177
6178
  @winrt_mixinmethod
6178
6179
  def put_SelectedValue(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ISelector, value: IInspectable) -> Void: ...
6179
6180
  @winrt_mixinmethod
6180
- def get_SelectedValuePath(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ISelector) -> WinRT_String: ...
6181
+ def get_SelectedValuePath(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ISelector) -> hstr: ...
6181
6182
  @winrt_mixinmethod
6182
- def put_SelectedValuePath(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ISelector, value: WinRT_String) -> Void: ...
6183
+ def put_SelectedValuePath(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ISelector, value: hstr) -> Void: ...
6183
6184
  @winrt_mixinmethod
6184
6185
  def get_IsSynchronizedWithCurrentItem(self: win32more.Microsoft.UI.Xaml.Controls.Primitives.ISelector) -> win32more.Windows.Foundation.IReference[Boolean]: ...
6185
6186
  @winrt_mixinmethod
@@ -6210,7 +6211,7 @@ class Selector(ComPtr, metaclass=_Selector_Meta_):
6210
6211
  _Selector_Meta_.SelectedItemProperty = property(get_SelectedItemProperty, None)
6211
6212
  _Selector_Meta_.SelectedValuePathProperty = property(get_SelectedValuePathProperty, None)
6212
6213
  _Selector_Meta_.SelectedValueProperty = property(get_SelectedValueProperty, None)
6213
- SelectionChanged = event()
6214
+ SelectionChanged = event(add_SelectionChanged, remove_SelectionChanged)
6214
6215
  class _SelectorItem_Meta_(ComPtr.__class__):
6215
6216
  pass
6216
6217
  class SelectorItem(ComPtr, metaclass=_SelectorItem_Meta_):
@@ -6315,9 +6316,9 @@ class Thumb(ComPtr, metaclass=_Thumb_Meta_):
6315
6316
  def get_IsDraggingProperty(cls: win32more.Microsoft.UI.Xaml.Controls.Primitives.IThumbStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
6316
6317
  IsDragging = property(get_IsDragging, None)
6317
6318
  _Thumb_Meta_.IsDraggingProperty = property(get_IsDraggingProperty, None)
6318
- DragStarted = event()
6319
- DragDelta = event()
6320
- DragCompleted = event()
6319
+ DragCompleted = event(add_DragCompleted, remove_DragCompleted)
6320
+ DragDelta = event(add_DragDelta, remove_DragDelta)
6321
+ DragStarted = event(add_DragStarted, remove_DragStarted)
6321
6322
  class _TickBar_Meta_(ComPtr.__class__):
6322
6323
  pass
6323
6324
  class TickBar(ComPtr, metaclass=_TickBar_Meta_):
@@ -6392,9 +6393,9 @@ class ToggleButton(ComPtr, metaclass=_ToggleButton_Meta_):
6392
6393
  IsThreeState = property(get_IsThreeState, put_IsThreeState)
6393
6394
  _ToggleButton_Meta_.IsCheckedProperty = property(get_IsCheckedProperty, None)
6394
6395
  _ToggleButton_Meta_.IsThreeStateProperty = property(get_IsThreeStateProperty, None)
6395
- Checked = event()
6396
- Unchecked = event()
6397
- Indeterminate = event()
6396
+ Checked = event(add_Checked, remove_Checked)
6397
+ Indeterminate = event(add_Indeterminate, remove_Indeterminate)
6398
+ Unchecked = event(add_Unchecked, remove_Unchecked)
6398
6399
  class ToggleSwitchTemplateSettings(ComPtr):
6399
6400
  extends: win32more.Microsoft.UI.Xaml.DependencyObject
6400
6401
  default_interface: win32more.Microsoft.UI.Xaml.Controls.Primitives.IToggleSwitchTemplateSettings