winui-svelte 0.0.1 → 0.0.2

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 (170) hide show
  1. package/README.md +5 -1
  2. package/dist/bindings/.dynwinrt-js-types +1333 -51
  3. package/dist/bindings/.dynwinrt-managed +1 -1
  4. package/dist/bindings/index.d.ts +95 -1
  5. package/dist/bindings/index.js +146 -2
  6. package/dist/bindings/index.mjs +4437 -4293
  7. package/dist/bindings/index.proxy.js +73 -1
  8. package/dist/components/generated/controls/AnimatedVisualPlayer.svelte.d.ts +2 -0
  9. package/dist/components/generated/controls/AnimatedVisualPlayer.svelte.d.ts.map +1 -1
  10. package/dist/components/generated/controls/AnimatedVisualPlayer.svelte.js.map +1 -1
  11. package/dist/components/generated/controls/Block.svelte.d.ts +6 -0
  12. package/dist/components/generated/controls/Block.svelte.d.ts.map +1 -1
  13. package/dist/components/generated/controls/Block.svelte.js.map +1 -1
  14. package/dist/components/generated/controls/Border.svelte.d.ts +6 -0
  15. package/dist/components/generated/controls/Border.svelte.d.ts.map +1 -1
  16. package/dist/components/generated/controls/Border.svelte.js.map +1 -1
  17. package/dist/components/generated/controls/ContentPresenter.svelte.d.ts +19 -1
  18. package/dist/components/generated/controls/ContentPresenter.svelte.d.ts.map +1 -1
  19. package/dist/components/generated/controls/ContentPresenter.svelte.js.map +1 -1
  20. package/dist/components/generated/controls/Control.svelte.d.ts +12 -0
  21. package/dist/components/generated/controls/Control.svelte.d.ts.map +1 -1
  22. package/dist/components/generated/controls/Control.svelte.js.map +1 -1
  23. package/dist/components/generated/controls/EllipseGeometry.svelte.d.ts +4 -0
  24. package/dist/components/generated/controls/EllipseGeometry.svelte.d.ts.map +1 -1
  25. package/dist/components/generated/controls/EllipseGeometry.svelte.js.map +1 -1
  26. package/dist/components/generated/controls/FrameworkElement.svelte.d.ts +10 -0
  27. package/dist/components/generated/controls/FrameworkElement.svelte.d.ts.map +1 -1
  28. package/dist/components/generated/controls/FrameworkElement.svelte.js.map +1 -1
  29. package/dist/components/generated/controls/Glyphs.svelte.d.ts +2 -0
  30. package/dist/components/generated/controls/Glyphs.svelte.d.ts.map +1 -1
  31. package/dist/components/generated/controls/Glyphs.svelte.js.map +1 -1
  32. package/dist/components/generated/controls/Grid.svelte.d.ts +6 -0
  33. package/dist/components/generated/controls/Grid.svelte.d.ts.map +1 -1
  34. package/dist/components/generated/controls/Grid.svelte.js.map +1 -1
  35. package/dist/components/generated/controls/Hyperlink.svelte.d.ts +2 -0
  36. package/dist/components/generated/controls/Hyperlink.svelte.d.ts.map +1 -1
  37. package/dist/components/generated/controls/Hyperlink.svelte.js.map +1 -1
  38. package/dist/components/generated/controls/Image.svelte.d.ts +2 -0
  39. package/dist/components/generated/controls/Image.svelte.d.ts.map +1 -1
  40. package/dist/components/generated/controls/Image.svelte.js.map +1 -1
  41. package/dist/components/generated/controls/ItemsPresenter.svelte.d.ts +2 -0
  42. package/dist/components/generated/controls/ItemsPresenter.svelte.d.ts.map +1 -1
  43. package/dist/components/generated/controls/ItemsPresenter.svelte.js.map +1 -1
  44. package/dist/components/generated/controls/LinedFlowLayout.svelte.d.ts +2 -0
  45. package/dist/components/generated/controls/LinedFlowLayout.svelte.d.ts.map +1 -1
  46. package/dist/components/generated/controls/LinedFlowLayout.svelte.js.map +1 -1
  47. package/dist/components/generated/controls/MediaPlayerElement.svelte.d.ts +2 -0
  48. package/dist/components/generated/controls/MediaPlayerElement.svelte.d.ts.map +1 -1
  49. package/dist/components/generated/controls/MediaPlayerElement.svelte.js.map +1 -1
  50. package/dist/components/generated/controls/MediaPlayerPresenter.svelte.d.ts +2 -0
  51. package/dist/components/generated/controls/MediaPlayerPresenter.svelte.d.ts.map +1 -1
  52. package/dist/components/generated/controls/MediaPlayerPresenter.svelte.js.map +1 -1
  53. package/dist/components/generated/controls/RadialGradientBrush.svelte.d.ts +4 -0
  54. package/dist/components/generated/controls/RadialGradientBrush.svelte.d.ts.map +1 -1
  55. package/dist/components/generated/controls/RadialGradientBrush.svelte.js.map +1 -1
  56. package/dist/components/generated/controls/Rectangle.svelte.d.ts +4 -0
  57. package/dist/components/generated/controls/Rectangle.svelte.d.ts.map +1 -1
  58. package/dist/components/generated/controls/Rectangle.svelte.js.map +1 -1
  59. package/dist/components/generated/controls/RelativePanel.svelte.d.ts +6 -0
  60. package/dist/components/generated/controls/RelativePanel.svelte.d.ts.map +1 -1
  61. package/dist/components/generated/controls/RelativePanel.svelte.js.map +1 -1
  62. package/dist/components/generated/controls/RichEditBox.svelte.d.ts +1 -1
  63. package/dist/components/generated/controls/RichTextBlock.svelte.d.ts +14 -2
  64. package/dist/components/generated/controls/RichTextBlock.svelte.d.ts.map +1 -1
  65. package/dist/components/generated/controls/RichTextBlock.svelte.js.map +1 -1
  66. package/dist/components/generated/controls/RichTextBlockOverflow.svelte.d.ts +4 -0
  67. package/dist/components/generated/controls/RichTextBlockOverflow.svelte.d.ts.map +1 -1
  68. package/dist/components/generated/controls/RichTextBlockOverflow.svelte.js.map +1 -1
  69. package/dist/components/generated/controls/ScrollView.svelte.d.ts +4 -0
  70. package/dist/components/generated/controls/ScrollView.svelte.d.ts.map +1 -1
  71. package/dist/components/generated/controls/ScrollView.svelte.js.map +1 -1
  72. package/dist/components/generated/controls/ScrollViewer.svelte.d.ts +4 -0
  73. package/dist/components/generated/controls/ScrollViewer.svelte.d.ts.map +1 -1
  74. package/dist/components/generated/controls/ScrollViewer.svelte.js.map +1 -1
  75. package/dist/components/generated/controls/Shape.svelte.d.ts +10 -0
  76. package/dist/components/generated/controls/Shape.svelte.d.ts.map +1 -1
  77. package/dist/components/generated/controls/Shape.svelte.js.map +1 -1
  78. package/dist/components/generated/controls/StackPanel.svelte.d.ts +6 -0
  79. package/dist/components/generated/controls/StackPanel.svelte.d.ts.map +1 -1
  80. package/dist/components/generated/controls/StackPanel.svelte.js.map +1 -1
  81. package/dist/components/generated/controls/TextBlock.svelte.d.ts +14 -2
  82. package/dist/components/generated/controls/TextBlock.svelte.d.ts.map +1 -1
  83. package/dist/components/generated/controls/TextBlock.svelte.js.map +1 -1
  84. package/dist/components/generated/controls/TextBox.svelte.d.ts +1 -1
  85. package/dist/components/generated/controls/TextElement.svelte.d.ts +3 -1
  86. package/dist/components/generated/controls/TextElement.svelte.d.ts.map +1 -1
  87. package/dist/components/generated/controls/TextElement.svelte.js.map +1 -1
  88. package/dist/components/generated/controls/TickBar.svelte.d.ts +2 -0
  89. package/dist/components/generated/controls/TickBar.svelte.d.ts.map +1 -1
  90. package/dist/components/generated/controls/TickBar.svelte.js.map +1 -1
  91. package/dist/components/generated/controls/TileBrush.svelte.d.ts +2 -0
  92. package/dist/components/generated/controls/TileBrush.svelte.d.ts.map +1 -1
  93. package/dist/components/generated/controls/TileBrush.svelte.js.map +1 -1
  94. package/dist/components/generated/controls/UIElement.svelte.d.ts +7 -1
  95. package/dist/components/generated/controls/UIElement.svelte.d.ts.map +1 -1
  96. package/dist/components/generated/controls/UIElement.svelte.js.map +1 -1
  97. package/dist/components/generated/controls/Viewbox.svelte.d.ts +2 -0
  98. package/dist/components/generated/controls/Viewbox.svelte.d.ts.map +1 -1
  99. package/dist/components/generated/controls/Viewbox.svelte.js.map +1 -1
  100. package/dist/css/control.d.ts +2 -0
  101. package/dist/css/control.d.ts.map +1 -0
  102. package/dist/css/control.js +5 -0
  103. package/dist/css/control.js.map +1 -0
  104. package/dist/css/shape.d.ts +2 -0
  105. package/dist/css/shape.d.ts.map +1 -0
  106. package/dist/css/shape.js +5 -0
  107. package/dist/css/shape.js.map +1 -0
  108. package/dist/css/translate/lazy-groups.d.ts.map +1 -1
  109. package/dist/css/translate/lazy-groups.js +14 -0
  110. package/dist/css/translate/lazy-groups.js.map +1 -1
  111. package/dist/css/translate/shape-properties.d.ts +24 -0
  112. package/dist/css/translate/shape-properties.d.ts.map +1 -0
  113. package/dist/css/translate/shape-properties.js +207 -0
  114. package/dist/css/translate/shape-properties.js.map +1 -0
  115. package/dist/css/translate/text-control-properties.d.ts +21 -0
  116. package/dist/css/translate/text-control-properties.d.ts.map +1 -0
  117. package/dist/css/translate/text-control-properties.js +120 -0
  118. package/dist/css/translate/text-control-properties.js.map +1 -0
  119. package/dist/css/translate/unsupported-properties.d.ts.map +1 -1
  120. package/dist/css/translate/unsupported-properties.js +2 -0
  121. package/dist/css/translate/unsupported-properties.js.map +1 -1
  122. package/dist/css/validate/vscode-css-data.json +370 -0
  123. package/dist/css/validate/vscode-data.d.ts +2 -1
  124. package/dist/css/validate/vscode-data.d.ts.map +1 -1
  125. package/dist/css/validate/vscode-data.js +31 -1
  126. package/dist/css/validate/vscode-data.js.map +1 -1
  127. package/package.json +9 -1
  128. package/src/components/generated/controls/AnimatedVisualPlayer.svelte.ts +2 -0
  129. package/src/components/generated/controls/Block.svelte.ts +6 -0
  130. package/src/components/generated/controls/Border.svelte.ts +6 -0
  131. package/src/components/generated/controls/ContentPresenter.svelte.ts +19 -1
  132. package/src/components/generated/controls/Control.svelte.ts +12 -0
  133. package/src/components/generated/controls/EllipseGeometry.svelte.ts +4 -0
  134. package/src/components/generated/controls/FrameworkElement.svelte.ts +10 -0
  135. package/src/components/generated/controls/Glyphs.svelte.ts +2 -0
  136. package/src/components/generated/controls/Grid.svelte.ts +6 -0
  137. package/src/components/generated/controls/Hyperlink.svelte.ts +2 -0
  138. package/src/components/generated/controls/Image.svelte.ts +2 -0
  139. package/src/components/generated/controls/ItemsPresenter.svelte.ts +2 -0
  140. package/src/components/generated/controls/LinedFlowLayout.svelte.ts +2 -0
  141. package/src/components/generated/controls/MediaPlayerElement.svelte.ts +2 -0
  142. package/src/components/generated/controls/MediaPlayerPresenter.svelte.ts +2 -0
  143. package/src/components/generated/controls/RadialGradientBrush.svelte.ts +4 -0
  144. package/src/components/generated/controls/Rectangle.svelte.ts +4 -0
  145. package/src/components/generated/controls/RelativePanel.svelte.ts +6 -0
  146. package/src/components/generated/controls/RichEditBox.svelte.ts +1 -1
  147. package/src/components/generated/controls/RichTextBlock.svelte.ts +14 -2
  148. package/src/components/generated/controls/RichTextBlockOverflow.svelte.ts +4 -0
  149. package/src/components/generated/controls/ScrollView.svelte.ts +4 -0
  150. package/src/components/generated/controls/ScrollViewer.svelte.ts +4 -0
  151. package/src/components/generated/controls/Shape.svelte.ts +10 -0
  152. package/src/components/generated/controls/StackPanel.svelte.ts +6 -0
  153. package/src/components/generated/controls/TextBlock.svelte.ts +14 -2
  154. package/src/components/generated/controls/TextBox.svelte.ts +1 -1
  155. package/src/components/generated/controls/TextElement.svelte.ts +3 -1
  156. package/src/components/generated/controls/TickBar.svelte.ts +2 -0
  157. package/src/components/generated/controls/TileBrush.svelte.ts +2 -0
  158. package/src/components/generated/controls/UIElement.svelte.ts +7 -1
  159. package/src/components/generated/controls/Viewbox.svelte.ts +2 -0
  160. package/src/css/API.md +32 -0
  161. package/src/css/control.ts +5 -0
  162. package/src/css/shape.ts +5 -0
  163. package/src/css/translate/lazy-groups.ts +14 -0
  164. package/src/css/translate/shape-properties.ts +250 -0
  165. package/src/css/translate/text-control-properties.ts +135 -0
  166. package/src/css/translate/unsupported-properties.ts +2 -0
  167. package/src/css/validate/vscode-data.ts +38 -1
  168. package/web-types.json +460 -90
  169. package/dist/bindings/microsoft/ui/xaml/controls/SwapChainBackgroundPanel.d.ts +0 -731
  170. package/dist/bindings/microsoft/ui/xaml/controls/SwapChainBackgroundPanel.js +0 -2806
@@ -1,731 +0,0 @@
1
- // Generated by dynwinrt-codegen — do not edit
2
- import { DynWinRtType, DynWinRtValue, DynWinRtStruct, WinGuid } from '@microsoft/dynwinrt';
3
- import { IVectorView_MicrosoftUIXamlInputPointer_gb905b3837c323912 } from '../../../../windows/foundation/collections/IVectorView_MicrosoftUIXamlInputPointer_gb905b3837c323912.js';
4
- import { IVector_MicrosoftUIXamlInputKeyboardAccelerator_g16ccaaad1d7d00a6 } from '../../../../windows/foundation/collections/IVector_MicrosoftUIXamlInputKeyboardAccelerator_g16ccaaad1d7d00a6.js';
5
- import { IVector_MicrosoftUIXamlMediaXamlLight_g90b9e7560b44baec } from '../../../../windows/foundation/collections/IVector_MicrosoftUIXamlMediaXamlLight_g90b9e7560b44baec.js';
6
- import { CompositionAnimationPropertyInfo } from '../../composition/AnimationPropertyInfo.js';
7
- import { CompositionICompositionAnimationBase } from '../../composition/ICompositionAnimationBase.js';
8
- import { CompositionVisual } from '../../composition/Visual.js';
9
- import { DispatchingDispatcherQueue } from '../../dispatching/DispatcherQueue.js';
10
- import { InputCursor } from '../../input/InputCursor.js';
11
- import { InputPointerPoint } from '../../input/PointerPoint.js';
12
- import { BringIntoViewOptions } from '../BringIntoViewOptions.js';
13
- import { BringIntoViewRequestedEventArgs } from '../BringIntoViewRequestedEventArgs.js';
14
- import { BrushTransition } from '../BrushTransition.js';
15
- import { DataContextChangedEventArgs } from '../DataContextChangedEventArgs.js';
16
- import { DependencyObject } from '../DependencyObject.js';
17
- import { DependencyProperty } from '../DependencyProperty.js';
18
- import { DragStartingEventArgs } from '../DragStartingEventArgs.js';
19
- import { DropCompletedEventArgs } from '../DropCompletedEventArgs.js';
20
- import { EffectiveViewportChangedEventArgs } from '../EffectiveViewportChangedEventArgs.js';
21
- import { ElementHighContrastAdjustment } from '../ElementHighContrastAdjustment.js';
22
- import { ElementTheme } from '../ElementTheme.js';
23
- import { FlowDirection } from '../FlowDirection.js';
24
- import { FocusState } from '../FocusState.js';
25
- import { FrameworkElement } from '../FrameworkElement.js';
26
- import { HorizontalAlignment } from '../HorizontalAlignment.js';
27
- import { ResourceDictionary } from '../ResourceDictionary.js';
28
- import { RoutedEvent } from '../RoutedEvent.js';
29
- import { RoutedEventArgs } from '../RoutedEventArgs.js';
30
- import { ScalarTransition } from '../ScalarTransition.js';
31
- import { Style } from '../Style.js';
32
- import { TriggerCollection } from '../TriggerCollection.js';
33
- import { UIElement } from '../UIElement.js';
34
- import { Vector3Transition } from '../Vector3Transition.js';
35
- import { VerticalAlignment } from '../VerticalAlignment.js';
36
- import { Visibility } from '../Visibility.js';
37
- import { XamlRoot } from '../XamlRoot.js';
38
- import { BackgroundSizing } from './BackgroundSizing.js';
39
- import { ColumnDefinitionCollection } from './ColumnDefinitionCollection.js';
40
- import { RowDefinitionCollection } from './RowDefinitionCollection.js';
41
- import { UIElementCollection } from './UIElementCollection.js';
42
- import { FlyoutBase } from './primitives/FlyoutBase.js';
43
- import { BindingBase } from '../data/BindingBase.js';
44
- import { BindingExpression } from '../data/BindingExpression.js';
45
- import { AccessKeyDisplayDismissedEventArgs } from '../input/AccessKeyDisplayDismissedEventArgs.js';
46
- import { AccessKeyDisplayRequestedEventArgs } from '../input/AccessKeyDisplayRequestedEventArgs.js';
47
- import { AccessKeyInvokedEventArgs } from '../input/AccessKeyInvokedEventArgs.js';
48
- import { CharacterReceivedRoutedEventArgs } from '../input/CharacterReceivedRoutedEventArgs.js';
49
- import { ContextRequestedEventArgs } from '../input/ContextRequestedEventArgs.js';
50
- import { GettingFocusEventArgs } from '../input/GettingFocusEventArgs.js';
51
- import { KeyTipPlacementMode } from '../input/KeyTipPlacementMode.js';
52
- import { KeyboardAcceleratorPlacementMode } from '../input/KeyboardAcceleratorPlacementMode.js';
53
- import { KeyboardNavigationMode } from '../input/KeyboardNavigationMode.js';
54
- import { LosingFocusEventArgs } from '../input/LosingFocusEventArgs.js';
55
- import { ManipulationModes } from '../input/ManipulationModes.js';
56
- import { NoFocusCandidateFoundEventArgs } from '../input/NoFocusCandidateFoundEventArgs.js';
57
- import { Pointer } from '../input/Pointer.js';
58
- import { ProcessKeyboardAcceleratorEventArgs } from '../input/ProcessKeyboardAcceleratorEventArgs.js';
59
- import { XYFocusKeyboardNavigationMode } from '../input/XYFocusKeyboardNavigationMode.js';
60
- import { XYFocusNavigationStrategy } from '../input/XYFocusNavigationStrategy.js';
61
- import { Brush } from '../media/Brush.js';
62
- import { CacheMode } from '../media/CacheMode.js';
63
- import { ElementCompositeMode } from '../media/ElementCompositeMode.js';
64
- import { GeneralTransform } from '../media/GeneralTransform.js';
65
- import { Projection } from '../media/Projection.js';
66
- import { RectangleGeometry } from '../media/RectangleGeometry.js';
67
- import { Shadow } from '../media/Shadow.js';
68
- import { Transform } from '../media/Transform.js';
69
- import { TransitionCollection } from '../media/animation/TransitionCollection.js';
70
- import { Transform3D } from '../media/media3-d/Transform3D.js';
71
- import { DataPackageOperation } from '../../../../windows/application-model/data-transfer/DataPackageOperation.js';
72
- import { Uri } from '../../../../windows/foundation/Uri.js';
73
- import { CoreDispatcher } from '../../../../windows/ui/core/CoreDispatcher.js';
74
-
75
- export interface Thickness {
76
- left: number;
77
- top: number;
78
- right: number;
79
- bottom: number;
80
- }
81
- /** Convert a WinRT struct value into a `Thickness` object. */
82
- export declare function unpackThickness(v: DynWinRtValue): Thickness;
83
- export declare const Thickness_Type: DynWinRtType;
84
- /** Convert a `Thickness` object into a WinRT struct value. */
85
- export declare function packThickness(v: Thickness): DynWinRtStruct;
86
-
87
- export interface CornerRadius {
88
- topLeft: number;
89
- topRight: number;
90
- bottomRight: number;
91
- bottomLeft: number;
92
- }
93
- /** Convert a WinRT struct value into a `CornerRadius` object. */
94
- export declare function unpackCornerRadius(v: DynWinRtValue): CornerRadius;
95
- export declare const CornerRadius_Type: DynWinRtType;
96
- /** Convert a `CornerRadius` object into a WinRT struct value. */
97
- export declare function packCornerRadius(v: CornerRadius): DynWinRtStruct;
98
-
99
- export interface EventRegistrationToken {
100
- value: bigint;
101
- }
102
- /** Convert a WinRT struct value into a `EventRegistrationToken` object. */
103
- export declare function unpackEventRegistrationToken(v: DynWinRtValue): EventRegistrationToken;
104
- export declare const EventRegistrationToken_Type: DynWinRtType;
105
- /** Convert a `EventRegistrationToken` object into a WinRT struct value. */
106
- export declare function packEventRegistrationToken(v: EventRegistrationToken): DynWinRtStruct;
107
-
108
- export interface Size {
109
- width: number;
110
- height: number;
111
- }
112
- /** Convert a WinRT struct value into a `Size` object. */
113
- export declare function unpackSize(v: DynWinRtValue): Size;
114
- export declare const Size_Type: DynWinRtType;
115
- /** Convert a `Size` object into a WinRT struct value. */
116
- export declare function packSize(v: Size): DynWinRtStruct;
117
-
118
- export interface Point {
119
- x: number;
120
- y: number;
121
- }
122
- /** Convert a WinRT struct value into a `Point` object. */
123
- export declare function unpackPoint(v: DynWinRtValue): Point;
124
- export declare const Point_Type: DynWinRtType;
125
- /** Convert a `Point` object into a WinRT struct value. */
126
- export declare function packPoint(v: Point): DynWinRtStruct;
127
-
128
- export interface Vector3 {
129
- x: number;
130
- y: number;
131
- z: number;
132
- }
133
- /** Convert a WinRT struct value into a `Vector3` object. */
134
- export declare function unpackVector3(v: DynWinRtValue): Vector3;
135
- export declare const Vector3_Type: DynWinRtType;
136
- /** Convert a `Vector3` object into a WinRT struct value. */
137
- export declare function packVector3(v: Vector3): DynWinRtStruct;
138
-
139
- export interface Matrix4x4 {
140
- m11: number;
141
- m12: number;
142
- m13: number;
143
- m14: number;
144
- m21: number;
145
- m22: number;
146
- m23: number;
147
- m24: number;
148
- m31: number;
149
- m32: number;
150
- m33: number;
151
- m34: number;
152
- m41: number;
153
- m42: number;
154
- m43: number;
155
- m44: number;
156
- }
157
- /** Convert a WinRT struct value into a `Matrix4x4` object. */
158
- export declare function unpackMatrix4x4(v: DynWinRtValue): Matrix4x4;
159
- export declare const Matrix4x4_Type: DynWinRtType;
160
- /** Convert a `Matrix4x4` object into a WinRT struct value. */
161
- export declare function packMatrix4x4(v: Matrix4x4): DynWinRtStruct;
162
-
163
- export interface Vector2 {
164
- x: number;
165
- y: number;
166
- }
167
- /** Convert a WinRT struct value into a `Vector2` object. */
168
- export declare function unpackVector2(v: DynWinRtValue): Vector2;
169
- export declare const Vector2_Type: DynWinRtType;
170
- /** Convert a `Vector2` object into a WinRT struct value. */
171
- export declare function packVector2(v: Vector2): DynWinRtStruct;
172
-
173
- export interface Rect {
174
- x: number;
175
- y: number;
176
- width: number;
177
- height: number;
178
- }
179
- /** Convert a WinRT struct value into a `Rect` object. */
180
- export declare function unpackRect(v: DynWinRtValue): Rect;
181
- export declare const Rect_Type: DynWinRtType;
182
- /** Convert a `Rect` object into a WinRT struct value. */
183
- export declare function packRect(v: Rect): DynWinRtStruct;
184
-
185
- export declare const IID_SwapChainBackgroundPanel: WinGuid;
186
- /**
187
- * Implements a XAML layout surface target for Microsoft DirectX interoperation scenarios. This panel has some atypical restrictions on its usage within an app window; see Remarks. > [!IMPORTANT] > SwapChainBackgroundPanel may be altered or unavailable for releases after Windows 8.1 Instead, use SwapChainPanel.
188
- */
189
- export declare class SwapChainBackgroundPanel {
190
- constructor();
191
- static createInstance(baseInterface: unknown): SwapChainBackgroundPanel;
192
- /** Cast this object to another WinRT interface. */
193
- as<T>(InterfaceClass: { from(obj: any): T }): T;
194
- get rowDefinitions(): RowDefinitionCollection;
195
- get columnDefinitions(): ColumnDefinitionCollection;
196
- get backgroundSizing(): BackgroundSizing;
197
- set backgroundSizing(value: BackgroundSizing);
198
- get borderBrush(): Brush;
199
- set borderBrush(value: Brush);
200
- get borderThickness(): Thickness;
201
- set borderThickness(value: Thickness);
202
- get cornerRadius(): CornerRadius;
203
- set cornerRadius(value: CornerRadius);
204
- get padding(): Thickness;
205
- set padding(value: Thickness);
206
- get rowSpacing(): number;
207
- set rowSpacing(value: number);
208
- get columnSpacing(): number;
209
- set columnSpacing(value: number);
210
- get children(): UIElementCollection;
211
- get background(): Brush;
212
- set background(value: Brush);
213
- get isItemsHost(): boolean;
214
- get childrenTransitions(): TransitionCollection;
215
- set childrenTransitions(value: TransitionCollection);
216
- get backgroundTransition(): BrushTransition;
217
- set backgroundTransition(value: BrushTransition);
218
- get triggers(): TriggerCollection;
219
- get resources(): ResourceDictionary;
220
- set resources(value: ResourceDictionary);
221
- get tag(): unknown;
222
- set tag(value: unknown);
223
- get language(): string;
224
- set language(value: string);
225
- get actualWidth(): number;
226
- get actualHeight(): number;
227
- get width(): number;
228
- set width(value: number);
229
- get height(): number;
230
- set height(value: number);
231
- get minWidth(): number;
232
- set minWidth(value: number);
233
- get maxWidth(): number;
234
- set maxWidth(value: number);
235
- get minHeight(): number;
236
- set minHeight(value: number);
237
- get maxHeight(): number;
238
- set maxHeight(value: number);
239
- get horizontalAlignment(): HorizontalAlignment;
240
- set horizontalAlignment(value: HorizontalAlignment);
241
- get verticalAlignment(): VerticalAlignment;
242
- set verticalAlignment(value: VerticalAlignment);
243
- get margin(): Thickness;
244
- set margin(value: Thickness);
245
- get name(): string;
246
- set name(value: string);
247
- get baseUri(): Uri;
248
- get dataContext(): unknown;
249
- set dataContext(value: unknown);
250
- get allowFocusOnInteraction(): boolean;
251
- set allowFocusOnInteraction(value: boolean);
252
- get focusVisualMargin(): Thickness;
253
- set focusVisualMargin(value: Thickness);
254
- get focusVisualSecondaryThickness(): Thickness;
255
- set focusVisualSecondaryThickness(value: Thickness);
256
- get focusVisualPrimaryThickness(): Thickness;
257
- set focusVisualPrimaryThickness(value: Thickness);
258
- get focusVisualSecondaryBrush(): Brush;
259
- set focusVisualSecondaryBrush(value: Brush);
260
- get focusVisualPrimaryBrush(): Brush;
261
- set focusVisualPrimaryBrush(value: Brush);
262
- get allowFocusWhenDisabled(): boolean;
263
- set allowFocusWhenDisabled(value: boolean);
264
- get style(): Style;
265
- set style(value: Style);
266
- get parent(): DependencyObject;
267
- get flowDirection(): FlowDirection;
268
- set flowDirection(value: FlowDirection);
269
- get requestedTheme(): ElementTheme;
270
- set requestedTheme(value: ElementTheme);
271
- get isLoaded(): boolean;
272
- get actualTheme(): ElementTheme;
273
- /** Register a handler for the `Loaded` event. Call the returned function to unsubscribe. */
274
- onLoaded(callback: (...args: unknown[]) => void): () => void;
275
- /** Like `onLoaded` but automatically unsubscribes after the first invocation. */
276
- onceLoaded(callback: (...args: unknown[]) => void): () => void;
277
- /** Unsubscribe from the `Loaded` event using a raw registration token. */
278
- offLoaded(token: unknown): void;
279
- /** Register a handler for the `Unloaded` event. Call the returned function to unsubscribe. */
280
- onUnloaded(callback: (...args: unknown[]) => void): () => void;
281
- /** Like `onUnloaded` but automatically unsubscribes after the first invocation. */
282
- onceUnloaded(callback: (...args: unknown[]) => void): () => void;
283
- /** Unsubscribe from the `Unloaded` event using a raw registration token. */
284
- offUnloaded(token: unknown): void;
285
- /** Register a handler for the `DataContextChanged` event. Call the returned function to unsubscribe. */
286
- onDataContextChanged(callback: (sender: FrameworkElement, args: DataContextChangedEventArgs) => void): () => void;
287
- /** Like `onDataContextChanged` but automatically unsubscribes after the first invocation. */
288
- onceDataContextChanged(callback: (sender: FrameworkElement, args: DataContextChangedEventArgs) => void): () => void;
289
- /** Unsubscribe from the `DataContextChanged` event using a raw registration token. */
290
- offDataContextChanged(token: unknown): void;
291
- /** Register a handler for the `SizeChanged` event. Call the returned function to unsubscribe. */
292
- onSizeChanged(callback: (...args: unknown[]) => void): () => void;
293
- /** Like `onSizeChanged` but automatically unsubscribes after the first invocation. */
294
- onceSizeChanged(callback: (...args: unknown[]) => void): () => void;
295
- /** Unsubscribe from the `SizeChanged` event using a raw registration token. */
296
- offSizeChanged(token: unknown): void;
297
- /** Register a handler for the `LayoutUpdated` event. Call the returned function to unsubscribe. */
298
- onLayoutUpdated(callback: (sender: unknown, args: unknown) => void): () => void;
299
- /** Like `onLayoutUpdated` but automatically unsubscribes after the first invocation. */
300
- onceLayoutUpdated(callback: (sender: unknown, args: unknown) => void): () => void;
301
- /** Unsubscribe from the `LayoutUpdated` event using a raw registration token. */
302
- offLayoutUpdated(token: unknown): void;
303
- /** Register a handler for the `Loading` event. Call the returned function to unsubscribe. */
304
- onLoading(callback: (sender: FrameworkElement, args: unknown) => void): () => void;
305
- /** Like `onLoading` but automatically unsubscribes after the first invocation. */
306
- onceLoading(callback: (sender: FrameworkElement, args: unknown) => void): () => void;
307
- /** Unsubscribe from the `Loading` event using a raw registration token. */
308
- offLoading(token: unknown): void;
309
- /** Register a handler for the `ActualThemeChanged` event. Call the returned function to unsubscribe. */
310
- onActualThemeChanged(callback: (sender: FrameworkElement, args: unknown) => void): () => void;
311
- /** Like `onActualThemeChanged` but automatically unsubscribes after the first invocation. */
312
- onceActualThemeChanged(callback: (sender: FrameworkElement, args: unknown) => void): () => void;
313
- /** Unsubscribe from the `ActualThemeChanged` event using a raw registration token. */
314
- offActualThemeChanged(token: unknown): void;
315
- /** Register a handler for the `EffectiveViewportChanged` event. Call the returned function to unsubscribe. */
316
- onEffectiveViewportChanged(callback: (sender: FrameworkElement, args: EffectiveViewportChangedEventArgs) => void): () => void;
317
- /** Like `onEffectiveViewportChanged` but automatically unsubscribes after the first invocation. */
318
- onceEffectiveViewportChanged(callback: (sender: FrameworkElement, args: EffectiveViewportChangedEventArgs) => void): () => void;
319
- /** Unsubscribe from the `EffectiveViewportChanged` event using a raw registration token. */
320
- offEffectiveViewportChanged(token: unknown): void;
321
- findName(name: string): unknown;
322
- setBinding(dp: DependencyProperty, binding: BindingBase): void;
323
- getBindingExpression(dp: DependencyProperty): BindingExpression;
324
- invalidateViewport(): void;
325
- get desiredSize(): Size;
326
- get allowDrop(): boolean;
327
- set allowDrop(value: boolean);
328
- get opacity(): number;
329
- set opacity(value: number);
330
- get clip(): RectangleGeometry;
331
- set clip(value: RectangleGeometry);
332
- get renderTransform(): Transform;
333
- set renderTransform(value: Transform);
334
- get projection(): Projection;
335
- set projection(value: Projection);
336
- get transform3D(): Transform3D;
337
- set transform3D(value: Transform3D);
338
- get renderTransformOrigin(): Point;
339
- set renderTransformOrigin(value: Point);
340
- get isHitTestVisible(): boolean;
341
- set isHitTestVisible(value: boolean);
342
- get visibility(): Visibility;
343
- set visibility(value: Visibility);
344
- get renderSize(): Size;
345
- get useLayoutRounding(): boolean;
346
- set useLayoutRounding(value: boolean);
347
- get transitions(): TransitionCollection;
348
- set transitions(value: TransitionCollection);
349
- get cacheMode(): CacheMode;
350
- set cacheMode(value: CacheMode);
351
- get isTapEnabled(): boolean;
352
- set isTapEnabled(value: boolean);
353
- get isDoubleTapEnabled(): boolean;
354
- set isDoubleTapEnabled(value: boolean);
355
- get canDrag(): boolean;
356
- set canDrag(value: boolean);
357
- get isRightTapEnabled(): boolean;
358
- set isRightTapEnabled(value: boolean);
359
- get isHoldingEnabled(): boolean;
360
- set isHoldingEnabled(value: boolean);
361
- get manipulationMode(): ManipulationModes;
362
- set manipulationMode(value: ManipulationModes);
363
- get pointerCaptures(): IVectorView_MicrosoftUIXamlInputPointer_gb905b3837c323912 | null;
364
- get contextFlyout(): FlyoutBase;
365
- set contextFlyout(value: FlyoutBase);
366
- get compositeMode(): ElementCompositeMode;
367
- set compositeMode(value: ElementCompositeMode);
368
- get lights(): IVector_MicrosoftUIXamlMediaXamlLight_g90b9e7560b44baec | null;
369
- get canBeScrollAnchor(): boolean;
370
- set canBeScrollAnchor(value: boolean);
371
- get exitDisplayModeOnAccessKeyInvoked(): boolean;
372
- set exitDisplayModeOnAccessKeyInvoked(value: boolean);
373
- get isAccessKeyScope(): boolean;
374
- set isAccessKeyScope(value: boolean);
375
- get accessKeyScopeOwner(): DependencyObject;
376
- set accessKeyScopeOwner(value: DependencyObject);
377
- get accessKey(): string;
378
- set accessKey(value: string);
379
- get keyTipPlacementMode(): KeyTipPlacementMode;
380
- set keyTipPlacementMode(value: KeyTipPlacementMode);
381
- get keyTipHorizontalOffset(): number;
382
- set keyTipHorizontalOffset(value: number);
383
- get keyTipVerticalOffset(): number;
384
- set keyTipVerticalOffset(value: number);
385
- get keyTipTarget(): DependencyObject;
386
- set keyTipTarget(value: DependencyObject);
387
- get xYFocusKeyboardNavigation(): XYFocusKeyboardNavigationMode;
388
- set xYFocusKeyboardNavigation(value: XYFocusKeyboardNavigationMode);
389
- get xYFocusUpNavigationStrategy(): XYFocusNavigationStrategy;
390
- set xYFocusUpNavigationStrategy(value: XYFocusNavigationStrategy);
391
- get xYFocusDownNavigationStrategy(): XYFocusNavigationStrategy;
392
- set xYFocusDownNavigationStrategy(value: XYFocusNavigationStrategy);
393
- get xYFocusLeftNavigationStrategy(): XYFocusNavigationStrategy;
394
- set xYFocusLeftNavigationStrategy(value: XYFocusNavigationStrategy);
395
- get xYFocusRightNavigationStrategy(): XYFocusNavigationStrategy;
396
- set xYFocusRightNavigationStrategy(value: XYFocusNavigationStrategy);
397
- get keyboardAccelerators(): IVector_MicrosoftUIXamlInputKeyboardAccelerator_g16ccaaad1d7d00a6 | null;
398
- get keyboardAcceleratorPlacementTarget(): DependencyObject;
399
- set keyboardAcceleratorPlacementTarget(value: DependencyObject);
400
- get keyboardAcceleratorPlacementMode(): KeyboardAcceleratorPlacementMode;
401
- set keyboardAcceleratorPlacementMode(value: KeyboardAcceleratorPlacementMode);
402
- get highContrastAdjustment(): ElementHighContrastAdjustment;
403
- set highContrastAdjustment(value: ElementHighContrastAdjustment);
404
- get tabFocusNavigation(): KeyboardNavigationMode;
405
- set tabFocusNavigation(value: KeyboardNavigationMode);
406
- get opacityTransition(): ScalarTransition;
407
- set opacityTransition(value: ScalarTransition);
408
- get translation(): Vector3;
409
- set translation(value: Vector3);
410
- get translationTransition(): Vector3Transition;
411
- set translationTransition(value: Vector3Transition);
412
- get rotation(): number;
413
- set rotation(value: number);
414
- get rotationTransition(): ScalarTransition;
415
- set rotationTransition(value: ScalarTransition);
416
- get scale(): Vector3;
417
- set scale(value: Vector3);
418
- get scaleTransition(): Vector3Transition;
419
- set scaleTransition(value: Vector3Transition);
420
- get transformMatrix(): Matrix4x4;
421
- set transformMatrix(value: Matrix4x4);
422
- get centerPoint(): Vector3;
423
- set centerPoint(value: Vector3);
424
- get rotationAxis(): Vector3;
425
- set rotationAxis(value: Vector3);
426
- get actualOffset(): Vector3;
427
- get actualSize(): Vector2;
428
- get xamlRoot(): XamlRoot;
429
- set xamlRoot(value: XamlRoot);
430
- get shadow(): Shadow;
431
- set shadow(value: Shadow);
432
- get rasterizationScale(): number;
433
- set rasterizationScale(value: number);
434
- get focusState(): FocusState;
435
- get useSystemFocusVisuals(): boolean;
436
- set useSystemFocusVisuals(value: boolean);
437
- get xYFocusLeft(): DependencyObject;
438
- set xYFocusLeft(value: DependencyObject);
439
- get xYFocusRight(): DependencyObject;
440
- set xYFocusRight(value: DependencyObject);
441
- get xYFocusUp(): DependencyObject;
442
- set xYFocusUp(value: DependencyObject);
443
- get xYFocusDown(): DependencyObject;
444
- set xYFocusDown(value: DependencyObject);
445
- get isTabStop(): boolean;
446
- set isTabStop(value: boolean);
447
- get tabIndex(): number;
448
- set tabIndex(value: number);
449
- /** Register a handler for the `KeyUp` event. Call the returned function to unsubscribe. */
450
- onKeyUp(callback: (...args: unknown[]) => void): () => void;
451
- /** Like `onKeyUp` but automatically unsubscribes after the first invocation. */
452
- onceKeyUp(callback: (...args: unknown[]) => void): () => void;
453
- /** Unsubscribe from the `KeyUp` event using a raw registration token. */
454
- offKeyUp(token: unknown): void;
455
- /** Register a handler for the `KeyDown` event. Call the returned function to unsubscribe. */
456
- onKeyDown(callback: (...args: unknown[]) => void): () => void;
457
- /** Like `onKeyDown` but automatically unsubscribes after the first invocation. */
458
- onceKeyDown(callback: (...args: unknown[]) => void): () => void;
459
- /** Unsubscribe from the `KeyDown` event using a raw registration token. */
460
- offKeyDown(token: unknown): void;
461
- /** Register a handler for the `GotFocus` event. Call the returned function to unsubscribe. */
462
- onGotFocus(callback: (...args: unknown[]) => void): () => void;
463
- /** Like `onGotFocus` but automatically unsubscribes after the first invocation. */
464
- onceGotFocus(callback: (...args: unknown[]) => void): () => void;
465
- /** Unsubscribe from the `GotFocus` event using a raw registration token. */
466
- offGotFocus(token: unknown): void;
467
- /** Register a handler for the `LostFocus` event. Call the returned function to unsubscribe. */
468
- onLostFocus(callback: (...args: unknown[]) => void): () => void;
469
- /** Like `onLostFocus` but automatically unsubscribes after the first invocation. */
470
- onceLostFocus(callback: (...args: unknown[]) => void): () => void;
471
- /** Unsubscribe from the `LostFocus` event using a raw registration token. */
472
- offLostFocus(token: unknown): void;
473
- /** Register a handler for the `DragStarting` event. Call the returned function to unsubscribe. */
474
- onDragStarting(callback: (sender: UIElement, args: DragStartingEventArgs) => void): () => void;
475
- /** Like `onDragStarting` but automatically unsubscribes after the first invocation. */
476
- onceDragStarting(callback: (sender: UIElement, args: DragStartingEventArgs) => void): () => void;
477
- /** Unsubscribe from the `DragStarting` event using a raw registration token. */
478
- offDragStarting(token: unknown): void;
479
- /** Register a handler for the `DropCompleted` event. Call the returned function to unsubscribe. */
480
- onDropCompleted(callback: (sender: UIElement, args: DropCompletedEventArgs) => void): () => void;
481
- /** Like `onDropCompleted` but automatically unsubscribes after the first invocation. */
482
- onceDropCompleted(callback: (sender: UIElement, args: DropCompletedEventArgs) => void): () => void;
483
- /** Unsubscribe from the `DropCompleted` event using a raw registration token. */
484
- offDropCompleted(token: unknown): void;
485
- /** Register a handler for the `CharacterReceived` event. Call the returned function to unsubscribe. */
486
- onCharacterReceived(callback: (sender: UIElement, args: CharacterReceivedRoutedEventArgs) => void): () => void;
487
- /** Like `onCharacterReceived` but automatically unsubscribes after the first invocation. */
488
- onceCharacterReceived(callback: (sender: UIElement, args: CharacterReceivedRoutedEventArgs) => void): () => void;
489
- /** Unsubscribe from the `CharacterReceived` event using a raw registration token. */
490
- offCharacterReceived(token: unknown): void;
491
- /** Register a handler for the `DragEnter` event. Call the returned function to unsubscribe. */
492
- onDragEnter(callback: (...args: unknown[]) => void): () => void;
493
- /** Like `onDragEnter` but automatically unsubscribes after the first invocation. */
494
- onceDragEnter(callback: (...args: unknown[]) => void): () => void;
495
- /** Unsubscribe from the `DragEnter` event using a raw registration token. */
496
- offDragEnter(token: unknown): void;
497
- /** Register a handler for the `DragLeave` event. Call the returned function to unsubscribe. */
498
- onDragLeave(callback: (...args: unknown[]) => void): () => void;
499
- /** Like `onDragLeave` but automatically unsubscribes after the first invocation. */
500
- onceDragLeave(callback: (...args: unknown[]) => void): () => void;
501
- /** Unsubscribe from the `DragLeave` event using a raw registration token. */
502
- offDragLeave(token: unknown): void;
503
- /** Register a handler for the `DragOver` event. Call the returned function to unsubscribe. */
504
- onDragOver(callback: (...args: unknown[]) => void): () => void;
505
- /** Like `onDragOver` but automatically unsubscribes after the first invocation. */
506
- onceDragOver(callback: (...args: unknown[]) => void): () => void;
507
- /** Unsubscribe from the `DragOver` event using a raw registration token. */
508
- offDragOver(token: unknown): void;
509
- /** Register a handler for the `Drop` event. Call the returned function to unsubscribe. */
510
- onDrop(callback: (...args: unknown[]) => void): () => void;
511
- /** Like `onDrop` but automatically unsubscribes after the first invocation. */
512
- onceDrop(callback: (...args: unknown[]) => void): () => void;
513
- /** Unsubscribe from the `Drop` event using a raw registration token. */
514
- offDrop(token: unknown): void;
515
- /** Register a handler for the `PointerPressed` event. Call the returned function to unsubscribe. */
516
- onPointerPressed(callback: (...args: unknown[]) => void): () => void;
517
- /** Like `onPointerPressed` but automatically unsubscribes after the first invocation. */
518
- oncePointerPressed(callback: (...args: unknown[]) => void): () => void;
519
- /** Unsubscribe from the `PointerPressed` event using a raw registration token. */
520
- offPointerPressed(token: unknown): void;
521
- /** Register a handler for the `PointerMoved` event. Call the returned function to unsubscribe. */
522
- onPointerMoved(callback: (...args: unknown[]) => void): () => void;
523
- /** Like `onPointerMoved` but automatically unsubscribes after the first invocation. */
524
- oncePointerMoved(callback: (...args: unknown[]) => void): () => void;
525
- /** Unsubscribe from the `PointerMoved` event using a raw registration token. */
526
- offPointerMoved(token: unknown): void;
527
- /** Register a handler for the `PointerReleased` event. Call the returned function to unsubscribe. */
528
- onPointerReleased(callback: (...args: unknown[]) => void): () => void;
529
- /** Like `onPointerReleased` but automatically unsubscribes after the first invocation. */
530
- oncePointerReleased(callback: (...args: unknown[]) => void): () => void;
531
- /** Unsubscribe from the `PointerReleased` event using a raw registration token. */
532
- offPointerReleased(token: unknown): void;
533
- /** Register a handler for the `PointerEntered` event. Call the returned function to unsubscribe. */
534
- onPointerEntered(callback: (...args: unknown[]) => void): () => void;
535
- /** Like `onPointerEntered` but automatically unsubscribes after the first invocation. */
536
- oncePointerEntered(callback: (...args: unknown[]) => void): () => void;
537
- /** Unsubscribe from the `PointerEntered` event using a raw registration token. */
538
- offPointerEntered(token: unknown): void;
539
- /** Register a handler for the `PointerExited` event. Call the returned function to unsubscribe. */
540
- onPointerExited(callback: (...args: unknown[]) => void): () => void;
541
- /** Like `onPointerExited` but automatically unsubscribes after the first invocation. */
542
- oncePointerExited(callback: (...args: unknown[]) => void): () => void;
543
- /** Unsubscribe from the `PointerExited` event using a raw registration token. */
544
- offPointerExited(token: unknown): void;
545
- /** Register a handler for the `PointerCaptureLost` event. Call the returned function to unsubscribe. */
546
- onPointerCaptureLost(callback: (...args: unknown[]) => void): () => void;
547
- /** Like `onPointerCaptureLost` but automatically unsubscribes after the first invocation. */
548
- oncePointerCaptureLost(callback: (...args: unknown[]) => void): () => void;
549
- /** Unsubscribe from the `PointerCaptureLost` event using a raw registration token. */
550
- offPointerCaptureLost(token: unknown): void;
551
- /** Register a handler for the `PointerCanceled` event. Call the returned function to unsubscribe. */
552
- onPointerCanceled(callback: (...args: unknown[]) => void): () => void;
553
- /** Like `onPointerCanceled` but automatically unsubscribes after the first invocation. */
554
- oncePointerCanceled(callback: (...args: unknown[]) => void): () => void;
555
- /** Unsubscribe from the `PointerCanceled` event using a raw registration token. */
556
- offPointerCanceled(token: unknown): void;
557
- /** Register a handler for the `PointerWheelChanged` event. Call the returned function to unsubscribe. */
558
- onPointerWheelChanged(callback: (...args: unknown[]) => void): () => void;
559
- /** Like `onPointerWheelChanged` but automatically unsubscribes after the first invocation. */
560
- oncePointerWheelChanged(callback: (...args: unknown[]) => void): () => void;
561
- /** Unsubscribe from the `PointerWheelChanged` event using a raw registration token. */
562
- offPointerWheelChanged(token: unknown): void;
563
- /** Register a handler for the `Tapped` event. Call the returned function to unsubscribe. */
564
- onTapped(callback: (...args: unknown[]) => void): () => void;
565
- /** Like `onTapped` but automatically unsubscribes after the first invocation. */
566
- onceTapped(callback: (...args: unknown[]) => void): () => void;
567
- /** Unsubscribe from the `Tapped` event using a raw registration token. */
568
- offTapped(token: unknown): void;
569
- /** Register a handler for the `DoubleTapped` event. Call the returned function to unsubscribe. */
570
- onDoubleTapped(callback: (...args: unknown[]) => void): () => void;
571
- /** Like `onDoubleTapped` but automatically unsubscribes after the first invocation. */
572
- onceDoubleTapped(callback: (...args: unknown[]) => void): () => void;
573
- /** Unsubscribe from the `DoubleTapped` event using a raw registration token. */
574
- offDoubleTapped(token: unknown): void;
575
- /** Register a handler for the `Holding` event. Call the returned function to unsubscribe. */
576
- onHolding(callback: (...args: unknown[]) => void): () => void;
577
- /** Like `onHolding` but automatically unsubscribes after the first invocation. */
578
- onceHolding(callback: (...args: unknown[]) => void): () => void;
579
- /** Unsubscribe from the `Holding` event using a raw registration token. */
580
- offHolding(token: unknown): void;
581
- /** Register a handler for the `ContextRequested` event. Call the returned function to unsubscribe. */
582
- onContextRequested(callback: (sender: UIElement, args: ContextRequestedEventArgs) => void): () => void;
583
- /** Like `onContextRequested` but automatically unsubscribes after the first invocation. */
584
- onceContextRequested(callback: (sender: UIElement, args: ContextRequestedEventArgs) => void): () => void;
585
- /** Unsubscribe from the `ContextRequested` event using a raw registration token. */
586
- offContextRequested(token: unknown): void;
587
- /** Register a handler for the `ContextCanceled` event. Call the returned function to unsubscribe. */
588
- onContextCanceled(callback: (sender: UIElement, args: RoutedEventArgs) => void): () => void;
589
- /** Like `onContextCanceled` but automatically unsubscribes after the first invocation. */
590
- onceContextCanceled(callback: (sender: UIElement, args: RoutedEventArgs) => void): () => void;
591
- /** Unsubscribe from the `ContextCanceled` event using a raw registration token. */
592
- offContextCanceled(token: unknown): void;
593
- /** Register a handler for the `RightTapped` event. Call the returned function to unsubscribe. */
594
- onRightTapped(callback: (...args: unknown[]) => void): () => void;
595
- /** Like `onRightTapped` but automatically unsubscribes after the first invocation. */
596
- onceRightTapped(callback: (...args: unknown[]) => void): () => void;
597
- /** Unsubscribe from the `RightTapped` event using a raw registration token. */
598
- offRightTapped(token: unknown): void;
599
- /** Register a handler for the `ManipulationStarting` event. Call the returned function to unsubscribe. */
600
- onManipulationStarting(callback: (...args: unknown[]) => void): () => void;
601
- /** Like `onManipulationStarting` but automatically unsubscribes after the first invocation. */
602
- onceManipulationStarting(callback: (...args: unknown[]) => void): () => void;
603
- /** Unsubscribe from the `ManipulationStarting` event using a raw registration token. */
604
- offManipulationStarting(token: unknown): void;
605
- /** Register a handler for the `ManipulationInertiaStarting` event. Call the returned function to unsubscribe. */
606
- onManipulationInertiaStarting(callback: (...args: unknown[]) => void): () => void;
607
- /** Like `onManipulationInertiaStarting` but automatically unsubscribes after the first invocation. */
608
- onceManipulationInertiaStarting(callback: (...args: unknown[]) => void): () => void;
609
- /** Unsubscribe from the `ManipulationInertiaStarting` event using a raw registration token. */
610
- offManipulationInertiaStarting(token: unknown): void;
611
- /** Register a handler for the `ManipulationStarted` event. Call the returned function to unsubscribe. */
612
- onManipulationStarted(callback: (...args: unknown[]) => void): () => void;
613
- /** Like `onManipulationStarted` but automatically unsubscribes after the first invocation. */
614
- onceManipulationStarted(callback: (...args: unknown[]) => void): () => void;
615
- /** Unsubscribe from the `ManipulationStarted` event using a raw registration token. */
616
- offManipulationStarted(token: unknown): void;
617
- /** Register a handler for the `ManipulationDelta` event. Call the returned function to unsubscribe. */
618
- onManipulationDelta(callback: (...args: unknown[]) => void): () => void;
619
- /** Like `onManipulationDelta` but automatically unsubscribes after the first invocation. */
620
- onceManipulationDelta(callback: (...args: unknown[]) => void): () => void;
621
- /** Unsubscribe from the `ManipulationDelta` event using a raw registration token. */
622
- offManipulationDelta(token: unknown): void;
623
- /** Register a handler for the `ManipulationCompleted` event. Call the returned function to unsubscribe. */
624
- onManipulationCompleted(callback: (...args: unknown[]) => void): () => void;
625
- /** Like `onManipulationCompleted` but automatically unsubscribes after the first invocation. */
626
- onceManipulationCompleted(callback: (...args: unknown[]) => void): () => void;
627
- /** Unsubscribe from the `ManipulationCompleted` event using a raw registration token. */
628
- offManipulationCompleted(token: unknown): void;
629
- /** Register a handler for the `AccessKeyDisplayRequested` event. Call the returned function to unsubscribe. */
630
- onAccessKeyDisplayRequested(callback: (sender: UIElement, args: AccessKeyDisplayRequestedEventArgs) => void): () => void;
631
- /** Like `onAccessKeyDisplayRequested` but automatically unsubscribes after the first invocation. */
632
- onceAccessKeyDisplayRequested(callback: (sender: UIElement, args: AccessKeyDisplayRequestedEventArgs) => void): () => void;
633
- /** Unsubscribe from the `AccessKeyDisplayRequested` event using a raw registration token. */
634
- offAccessKeyDisplayRequested(token: unknown): void;
635
- /** Register a handler for the `AccessKeyDisplayDismissed` event. Call the returned function to unsubscribe. */
636
- onAccessKeyDisplayDismissed(callback: (sender: UIElement, args: AccessKeyDisplayDismissedEventArgs) => void): () => void;
637
- /** Like `onAccessKeyDisplayDismissed` but automatically unsubscribes after the first invocation. */
638
- onceAccessKeyDisplayDismissed(callback: (sender: UIElement, args: AccessKeyDisplayDismissedEventArgs) => void): () => void;
639
- /** Unsubscribe from the `AccessKeyDisplayDismissed` event using a raw registration token. */
640
- offAccessKeyDisplayDismissed(token: unknown): void;
641
- /** Register a handler for the `AccessKeyInvoked` event. Call the returned function to unsubscribe. */
642
- onAccessKeyInvoked(callback: (sender: UIElement, args: AccessKeyInvokedEventArgs) => void): () => void;
643
- /** Like `onAccessKeyInvoked` but automatically unsubscribes after the first invocation. */
644
- onceAccessKeyInvoked(callback: (sender: UIElement, args: AccessKeyInvokedEventArgs) => void): () => void;
645
- /** Unsubscribe from the `AccessKeyInvoked` event using a raw registration token. */
646
- offAccessKeyInvoked(token: unknown): void;
647
- /** Register a handler for the `ProcessKeyboardAccelerators` event. Call the returned function to unsubscribe. */
648
- onProcessKeyboardAccelerators(callback: (sender: UIElement, args: ProcessKeyboardAcceleratorEventArgs) => void): () => void;
649
- /** Like `onProcessKeyboardAccelerators` but automatically unsubscribes after the first invocation. */
650
- onceProcessKeyboardAccelerators(callback: (sender: UIElement, args: ProcessKeyboardAcceleratorEventArgs) => void): () => void;
651
- /** Unsubscribe from the `ProcessKeyboardAccelerators` event using a raw registration token. */
652
- offProcessKeyboardAccelerators(token: unknown): void;
653
- /** Register a handler for the `GettingFocus` event. Call the returned function to unsubscribe. */
654
- onGettingFocus(callback: (sender: UIElement, args: GettingFocusEventArgs) => void): () => void;
655
- /** Like `onGettingFocus` but automatically unsubscribes after the first invocation. */
656
- onceGettingFocus(callback: (sender: UIElement, args: GettingFocusEventArgs) => void): () => void;
657
- /** Unsubscribe from the `GettingFocus` event using a raw registration token. */
658
- offGettingFocus(token: unknown): void;
659
- /** Register a handler for the `LosingFocus` event. Call the returned function to unsubscribe. */
660
- onLosingFocus(callback: (sender: UIElement, args: LosingFocusEventArgs) => void): () => void;
661
- /** Like `onLosingFocus` but automatically unsubscribes after the first invocation. */
662
- onceLosingFocus(callback: (sender: UIElement, args: LosingFocusEventArgs) => void): () => void;
663
- /** Unsubscribe from the `LosingFocus` event using a raw registration token. */
664
- offLosingFocus(token: unknown): void;
665
- /** Register a handler for the `NoFocusCandidateFound` event. Call the returned function to unsubscribe. */
666
- onNoFocusCandidateFound(callback: (sender: UIElement, args: NoFocusCandidateFoundEventArgs) => void): () => void;
667
- /** Like `onNoFocusCandidateFound` but automatically unsubscribes after the first invocation. */
668
- onceNoFocusCandidateFound(callback: (sender: UIElement, args: NoFocusCandidateFoundEventArgs) => void): () => void;
669
- /** Unsubscribe from the `NoFocusCandidateFound` event using a raw registration token. */
670
- offNoFocusCandidateFound(token: unknown): void;
671
- /** Register a handler for the `PreviewKeyDown` event. Call the returned function to unsubscribe. */
672
- onPreviewKeyDown(callback: (...args: unknown[]) => void): () => void;
673
- /** Like `onPreviewKeyDown` but automatically unsubscribes after the first invocation. */
674
- oncePreviewKeyDown(callback: (...args: unknown[]) => void): () => void;
675
- /** Unsubscribe from the `PreviewKeyDown` event using a raw registration token. */
676
- offPreviewKeyDown(token: unknown): void;
677
- /** Register a handler for the `PreviewKeyUp` event. Call the returned function to unsubscribe. */
678
- onPreviewKeyUp(callback: (...args: unknown[]) => void): () => void;
679
- /** Like `onPreviewKeyUp` but automatically unsubscribes after the first invocation. */
680
- oncePreviewKeyUp(callback: (...args: unknown[]) => void): () => void;
681
- /** Unsubscribe from the `PreviewKeyUp` event using a raw registration token. */
682
- offPreviewKeyUp(token: unknown): void;
683
- /** Register a handler for the `BringIntoViewRequested` event. Call the returned function to unsubscribe. */
684
- onBringIntoViewRequested(callback: (sender: UIElement, args: BringIntoViewRequestedEventArgs) => void): () => void;
685
- /** Like `onBringIntoViewRequested` but automatically unsubscribes after the first invocation. */
686
- onceBringIntoViewRequested(callback: (sender: UIElement, args: BringIntoViewRequestedEventArgs) => void): () => void;
687
- /** Unsubscribe from the `BringIntoViewRequested` event using a raw registration token. */
688
- offBringIntoViewRequested(token: unknown): void;
689
- measure(availableSize: Size): void;
690
- arrange(finalRect: Rect): void;
691
- capturePointer(value: Pointer): boolean;
692
- releasePointerCapture(value: Pointer): void;
693
- releasePointerCaptures(): void;
694
- addHandler(routedEvent: RoutedEvent, handler: unknown, handledEventsToo: boolean): void;
695
- removeHandler(routedEvent: RoutedEvent, handler: unknown): void;
696
- transformToVisual(visual: UIElement): GeneralTransform;
697
- invalidateMeasure(): void;
698
- invalidateArrange(): void;
699
- updateLayout(): void;
700
- cancelDirectManipulations(): boolean;
701
- startDragAsync(pointerPoint: InputPointerPoint, signal?: AbortSignal): Promise<DataPackageOperation>;
702
- startBringIntoView(): void;
703
- startBringIntoView(options: BringIntoViewOptions): void;
704
- tryInvokeKeyboardAccelerator(args: ProcessKeyboardAcceleratorEventArgs): void;
705
- focus(value: FocusState): boolean;
706
- startAnimation(animation: CompositionICompositionAnimationBase): void;
707
- stopAnimation(animation: CompositionICompositionAnimationBase): void;
708
- get protectedCursor(): InputCursor;
709
- set protectedCursor(value: InputCursor);
710
- /**
711
- * Defines a property that can be animated.
712
- * @param propertyName The property that can be animated.
713
- * @param propertyInfo Information about the property to be animated.
714
- */
715
- populatePropertyInfo(propertyName: string, propertyInfo: CompositionAnimationPropertyInfo): void;
716
- /**
717
- * Retrieves the Visual that the element resolves to.
718
- * @returns The Visual that the element resolves to.
719
- */
720
- getVisualInternal(): CompositionVisual;
721
- getValue(dp: DependencyProperty): unknown;
722
- setValue(dp: DependencyProperty, value: unknown): void;
723
- clearValue(dp: DependencyProperty): void;
724
- readLocalValue(dp: DependencyProperty): unknown;
725
- getAnimationBaseValue(dp: DependencyProperty): unknown;
726
- registerPropertyChangedCallback(dp: DependencyProperty, callback: (sender: DependencyObject, dp: DependencyProperty) => void): bigint;
727
- unregisterPropertyChangedCallback(dp: DependencyProperty, token: bigint): void;
728
- get dispatcher(): CoreDispatcher;
729
- get dispatcherQueue(): DispatchingDispatcherQueue;
730
- startBringIntoViewWithOptions(options: BringIntoViewOptions): void;
731
- }