-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathProps.ts
More file actions
4571 lines (4558 loc) · 201 KB
/
Props.ts
File metadata and controls
4571 lines (4558 loc) · 201 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*************************************************************
THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT MODIFY MANUALLY
SOURCE WINMDS USED:
- %USERPROFILE%\.nuget\packages\microsoft.ui.xaml\2.8.0\lib\uap10.0\Microsoft.UI.Xaml.winmd
**************************************************************/
import type { ViewProps, NativeSyntheticEvent, ColorValue } from 'react-native';
import type * as Enums from './Enums';
export type Thickness = number | { left?: number, top?: number, right?: number, bottom?: number };
export type GridLength = number | '*' | 'auto' | `${number}*`;
export type CornerRadius = number | { topLeft?: number, topRight?: number, bottomLeft?: number, bottomRight?: number};
export type Point = { x: number, y: number };
export type Color = { a: number, r: number, g: number, b: number };
export type TypedEvent<TArgs> = {
sender: any;
args: TArgs;
}
export namespace NativeWinUI {
export type NativeBreadcrumbBarItemClickedEventArgs = {
readonly index: number;
readonly item: object;
}
}
export namespace NativeWinUI {
export type NativeColorChangedEventArgs = {
readonly newColor: Color | number;
readonly oldColor: Color | number;
}
}
export namespace NativeWinUI {
export type NativeExpanderCollapsedEventArgs = {
}
}
export namespace NativeWinUI {
export type NativeExpanderExpandingEventArgs = {
}
}
export namespace NativeWinUI {
export type NativeInfoBarClosedEventArgs = {
readonly reason: Enums.WinUIEnums.InfoBarCloseReason;
}
}
export namespace NativeWinUI {
export type NativeInfoBarClosingEventArgs = {
readonly cancel: boolean;
readonly reason: Enums.WinUIEnums.InfoBarCloseReason;
}
}
export namespace NativeWinUI {
export type NativeItemsRepeaterElementClearingEventArgs = {
}
}
export namespace NativeWinUI {
export type NativeItemsRepeaterElementIndexChangedEventArgs = {
readonly newIndex: number;
readonly oldIndex: number;
}
}
export namespace NativeWinUI {
export type NativeItemsRepeaterElementPreparedEventArgs = {
readonly index: number;
}
}
export namespace NativeWinUI {
export type NativeNavigationViewDisplayModeChangedEventArgs = {
readonly displayMode: Enums.WinUIEnums.NavigationViewDisplayMode;
}
}
export namespace NativeWinUI {
export type NativeNavigationViewItemInvokedEventArgs = {
readonly invokedItem: object;
readonly isSettingsInvoked: boolean;
}
}
export namespace NativeWinUI {
export type NativeNavigationViewSelectionChangedEventArgs = {
readonly isSettingsSelected: boolean;
readonly selectedItem: object;
}
}
export namespace NativeWinUI {
export type NativeNavigationViewBackRequestedEventArgs = {
}
}
export namespace NativeWinUI {
export type NativeNavigationViewItemCollapsedEventArgs = {
readonly collapsedItem: object;
}
}
export namespace NativeWinUI {
export type NativeNavigationViewItemExpandingEventArgs = {
readonly expandingItem: object;
}
}
export namespace NativeWinUI {
export type NativeNavigationViewPaneClosingEventArgs = {
readonly cancel: boolean;
}
}
export namespace NativeWinUI {
export type NativeNumberBoxValueChangedEventArgs = {
readonly newValue: number;
readonly oldValue: number;
}
}
export namespace NativeWinUI {
export type NativePipsPagerSelectedIndexChangedEventArgs = {
}
}
export type NativeSelectionChangedEventArgs = {
}
export namespace NativeWinUI {
export type NativeRefreshRequestedEventArgs = {
}
}
export namespace NativeWinUI {
export type NativeRefreshStateChangedEventArgs = {
readonly newState: Enums.WinUIEnums.RefreshVisualizerState;
readonly oldState: Enums.WinUIEnums.RefreshVisualizerState;
}
}
export namespace NativeWinUI {
export type NativeSplitButtonClickEventArgs = {
}
}
export namespace NativeWinUI {
export type NativeTabViewTabCloseRequestedEventArgs = {
readonly item: object;
}
}
export namespace NativeWinUI {
export type NativeTabViewTabDragCompletedEventArgs = {
readonly dropResult: Enums.DataPackageOperation;
readonly item: object;
}
}
export namespace NativeWinUI {
export type NativeTabViewTabDragStartingEventArgs = {
readonly cancel: boolean;
readonly item: object;
}
}
export namespace NativeWinUI {
export type NativeTabViewTabDroppedOutsideEventArgs = {
readonly item: object;
}
}
export type NativeIVectorChangedEventArgs = {
readonly collectionChange: Enums.CollectionChange;
readonly index: number;
}
export type NativeDragEventArgs = {
readonly handled: boolean;
readonly acceptedOperation: Enums.DataPackageOperation;
readonly modifiers: Enums.DragDropModifiers;
readonly allowedOperations: Enums.DataPackageOperation;
}
export namespace NativeWinUI {
export type NativeTeachingTipClosedEventArgs = {
readonly reason: Enums.WinUIEnums.TeachingTipCloseReason;
}
}
export namespace NativeWinUI {
export type NativeTeachingTipClosingEventArgs = {
readonly cancel: boolean;
readonly reason: Enums.WinUIEnums.TeachingTipCloseReason;
}
}
export namespace NativeWinUI {
export type NativeToggleSplitButtonIsCheckedChangedEventArgs = {
}
}
export namespace NativeWinUI {
export type NativeTreeViewCollapsedEventArgs = {
readonly item: object;
}
}
export namespace NativeWinUI {
export type NativeTreeViewExpandingEventArgs = {
readonly item: object;
}
}
export namespace NativeWinUI {
export type NativeTreeViewItemInvokedEventArgs = {
readonly handled: boolean;
readonly invokedItem: object;
}
}
export namespace NativeWinUI {
export type NativeTreeViewDragItemsCompletedEventArgs = {
readonly dropResult: Enums.DataPackageOperation;
readonly newParentItem: object;
}
}
export namespace NativeWinUI {
export type NativeTreeViewDragItemsStartingEventArgs = {
readonly cancel: boolean;
}
}
export namespace NativeWebView2 {
export type NativeCoreWebView2ProcessFailedEventArgs = {
}
}
export namespace NativeWinUI {
export type NativeCoreWebView2InitializedEventArgs = {
}
}
export namespace NativeWebView2 {
export type NativeCoreWebView2NavigationCompletedEventArgs = {
}
}
export namespace NativeWebView2 {
export type NativeCoreWebView2NavigationStartingEventArgs = {
}
}
export namespace NativeWebView2 {
export type NativeCoreWebView2WebMessageReceivedEventArgs = {
}
}
export type NativeDoubleTappedRoutedEventArgs = {
readonly handled: boolean;
readonly pointerDeviceType: Enums.PointerDeviceType;
}
export type NativeRoutedEventArgs = {
readonly originalSource: object;
}
export type NativeHoldingRoutedEventArgs = {
readonly handled: boolean;
readonly holdingState: Enums.HoldingState;
readonly pointerDeviceType: Enums.PointerDeviceType;
}
export type NativeManipulationCompletedRoutedEventArgs = {
readonly handled: boolean;
readonly isInertial: boolean;
readonly pointerDeviceType: Enums.PointerDeviceType;
readonly position: Point;
}
export type NativeManipulationDeltaRoutedEventArgs = {
readonly handled: boolean;
readonly isInertial: boolean;
readonly pointerDeviceType: Enums.PointerDeviceType;
readonly position: Point;
}
export type NativeManipulationInertiaStartingRoutedEventArgs = {
readonly handled: boolean;
readonly pointerDeviceType: Enums.PointerDeviceType;
}
export type NativeManipulationStartedRoutedEventArgs = {
readonly handled: boolean;
readonly pointerDeviceType: Enums.PointerDeviceType;
readonly position: Point;
}
export type NativeManipulationStartingRoutedEventArgs = {
readonly mode: Enums.ManipulationModes;
readonly handled: boolean;
}
export type NativePointerRoutedEventArgs = {
readonly handled: boolean;
readonly keyModifiers: Enums.VirtualKeyModifiers;
readonly isGenerated: boolean;
}
export type NativeRightTappedRoutedEventArgs = {
readonly handled: boolean;
readonly pointerDeviceType: Enums.PointerDeviceType;
}
export type NativeTappedRoutedEventArgs = {
readonly handled: boolean;
readonly pointerDeviceType: Enums.PointerDeviceType;
}
export type NativeDragStartingEventArgs = {
readonly cancel: boolean;
readonly allowedOperations: Enums.DataPackageOperation;
}
export type NativeDropCompletedEventArgs = {
readonly dropResult: Enums.DataPackageOperation;
}
export type NativeAccessKeyDisplayDismissedEventArgs = {
}
export type NativeAccessKeyDisplayRequestedEventArgs = {
readonly pressedKeys: string;
}
export type NativeAccessKeyInvokedEventArgs = {
readonly handled: boolean;
}
export type NativeContextRequestedEventArgs = {
TryGetPosition(tag: number): { point: Point, returnValue: boolean }
readonly handled: boolean;
}
export type NativeGettingFocusEventArgs = {
readonly handled: boolean;
readonly cancel: boolean;
readonly direction: Enums.FocusNavigationDirection;
readonly focusState: Enums.FocusState;
readonly inputDevice: Enums.FocusInputDeviceKind;
}
export type NativeLosingFocusEventArgs = {
readonly handled: boolean;
readonly cancel: boolean;
readonly direction: Enums.FocusNavigationDirection;
readonly focusState: Enums.FocusState;
readonly inputDevice: Enums.FocusInputDeviceKind;
}
export type NativeNoFocusCandidateFoundEventArgs = {
readonly handled: boolean;
readonly direction: Enums.FocusNavigationDirection;
readonly inputDevice: Enums.FocusInputDeviceKind;
}
export type NativeCharacterReceivedRoutedEventArgs = {
readonly handled: boolean;
}
export type NativeKeyRoutedEventArgs = {
readonly handled: boolean;
readonly key: Enums.VirtualKey;
readonly originalKey: Enums.VirtualKey;
readonly deviceId: string;
}
export type NativeProcessKeyboardAcceleratorEventArgs = {
readonly handled: boolean;
readonly key: Enums.VirtualKey;
readonly modifiers: Enums.VirtualKeyModifiers;
}
export type NativeBringIntoViewRequestedEventArgs = {
readonly verticalOffset: number;
readonly horizontalOffset: number;
readonly handled: boolean;
readonly animationDesired: boolean;
readonly horizontalAlignmentRatio: number;
readonly verticalAlignmentRatio: number;
}
export type NativeSizeChangedEventArgs = {
}
export type NativeDataContextChangedEventArgs = {
readonly handled: boolean;
readonly newValue: object;
}
export type NativeEffectiveViewportChangedEventArgs = {
readonly bringIntoViewDistanceX: number;
readonly bringIntoViewDistanceY: number;
}
export type NativeDependencyPropertyChangedEventArgs = {
readonly newValue: object;
readonly oldValue: object;
}
export type NativeFocusDisengagedEventArgs = {
}
export type NativeFocusEngagedEventArgs = {
readonly handled: boolean;
}
export type NativeAutoSuggestBoxSuggestionChosenEventArgs = {
readonly selectedItem: object;
}
export type NativeAutoSuggestBoxTextChangedEventArgs = {
readonly reason: Enums.AutoSuggestionBoxTextChangeReason;
}
export type NativeAutoSuggestBoxQuerySubmittedEventArgs = {
readonly chosenSuggestion: object;
readonly queryText: string;
}
export type NativeCalendarViewDayItemChangingEventArgs = {
readonly inRecycleQueue: boolean;
readonly phase: number;
}
export type NativeCalendarDatePickerDateChangedEventArgs = {
}
export type NativeCalendarViewSelectedDatesChangedEventArgs = {
}
export type NativeColorChangedEventArgs = {
readonly newColor: Color | number;
readonly oldColor: Color | number;
}
export type NativeComboBoxTextSubmittedEventArgs = {
readonly handled: boolean;
readonly text: string;
}
export type NativeDynamicOverflowItemsChangingEventArgs = {
readonly action: Enums.CommandBarDynamicOverflowAction;
}
export type NativeFlyoutBaseClosingEventArgs = {
readonly cancel: boolean;
}
export type NativeContentDialogClosedEventArgs = {
readonly result: Enums.ContentDialogResult;
}
export type NativeContentDialogClosingEventArgs = {
readonly cancel: boolean;
readonly result: Enums.ContentDialogResult;
}
export type NativeContentDialogOpenedEventArgs = {
}
export type NativeContentDialogButtonClickEventArgs = {
readonly cancel: boolean;
}
export type NativeDatePickerValueChangedEventArgs = {
}
export type NativeDatePickerSelectedValueChangedEventArgs = {
}
export type NativeDatePickedEventArgs = {
}
export type NativeNavigationEventArgs = {
readonly uri: string;
readonly content: object;
readonly navigationMode: Enums.NavigationMode;
readonly parameter: object;
}
export type NativeNavigatingCancelEventArgs = {
readonly cancel: boolean;
readonly navigationMode: Enums.NavigationMode;
readonly parameter: object;
}
export type NativeNavigationFailedEventArgs = {
readonly handled: boolean;
}
export type NativeDragItemsStartingEventArgs = {
readonly cancel: boolean;
}
export type NativeItemClickEventArgs = {
readonly clickedItem: object;
}
export type NativeContainerContentChangingEventArgs = {
readonly handled: boolean;
readonly inRecycleQueue: boolean;
readonly item: object;
readonly itemIndex: number;
readonly phase: number;
}
export type NativeChoosingGroupHeaderContainerEventArgs = {
readonly group: object;
readonly groupIndex: number;
}
export type NativeChoosingItemContainerEventArgs = {
readonly isContainerPrepared: boolean;
readonly item: object;
readonly itemIndex: number;
}
export type NativeDragItemsCompletedEventArgs = {
readonly dropResult: Enums.DataPackageOperation;
}
export type NativeHandwritingPanelClosedEventArgs = {
}
export type NativeHandwritingPanelOpenedEventArgs = {
}
export type NativeHubSectionHeaderClickEventArgs = {
}
export type NativeSectionsInViewChangedEventArgs = {
}
export type NativeExceptionRoutedEventArgs = {
readonly errorMessage: string;
}
export type NativeInkToolbarIsStencilButtonCheckedChangedEventArgs = {
readonly stencilKind: Enums.InkToolbarStencilKind;
}
export type NativeItemsPickedEventArgs = {
}
export type NativeMapInputEventArgs = {
readonly position: Point;
}
export type NativeMapActualCameraChangedEventArgs = {
readonly changeReason: Enums.MapCameraChangeReason;
}
export type NativeMapActualCameraChangingEventArgs = {
readonly changeReason: Enums.MapCameraChangeReason;
}
export type NativeMapCustomExperienceChangedEventArgs = {
}
export type NativeMapElementClickEventArgs = {
readonly position: Point;
}
export type NativeMapElementPointerEnteredEventArgs = {
readonly position: Point;
}
export type NativeMapElementPointerExitedEventArgs = {
readonly position: Point;
}
export type NativeMapTargetCameraChangedEventArgs = {
readonly changeReason: Enums.MapCameraChangeReason;
}
export type NativeMapRightTappedEventArgs = {
readonly position: Point;
}
export type NativeMapContextRequestedEventArgs = {
readonly position: Point;
}
export type NativeTimelineMarkerRoutedEventArgs = {
}
export type NativeRateChangedRoutedEventArgs = {
}
export type NativePartialMediaFailureDetectedEventArgs = {
readonly streamKind: Enums.FailedMediaStreamKind;
}
export type NativeMediaTransportControlsThumbnailRequestedEventArgs = {
}
export type NativeNavigationViewDisplayModeChangedEventArgs = {
readonly displayMode: Enums.NavigationViewDisplayMode;
}
export type NativeNavigationViewItemInvokedEventArgs = {
readonly invokedItem: object;
readonly isSettingsInvoked: boolean;
}
export type NativeNavigationViewSelectionChangedEventArgs = {
readonly isSettingsSelected: boolean;
readonly selectedItem: object;
}
export type NativeNavigationViewBackRequestedEventArgs = {
}
export type NativeNavigationViewPaneClosingEventArgs = {
readonly cancel: boolean;
}
export type NativeContextMenuEventArgs = {
readonly handled: boolean;
readonly cursorLeft: number;
readonly cursorTop: number;
}
export type NativeTextControlPasteEventArgs = {
readonly handled: boolean;
}
export type NativePasswordBoxPasswordChangingEventArgs = {
readonly isContentChanging: boolean;
}
export type NativePickerConfirmedEventArgs = {
}
export type NativePivotItemEventArgs = {
}
export type NativeRangeBaseValueChangedEventArgs = {
readonly newValue: number;
readonly oldValue: number;
}
export type NativeScrollEventArgs = {
readonly newValue: number;
readonly scrollEventType: Enums.ScrollEventType;
}
export type NativeDragCompletedEventArgs = {
readonly canceled: boolean;
readonly horizontalChange: number;
readonly verticalChange: number;
}
export type NativeDragDeltaEventArgs = {
readonly horizontalChange: number;
readonly verticalChange: number;
}
export type NativeDragStartedEventArgs = {
readonly horizontalOffset: number;
readonly verticalOffset: number;
}
export type NativeRefreshRequestedEventArgs = {
}
export type NativeRefreshStateChangedEventArgs = {
readonly newState: Enums.RefreshVisualizerState;
readonly oldState: Enums.RefreshVisualizerState;
}
export type NativeCandidateWindowBoundsChangedEventArgs = {
}
export type NativeRichEditBoxTextChangingEventArgs = {
readonly isContentChanging: boolean;
}
export type NativeTextCompositionChangedEventArgs = {
readonly length: number;
readonly startIndex: number;
}
export type NativeTextCompositionEndedEventArgs = {
readonly length: number;
readonly startIndex: number;
}
export type NativeTextCompositionStartedEventArgs = {
readonly length: number;
readonly startIndex: number;
}
export type NativeTextControlCopyingToClipboardEventArgs = {
readonly handled: boolean;
}
export type NativeTextControlCuttingToClipboardEventArgs = {
readonly handled: boolean;
}
export type NativeContentLinkChangedEventArgs = {
readonly changeKind: Enums.ContentLinkChangeKind;
}
export type NativeContentLinkInvokedEventArgs = {
readonly handled: boolean;
}
export type NativeRichEditBoxSelectionChangingEventArgs = {
readonly cancel: boolean;
readonly selectionLength: number;
readonly selectionStart: number;
}
export type NativeIsTextTrimmedChangedEventArgs = {
}
export type NativeScrollViewerViewChangedEventArgs = {
}
export type NativeScrollViewerViewChangingEventArgs = {
}
export type NativeAnchorRequestedEventArgs = {
}
export type NativeSearchBoxQueryChangedEventArgs = {
readonly language: string;
readonly queryText: string;
}
export type NativeSearchBoxQuerySubmittedEventArgs = {
readonly keyModifiers: Enums.VirtualKeyModifiers;
readonly language: string;
readonly queryText: string;
}
export type NativeSearchBoxResultSuggestionChosenEventArgs = {
readonly keyModifiers: Enums.VirtualKeyModifiers;
readonly tag: string;
}
export type NativeSearchBoxSuggestionsRequestedEventArgs = {
readonly language: string;
readonly queryText: string;
}
export type NativeSemanticZoomViewChangedEventArgs = {
readonly isSourceZoomedInView: boolean;
}
export type NativeBackClickEventArgs = {
readonly handled: boolean;
}
export type NativeSplitButtonClickEventArgs = {
}
export type NativeSplitViewPaneClosingEventArgs = {
readonly cancel: boolean;
}
export type NativeTextChangedEventArgs = {
}
export type NativeTextBoxTextChangingEventArgs = {
readonly isContentChanging: boolean;
}
export type NativeTextBoxBeforeTextChangingEventArgs = {
readonly cancel: boolean;
readonly newText: string;
}
export type NativeTextBoxSelectionChangingEventArgs = {
readonly cancel: boolean;
readonly selectionLength: number;
readonly selectionStart: number;
}
export type NativeTimePickerValueChangedEventArgs = {
}
export type NativeTimePickerSelectedValueChangedEventArgs = {
}
export type NativeTimePickedEventArgs = {
}
export type NativeToggleSplitButtonIsCheckedChangedEventArgs = {
}
export type NativeTreeViewCollapsedEventArgs = {
readonly item: object;
}
export type NativeTreeViewExpandingEventArgs = {
readonly item: object;
}
export type NativeTreeViewItemInvokedEventArgs = {
readonly handled: boolean;
readonly invokedItem: object;
}
export type NativeTreeViewDragItemsCompletedEventArgs = {
readonly dropResult: Enums.DataPackageOperation;
}
export type NativeTreeViewDragItemsStartingEventArgs = {
readonly cancel: boolean;
}
export type NativeCleanUpVirtualizedItemEventArgs = {
readonly cancel: boolean;
readonly value: object;
}
export type NativeWebViewNavigationFailedEventArgs = {
readonly uri: string;
readonly webErrorStatus: Enums.WebErrorStatus;
}
export type NativeNotifyEventArgs = {
readonly value: string;
readonly callingUri: string;
}
export type NativeWebViewContentLoadingEventArgs = {
readonly uri: string;
}
export type NativeWebViewDOMContentLoadedEventArgs = {
readonly uri: string;
}
export type NativeWebViewNavigationCompletedEventArgs = {
readonly isSuccess: boolean;
readonly uri: string;
readonly webErrorStatus: Enums.WebErrorStatus;
}
export type NativeWebViewNavigationStartingEventArgs = {
readonly cancel: boolean;
readonly uri: string;
}
export type NativeWebViewLongRunningScriptDetectedEventArgs = {
readonly stopPageScriptExecution: boolean;
}
export type NativeWebViewUnviewableContentIdentifiedEventArgs = {
readonly referrer: string;
readonly uri: string;
readonly mediaType: string;
}
export type NativeWebViewNewWindowRequestedEventArgs = {
readonly handled: boolean;
readonly referrer: string;
readonly uri: string;
}
export type NativeWebViewPermissionRequestedEventArgs = {
}
export type NativeWebViewUnsupportedUriSchemeIdentifiedEventArgs = {
readonly handled: boolean;
readonly uri: string;
}
export type NativeWebViewSeparateProcessLostEventArgs = {
}
export type NativeWebViewWebResourceRequestedEventArgs = {
}
export type NativeHyperlinkClickEventArgs = {
}
export type NativeKeyboardAcceleratorInvokedEventArgs = {
readonly handled: boolean;
}
export namespace NativeWinUI {
export interface NativeAnimatedIconProps extends NativeIconElementProps {
type: 'Microsoft.UI.Xaml.Controls.AnimatedIcon';
mirroredWhenRightToLeft?: boolean;
}
}
export namespace NativeWinUI {
export interface NativeAnimatedVisualPlayerProps extends NativeFrameworkElementProps {
type: 'Microsoft.UI.Xaml.Controls.AnimatedVisualPlayer';
stretch?: Enums.Stretch;
playbackRate?: number;
autoPlay?: boolean;
animationOptimization?: Enums.WinUIEnums.PlayerAnimationOptimization;
}
}
export namespace NativeWinUI {
export interface NativeBreadcrumbBarProps extends NativeControlProps {
type: 'Microsoft.UI.Xaml.Controls.BreadcrumbBar';
itemsSource?: object;
itemTemplate?: object;
onItemClicked?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeBreadcrumbBarItemClickedEventArgs>>) => void;
}
}
export namespace NativeWinUI {
export interface NativeBreadcrumbBarItemProps extends NativeContentControlProps {
type: 'Microsoft.UI.Xaml.Controls.BreadcrumbBarItem';
}
}
export namespace NativeWinUI {
export interface NativeColorPickerProps extends NativeControlProps {
type: 'Microsoft.UI.Xaml.Controls.ColorPicker';
previousColor?: any;
minValue?: number;
minSaturation?: number;
minHue?: number;
maxValue?: number;
maxSaturation?: number;
maxHue?: number;
isMoreButtonVisible?: boolean;
isHexInputVisible?: boolean;
isColorSpectrumVisible?: boolean;
isColorSliderVisible?: boolean;
isColorPreviewVisible?: boolean;
isColorChannelTextInputVisible?: boolean;
isAlphaTextInputVisible?: boolean;
isAlphaSliderVisible?: boolean;
isAlphaEnabled?: boolean;
colorSpectrumShape?: Enums.WinUIEnums.ColorSpectrumShape;
colorSpectrumComponents?: Enums.WinUIEnums.ColorSpectrumComponents;
color?: Color | number;
orientation?: Enums.Orientation;
onColorChanged?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeColorChangedEventArgs>>) => void;
}
}
export namespace NativeWinUI {
export interface NativeCommandBarFlyoutProps extends NativeFlyoutBaseProps {
type: 'Microsoft.UI.Xaml.Controls.CommandBarFlyout' | 'Microsoft.UI.Xaml.Controls.TextCommandBarFlyout';
}
}
export namespace NativeWinUI {
export interface NativeDropDownButtonProps extends NativeButtonProps {
type: 'Microsoft.UI.Xaml.Controls.DropDownButton';
}
}
export namespace NativeWinUI {
export interface NativeExpanderProps extends NativeContentControlProps {
type: 'Microsoft.UI.Xaml.Controls.Expander';
isExpanded?: boolean;
header?: object;
expandDirection?: Enums.WinUIEnums.ExpandDirection;
onCollapsed?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeExpanderCollapsedEventArgs>>) => void;
onExpanding?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeExpanderExpandingEventArgs>>) => void;
}
}
export namespace NativeWinUI {
export interface NativeImageIconProps extends NativeIconElementProps {
type: 'Microsoft.UI.Xaml.Controls.ImageIcon';
source?: string;
}
}
export namespace NativeWinUI {
export interface NativeInfoBadgeProps extends NativeControlProps {
type: 'Microsoft.UI.Xaml.Controls.InfoBadge';
value?: number;
}
}
export namespace NativeWinUI {
export interface NativeInfoBarProps extends NativeControlProps {
type: 'Microsoft.UI.Xaml.Controls.InfoBar';
title?: string;
severity?: Enums.WinUIEnums.InfoBarSeverity;
message?: string;
isOpen?: boolean;
isIconVisible?: boolean;
isClosable?: boolean;
content?: string;
closeButtonStyle?: string;
closeButtonCommandParameter?: object;
onCloseButtonClick?: (event: NativeSyntheticEvent<TypedEvent<any>>) => void;
onClosed?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeInfoBarClosedEventArgs>>) => void;
onClosing?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeInfoBarClosingEventArgs>>) => void;
}
}
export namespace NativeWinUI {
export interface NativeItemsRepeaterProps extends NativeFrameworkElementProps {
type: 'Microsoft.UI.Xaml.Controls.ItemsRepeater';
verticalCacheLength?: number;
itemsSource?: object;
itemTemplate?: string;
horizontalCacheLength?: number;
background?: ColorValue;
onElementClearing?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeItemsRepeaterElementClearingEventArgs>>) => void;
onElementIndexChanged?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeItemsRepeaterElementIndexChangedEventArgs>>) => void;
onElementPrepared?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeItemsRepeaterElementPreparedEventArgs>>) => void;
}
}
export namespace NativeWinUI {
export interface NativeItemsRepeaterScrollHostProps extends NativeFrameworkElementProps {
type: 'Microsoft.UI.Xaml.Controls.ItemsRepeaterScrollHost';
}
}
export namespace NativeWinUI {
export interface NativeMenuBarProps extends NativeControlProps {
type: 'Microsoft.UI.Xaml.Controls.MenuBar';
}
}
export namespace NativeWinUI {
export interface NativeMenuBarItemProps extends NativeControlProps {
type: 'Microsoft.UI.Xaml.Controls.MenuBarItem';
title?: string;
}
}
export namespace NativeWinUI {
export interface NativeMenuBarItemFlyoutProps extends NativeMenuFlyoutProps {
type: 'Microsoft.UI.Xaml.Controls.MenuBarItemFlyout';
}
}
export namespace NativeWinUI {
export interface NativeNavigationViewProps extends NativeContentControlProps {
type: 'Microsoft.UI.Xaml.Controls.NavigationView';
selectedItem?: object;
paneToggleButtonStyle?: string;
openPaneLength?: number;
menuItemsSource?: object;
menuItemContainerStyle?: string;
isTitleBarAutoPaddingEnabled?: boolean;
isSettingsVisible?: boolean;
isPaneToggleButtonVisible?: boolean;
isPaneOpen?: boolean;
header?: object;
footerMenuItemsSource?: object;
expandedModeThresholdWidth?: number;
compactPaneLength?: number;
compactModeThresholdWidth?: number;
alwaysShowHeader?: boolean;
shoulderNavigationEnabled?: Enums.WinUIEnums.NavigationViewShoulderNavigationEnabled;
selectionFollowsFocus?: Enums.WinUIEnums.NavigationViewSelectionFollowsFocus;
paneTitle?: string;
paneDisplayMode?: Enums.WinUIEnums.NavigationViewPaneDisplayMode;
overflowLabelMode?: Enums.WinUIEnums.NavigationViewOverflowLabelMode;
isPaneVisible?: boolean;
isBackEnabled?: boolean;
isBackButtonVisible?: Enums.WinUIEnums.NavigationViewBackButtonVisible;
onDisplayModeChanged?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeNavigationViewDisplayModeChangedEventArgs>>) => void;
onItemInvoked?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeNavigationViewItemInvokedEventArgs>>) => void;
onSelectionChanged?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeNavigationViewSelectionChangedEventArgs>>) => void;
onBackRequested?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeNavigationViewBackRequestedEventArgs>>) => void;
onCollapsed?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeNavigationViewItemCollapsedEventArgs>>) => void;
onExpanding?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeNavigationViewItemExpandingEventArgs>>) => void;
onPaneClosed?: (event: NativeSyntheticEvent<TypedEvent<any>>) => void;
onPaneClosing?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeNavigationViewPaneClosingEventArgs>>) => void;
onPaneOpened?: (event: NativeSyntheticEvent<TypedEvent<any>>) => void;
onPaneOpening?: (event: NativeSyntheticEvent<TypedEvent<any>>) => void;
}
}
export namespace NativeWinUI {
export interface NativeNavigationViewItemBaseProps extends NativeContentControlProps {
type: 'Microsoft.UI.Xaml.Controls.NavigationViewItemBase' | 'Microsoft.UI.Xaml.Controls.NavigationViewItem' | 'Microsoft.UI.Xaml.Controls.NavigationViewItemHeader' | 'Microsoft.UI.Xaml.Controls.NavigationViewItemSeparator';
isSelected?: boolean;
}
}
export namespace NativeWinUI {
export interface NativeNavigationViewItemProps extends NativeWinUI.NativeNavigationViewItemBaseProps {
type: 'Microsoft.UI.Xaml.Controls.NavigationViewItem';
selectsOnInvoked?: boolean;
menuItemsSource?: object;
isExpanded?: boolean;
isChildSelected?: boolean;
hasUnrealizedChildren?: boolean;
}
}
export namespace NativeWinUI {
export interface NativeNavigationViewItemHeaderProps extends NativeWinUI.NativeNavigationViewItemBaseProps {
type: 'Microsoft.UI.Xaml.Controls.NavigationViewItemHeader';
}
}
export namespace NativeWinUI {
export interface NativeNavigationViewItemSeparatorProps extends NativeWinUI.NativeNavigationViewItemBaseProps {
type: 'Microsoft.UI.Xaml.Controls.NavigationViewItemSeparator';
}
}
export namespace NativeWinUI {
export interface NativeNumberBoxProps extends NativeControlProps {
type: 'Microsoft.UI.Xaml.Controls.NumberBox';
value?: number;
validationMode?: Enums.WinUIEnums.NumberBoxValidationMode;
textReadingOrder?: Enums.TextReadingOrder;
text?: string;
spinButtonPlacementMode?: Enums.WinUIEnums.NumberBoxSpinButtonPlacementMode;
smallChange?: number;
selectionHighlightColor?: ColorValue;
preventKeyboardDisplayOnProgrammaticFocus?: boolean;
placeholderText?: string;
minimum?: number;
maximum?: number;
largeChange?: number;
isWrapEnabled?: boolean;
header?: object;
description?: object;
acceptsExpression?: boolean;
onValueChanged?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativeNumberBoxValueChangedEventArgs>>) => void;
}
}
export namespace NativeWinUI {
export interface NativeParallaxViewProps extends NativeFrameworkElementProps {
type: 'Microsoft.UI.Xaml.Controls.ParallaxView';
verticalSourceStartOffset?: number;
verticalSourceOffsetKind?: Enums.WinUIEnums.ParallaxSourceOffsetKind;
verticalSourceEndOffset?: number;
verticalShift?: number;
maxVerticalShiftRatio?: number;
maxHorizontalShiftRatio?: number;
isVerticalShiftClamped?: boolean;
isHorizontalShiftClamped?: boolean;
horizontalSourceStartOffset?: number;
horizontalSourceOffsetKind?: Enums.WinUIEnums.ParallaxSourceOffsetKind;
horizontalSourceEndOffset?: number;
horizontalShift?: number;
}
}
export namespace NativeWinUI {
export interface NativePersonPictureProps extends NativeControlProps {
type: 'Microsoft.UI.Xaml.Controls.PersonPicture';
profilePicture?: string;
preferSmallImage?: boolean;
isGroup?: boolean;
initials?: string;
displayName?: string;
badgeText?: string;
badgeNumber?: number;
badgeImageSource?: string;
badgeGlyph?: string;
}
}
export namespace NativeWinUI {
export interface NativePipsPagerProps extends NativeControlProps {
type: 'Microsoft.UI.Xaml.Controls.PipsPager';
selectedPipStyle?: string;
selectedPageIndex?: number;
previousButtonVisibility?: Enums.WinUIEnums.PipsPagerButtonVisibility;
previousButtonStyle?: string;
orientation?: Enums.Orientation;
numberOfPages?: number;
normalPipStyle?: string;
nextButtonVisibility?: Enums.WinUIEnums.PipsPagerButtonVisibility;
nextButtonStyle?: string;
maxVisiblePips?: number;
onSelectedIndexChanged?: (event: NativeSyntheticEvent<TypedEvent<NativeWinUI.NativePipsPagerSelectedIndexChangedEventArgs>>) => void;
}
}
export namespace NativeWinUI {
export interface NativeColorPickerSliderProps extends NativeSliderProps {
type: 'Microsoft.UI.Xaml.Controls.Primitives.ColorPickerSlider';
colorChannel?: Enums.WinUIEnums.ColorPickerHsvChannel;
}
}
export namespace NativeWinUI {
export interface NativeColorSpectrumProps extends NativeControlProps {
type: 'Microsoft.UI.Xaml.Controls.Primitives.ColorSpectrum';