XamlTypeIndex 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
列出 XamlDirect 中所有受支持的类型的枚举。
本文档适用于Windows 应用 SDK中的 WinUI 2 for UWP (for WinUI,请参阅) Windows 应用 SDK命名空间。
public enum class XamlTypeIndex
/// [Windows.Foundation.Metadata.Version(1)]
enum class XamlTypeIndex
[Windows.Foundation.Metadata.Version(1)]
public enum XamlTypeIndex
Public Enum XamlTypeIndex
- 继承
-
XamlTypeIndex
- 属性
字段
| 名称 | 值 | 说明 |
|---|---|---|
| AdaptiveTrigger | 757 | AdaptiveTrigger 类型。 |
| AddDeleteThemeTransition | 177 | |
| AppBar | 495 | AppBar 类型。 |
| AppBarButton | 557 | AppBarButton 类型。 |
| AppBarElementContainer | 945 | |
| AppBarSeparator | 427 | AppBarSeparator 类型。 |
| AppBarToggleButton | 558 | |
| ArcSegment | 178 | ArcSegment 类型。 |
| AutomationAnnotation | 789 | |
| AutomationPeerAnnotation | 790 | |
| AutoSuggestBox | 499 | AutoSuggestBox 类型。 |
| AutoSuggestBoxQuerySubmittedEventArgs | 778 | |
| AutoSuggestBoxSuggestionChosenEventArgs | 34 | |
| AutoSuggestBoxTextChangedEventArgs | 35 | |
| BackEase | 179 | BackEase 类型。 |
| BeginStoryboard | 180 | BeginStoryboard 类型。 |
| BezierSegment | 181 | BezierSegment 类型。 |
| Binding | 564 | 绑定类型。 |
| BindingBase | 182 | BindingBase 类型。 |
| BitmapCache | 183 | BitmapCache 类型。 |
| BitmapIcon | 429 | BitmapIcon 类型。 |
| BitmapIconSource | 929 | BitmapIconSource 类型。 |
| BitmapImage | 285 | BitmapImage 类型。 |
| Bold | 430 | 粗体类型。 |
| Border | 286 | 边框类型。 |
| BounceEase | 186 | BounceEase 类型。 |
| Button | 540 | 按钮类型。 |
| CalendarDatePicker | 774 | |
| CalendarPanel | 723 | CalendarPanel 类型。 |
| CalendarView | 707 | CalendarView 类型。 |
| CalendarViewDayItem | 709 | |
| Canvas | 432 | Canvas 类型。 |
| CaptureElement | 288 | CaptureElement 类型。 |
| CarouselPanel | 502 | CarouselPanel 类型。 |
| CheckBox | 559 | CheckBox 类型。 |
| CircleEase | 187 | CircleEase 类型。 |
| CollectionViewSource | 41 | |
| ColorAnimation | 188 | ColorAnimation 类型。 |
| ColorAnimationUsingKeyFrames | 189 | |
| ColorPaletteResources | 952 | |
| ColumnDefinition | 44 | ColumnDefinition 类型。 |
| ComboBox | 566 | ComboBox 类型。 |
| ComboBoxItem | 541 | ComboBoxItem 类型。 |
| CommandBar | 542 | CommandBar 类型。 |
| CommandBarOverflowPresenter | 781 | |
| CompositeTransform | 295 | |
| CompositeTransform3D | 732 | |
| ContentControl | 435 | ContentControl 类型。 |
| ContentDialog | 506 | ContentDialog 类型。 |
| ContentLink | 925 | ContentLink 类型。 |
| ContentPresenter | 296 | ContentPresenter 类型。 |
| ContentThemeTransition | 190 | |
| ControlTemplate | 191 | ControlTemplate 类型。 |
| CubicEase | 192 | CubicEase 类型。 |
| DataTemplate | 194 | DataTemplate 类型。 |
| DatePicker | 436 | DatePicker 类型。 |
| DependencyObjectCollection | 437 | |
| DiscreteColorKeyFrame | 195 | |
| DiscreteDoubleKeyFrame | 196 | |
| DiscreteObjectKeyFrame | 197 | |
| DiscretePointKeyFrame | 198 | |
| DoubleAnimation | 200 | DoubleAnimation 类型。 |
| DoubleAnimationUsingKeyFrames | 201 | |
| DragItemThemeAnimation | 302 | |
| DragOverThemeAnimation | 303 | |
| DrillInThemeAnimation | 782 | |
| DrillOutThemeAnimation | 783 | |
| DropTargetItemThemeAnimation | 304 | |
| EasingColorKeyFrame | 204 | |
| EasingDoubleKeyFrame | 205 | |
| EasingPointKeyFrame | 206 | |
| EdgeUIThemeTransition | 207 | |
| ElasticEase | 208 | ElasticEase 类型。 |
| Ellipse | 438 | 椭圆类型。 |
| EllipseGeometry | 209 | EllipseGeometry 类型。 |
| EntranceThemeTransition | 210 | |
| EventTrigger | 211 | EventTrigger 类型。 |
| ExponentialEase | 212 | ExponentialEase 类型。 |
| FadeInThemeAnimation | 306 | |
| FadeOutThemeAnimation | 307 | |
| FlipView | 567 | FlipView 类型。 |
| FlipViewItem | 543 | FlipViewItem 类型。 |
| Flyout | 213 | 浮出控件类型。 |
| FlyoutPresenter | 508 | FlyoutPresenter 类型。 |
| FontIcon | 440 | FontIcon 类型。 |
| FontIconSource | 930 | FontIconSource 类型。 |
| Frame | 509 | Frame 类型。 |
| GeometryGroup | 216 | GeometryGroup 类型。 |
| Glyphs | 312 | 字形类型。 |
| GradientStop | 64 | GradientStop 类型。 |
| Grid | 442 | 网格类型。 |
| GridView | 570 | GridView 类型。 |
| GridViewHeaderItem | 545 | |
| GridViewItem | 560 | GridViewItem 类型。 |
| GridViewItemPresenter | 511 | |
| GroupItem | 512 | GroupItem 类型。 |
| HandwritingView | 920 | HandwritingView 类型。 |
| Hub | 445 | 中心类型。 |
| HubSection | 446 | HubSection 类型。 |
| Hyperlink | 447 | 超链接类型。 |
| HyperlinkButton | 546 | HyperlinkButton 类型。 |
| IconSourceElement | 939 | |
| Image | 326 | 图像类型。 |
| ImageBrush | 328 | ImageBrush 类型。 |
| InkCanvas | 748 | InkCanvas 类型。 |
| InlineUIContainer | 329 | |
| InputScope | 74 | InputScope 类型。 |
| InputScopeName | 75 | InputScopeName 类型。 |
| Italic | 449 | 斜体类型。 |
| ItemsControl | 451 | ItemsControl 类型。 |
| ItemsPanelTemplate | 227 | |
| ItemsPresenter | 332 | ItemsPresenter 类型。 |
| ItemsStackPanel | 514 | ItemsStackPanel 类型。 |
| ItemsWrapGrid | 515 | ItemsWrapGrid 类型。 |
| KeyboardAccelerator | 897 | |
| KeySpline | 78 | KeySpline 类型。 |
| Line | 452 | Line 类型。 |
| LinearColorKeyFrame | 230 | |
| LinearDoubleKeyFrame | 231 | |
| LinearGradientBrush | 334 | |
| LinearPointKeyFrame | 232 | |
| LineBreak | 335 | LineBreak 类型。 |
| LineGeometry | 233 | LineGeometry 类型。 |
| LineSegment | 234 | LineSegment 类型。 |
| ListBox | 568 | ListBox 类型。 |
| ListBoxItem | 547 | ListBoxItem 类型。 |
| ListView | 571 | ListView 类型。 |
| ListViewHeaderItem | 550 | |
| ListViewItem | 561 | ListViewItem 类型。 |
| ListViewItemPresenter | 520 | |
| Matrix3DProjection | 236 | |
| MatrixTransform | 340 | MatrixTransform 类型。 |
| MediaElement | 342 | MediaElement 类型。 |
| MediaPlayerElement | 829 | |
| MediaPlayerPresenter | 828 | |
| MediaTransportControls | 458 | |
| MenuFlyout | 238 | MenuFlyout 类型。 |
| MenuFlyoutItem | 521 | MenuFlyoutItem 类型。 |
| MenuFlyoutPresenter | 522 | |
| MenuFlyoutSeparator | 523 | |
| MenuFlyoutSubItem | 749 | |
| ObjectAnimationUsingKeyFrames | 240 | |
| Page | 525 | Page 类型。 |
| PaneThemeTransition | 241 | |
| Paragraph | 349 | Paragraph 类型。 |
| PasswordBox | 462 | PasswordBox 类型。 |
| Path | 463 | 路径类型。 |
| PathFigure | 93 | PathFigure 类型。 |
| PathGeometry | 243 | PathGeometry 类型。 |
| PathIcon | 464 | PathIcon 类型。 |
| PathIconSource | 931 | PathIconSource 类型。 |
| PerspectiveTransform3D | 733 | |
| PlaneProjection | 244 | PlaneProjection 类型。 |
| PointAnimation | 245 | PointAnimation 类型。 |
| PointAnimationUsingKeyFrames | 246 | |
| PointerDownThemeAnimation | 357 | |
| PointerUpThemeAnimation | 359 | |
| PolyBezierSegment | 248 | |
| Polygon | 465 | 多边形类型。 |
| Polyline | 466 | 折线类型。 |
| PolyLineSegment | 249 | PolyLineSegment 类型。 |
| PolyQuadraticBezierSegment | 250 | |
| PopInThemeAnimation | 361 | |
| PopOutThemeAnimation | 362 | |
| Popup | 363 | Popup 类型。 |
| PopupThemeTransition | 251 | |
| PowerEase | 252 | PowerEase 类型。 |
| PrintDocument | 100 | PrintDocument 类型。 |
| ProgressBar | 528 | ProgressBar 类型。 |
| ProgressRing | 468 | ProgressRing 类型。 |
| QuadraticBezierSegment | 254 | |
| QuadraticEase | 255 | QuadraticEase 类型。 |
| QuarticEase | 256 | QuarticEase 类型。 |
| QuinticEase | 257 | QuinticEase 类型。 |
| RadioButton | 562 | RadioButton 类型。 |
| Rectangle | 470 | 矩形类型。 |
| RectangleGeometry | 258 | |
| RelativePanel | 744 | RelativePanel 类型。 |
| RelativeSource | 259 | RelativeSource 类型。 |
| RenderTargetBitmap | 260 | |
| ReorderThemeTransition | 261 | |
| RepeatButton | 551 | RepeatButton 类型。 |
| RepositionThemeAnimation | 370 | |
| RepositionThemeTransition | 262 | |
| ResourceDictionary | 371 | |
| RichEditBox | 473 | RichEditBox 类型。 |
| RichTextBlock | 374 | RichTextBlock 类型。 |
| RichTextBlockOverflow | 376 | |
| RotateTransform | 378 | RotateTransform 类型。 |
| RowDefinition | 106 | RowDefinition 类型。 |
| Run | 380 | 运行类型。 |
| ScaleTransform | 381 | ScaleTransform 类型。 |
| ScrollBar | 530 | ScrollBar 类型。 |
| ScrollContentPresenter | 476 | |
| ScrollViewer | 552 | ScrollViewer 类型。 |
| SearchBox | 477 | SearchBox 类型。 |
| SemanticZoom | 479 | SemanticZoom 类型。 |
| Setter | 263 | Setter 类型。 |
| SettingsFlyout | 533 | SettingsFlyout 类型。 |
| SineEase | 264 | SineEase 类型。 |
| SkewTransform | 389 | SkewTransform 类型。 |
| Slider | 534 | 滑块类型。 |
| SoftwareBitmapSource | 761 | |
| SolidColorBrush | 265 | SolidColorBrush 类型。 |
| Span | 390 | Span 类型。 |
| SplineColorKeyFrame | 266 | |
| SplineDoubleKeyFrame | 267 | |
| SplinePointKeyFrame | 268 | |
| SplitCloseThemeAnimation | 391 | |
| SplitOpenThemeAnimation | 392 | |
| SplitView | 728 | SplitView 类型。 |
| StackPanel | 481 | StackPanel 类型。 |
| StandardUICommand | 961 | |
| StateTrigger | 767 | StateTrigger 类型。 |
| Storyboard | 393 | 情节提要类型。 |
| Style | 114 | 样式类型。 |
| SvgImageSource | 860 | SvgImageSource 类型。 |
| SwapChainBackgroundPanel | 535 | |
| SwapChainPanel | 536 | SwapChainPanel 类型。 |
| SwipeBackThemeAnimation | 394 | |
| SwipeHintThemeAnimation | 395 | |
| SymbolIcon | 482 | SymbolIcon 类型。 |
| SymbolIconSource | 933 | SymbolIconSource 类型。 |
| TextBlock | 396 | TextBlock 类型。 |
| TextBox | 483 | TextBox 类型。 |
| Thumb | 485 | Thumb 类型。 |
| TickBar | 486 | TickBar 类型。 |
| TimelineMarker | 126 | |
| TimePicker | 487 | TimePicker 类型。 |
| ToggleButton | 553 | ToggleButton 类型。 |
| ToggleMenuFlyoutItem | 554 | |
| ToggleSwitch | 489 | ToggleSwitch 类型。 |
| ToolTip | 538 | 工具提示类型。 |
| TransformGroup | 411 | TransformGroup 类型。 |
| TranslateTransform | 413 | |
| Underline | 490 | 下划线类型。 |
| UserControl | 491 | UserControl 类型。 |
| VariableSizedWrapGrid | 492 | |
| Viewbox | 417 | 视图框类型。 |
| VirtualizingStackPanel | 555 | |
| VisualState | 137 | VisualState 类型。 |
| VisualStateGroup | 138 | VisualStateGroup 类型。 |
| VisualStateManager | 139 | |
| VisualTransition | 140 | VisualTransition 类型。 |
| WebView | 494 | WebView 类型。 |
| WebViewBrush | 423 | WebViewBrush 类型。 |
| WrapGrid | 556 | WrapGrid 类型。 |
| XamlLight | 855 | XamlLight 类型。 |
| XamlUICommand | 969 | XamlUICommand 类型。 |
示例
提示
WinUI 3 库和 WinUI 2 库应用包括大多数 WinUI 3 和 WinUI 2 控件、特性和功能的交互式示例。
如果已安装,请单击以下链接将其打开:WinUI 3 库或 WinUI 2 库。
如果未安装,可以从 Microsoft Store 下载 WinUI 3 库和 WinUI 2 库。
还可以从 GitHub 获取这两种应用的源代码(对 WinUI 3 使用 main 分支,对 WinUI 2 使用 winui2 分支)。