Avalonia UI
首页支持GitHub 仓库English Doc
  • 👋欢迎
  • 文档
    • ⚡快速开始
      • IDE 支持
        • JetBrains Rider 设置
      • 使用 Avalonia 开发
        • Model-View-ViewModel 模式(MVVM)
        • 控件和布局
        • 数据绑定
        • 图像和动画
      • Windows
      • UserControls
      • 资产
      • 开发者工具
      • 错误和警告日志
      • 未处理的异常
      • 应用生命周期
    • 🔁数据绑定
      • 数据上下文
      • 变化通知
      • 绑定
      • 编译绑定
      • 与控件绑定
      • 转换绑定值
      • 绑定到命令
      • 绑定到任务和可观察对象
      • 使用代码进行绑定
      • 在控件模板中实现绑定
      • 绑定Classes
      • 创建和绑定到附加属性
      • Data Validation
    • 🎨样式
      • 样式
      • 选择器
      • 资源
      • 疑难解答
    • 🧰控件
      • AutoCompleteBox
      • Border
      • Buttons
        • Button
        • RepeatButton
        • RadioButton
        • ToggleButton
        • ButtonSpinner
        • SplitButton
        • ToggleSplitButton
      • Calendar
      • Canvas
      • Carousel
      • CheckBox
      • ComboBox
      • ContentControl
      • ContextMenu
      • Decorator
      • DataGrid
        • DataGridColumns
      • DatePicker
      • DockPanel
      • Expander
      • Flyouts
      • Grid
      • GridSplitter
      • Image
      • ItemsControl
      • ItemsRepeater
      • LayoutTransformControl
      • ListBox
      • MaskedTextBox
      • Menu
      • NativeMenu
      • NumericUpDown
      • Panel
      • ProgressBar
      • RelativePanel
      • ScrollBar
      • ScrollViewer
      • Separator
      • Slider
      • SplitView
      • StackPanel
      • TabControl
      • TabStrip
      • TextBlock
      • TrayIcon
      • TreeDataGrid
        • Creating a Hierarchical TreeDataGrid
        • Creating a Flat TreeDataGrid
        • TreeDataGrid column types
      • TimePicker
      • TextBox
      • ToolTip
      • TreeView
      • TransitioningContentControl
      • UserControl
      • Viewbox
      • Window
      • WrapPanel
    • 📚模板
      • 数据模板
      • 在代码中创建数据模板
      • 实现 IDataTemplate 接口
    • ✏️自定义控件
      • 控件类别
      • 定义属性
    • 🖱️输入
      • 路由事件
      • 剪贴板
      • 鼠标与触控设备
      • 快捷键
    • 🔑动画
      • 关键帧动画
      • 过渡
      • 页面过渡
    • 📐布局
      • 面板概述
      • Alignment、Margin 和 Padding
      • 创建自定义面板
    • 📦发布/分发
      • macOS
  • API 参考
    • 🗒️命名空间
      • Avalonia
      • Avalonia.Animation
        • Avalonia.Animation.Easings
        • Avalonia.Animation.Animators
      • Avalonia.Collections
      • Avalonia.Controls
      • Avalonia.Data
        • Avalonia.Data.Core.Plugins
        • Avalonia.Data.Core
        • Avalonia.Data.Converters
      • Avalonia.Diagnostics
      • Avalonia.Dialogs
  • 指南
    • 🐣基础
      • XAML 介绍
      • Code-behind
      • MVVM 架构
      • 在UI线程上操作
    • 🤿深入
      • 在树莓派上运行你的应用
      • 在树莓派上运行你的应用(使用Raspbian Lite)
      • ReactiveUI
        • 视图激活机制
        • 路由
        • 数据持久化
        • 绑定到 Sorted/Filtered 数据
    • 👩‍💻👩💻 开发人员指南
      • 🏭从源代码中构建 Avalonia
      • Avalonia 与 WPF 和 UWP 之间的比较
      • Debugging Previewer
      • Debugging the XAML compiler
      • macOS 开发
      • Release Process
      • 维护稳定的分支
  • 教程
    • 📋待办事项应用
    • 📻音乐商店应用
    • 🕸️在浏览器中运行
    • 📱为移动设备开发
  • 杂项
    • 👪社区
    • 🖥️WPF 开发者建议
    • 📋正在使用 Avalonia 的项目
    • ❔常见问题
由 GitBook 提供支持
在本页
  • Layout
  • Border
  • Canvas
  • DockPanel
  • Expander
  • Grid
  • GridSplitter
  • Panel
  • RelativePanel
  • ScrollBar
  • ScrollViewer
  • SplitView
  • StackPanel
  • UniformGrid
  • Window
  • WrapPanel
  • Buttons
  • Button
  • RepeatButton
  • RadioButton
  • ToggleButton
  • ButtonSpinner
  • SplitButton
  • ToggleSplitButton
  • Data Display
  • DataGrid
  • ItemsControl
  • ItemsRepeater
  • ListBox
  • Text
  • AutoCompleteBox
  • TextBlock
  • TextBox
  • MaskedTextBox
  • Value selectors
  • CheckBox
  • ComboBox
  • Slider
  • Images
  • DrawingImage
  • Image
  • Date and Time
  • Calendar
  • CalendarDatePicker
  • DatePicker
  • TimePicker
  • Menus
  • ContextMenu
  • Menu

这有帮助吗?

在GitHub上编辑
  1. 文档

控件

上一页疑难解答下一页AutoCompleteBox

最后更新于2年前

这有帮助吗?

Avalonia provides following groups of controls:

Layout

Layout controls provide ability for developer to arrange child controls according to specific rules.

A control which decorates a child with a border and background.

A panel that displays child controls at arbitrary locations.

A panel which arranges its children at the top, bottom, left, right or center.

A control with a header that has a collapsible content section.

A flexible grid area that consists of columns and rows.

Base class for controls that can contain multiple children.

Defines an area within which you can position and align child objects in relation to each other or the parent panel.

A scrollbar control.

A control scrolls its content if the content is bigger than the space available.

A control with two views: A collapsible pane and an area for content.

A panel which lays out its children horizontally or vertically.

UniformGrid

A panel with uniform column and row sizes.

A top-level window.

Positions child elements in sequential position from left to right, breaking content to the next line at the edge of the containing box.

Buttons

A button control.

Represents a control that raises its click event repeatedly when it is pressed and held.

Represents a button that allows a user to select a single option from a group of options.

Represents a control that a user can select (check) or clear (uncheck).

Represents a spinner control that includes two Buttons

Functions as a button with primary and secondary parts that can each be pressed separately. The primary part behaves like normal button and the secondary part opens a flyout with additional actions.

Functions as a toggle button with primary and secondary parts that can each be pressed separately. The primary part behaves like a normal toggle button and the secondary part opens a flyout with additional actions.

Data Display

These controls helps display data, either in tabular or list form.

Displays data in a customizable grid.

Displays a collection of items.

Represents a data-driven collection control that incorporates a flexible layout system, custom views, and virtualization.

An items control in which individual items can be selected.

Text

Controls for displaying and editing text

Represents a control that provides a text box for user input and a drop-down that contains possible matches based on the input in the text box.

A control that displays a block of text.

Represents a control that can be used to display or edit unformatted text.

Represents a control that can be used to display or edit text format it uses a mask to distinguish between proper and improper user input format.

Value selectors

A check box control.

A drop-down list control.

A control that lets the user select from a range of values by moving a thumb control along a track.

Images

These controls display bitmap or vector images.

DrawingImage

Displays a vector image.

Displays a bitmap image.

Date and Time

Set of controls which gives you ability display display and select dates, point of time, or display calendar..

Represents a control that enables a user to select a date by using a visual calendar display.

CalendarDatePicker

A control for selecting dates with a calendar drop-down.

A control to allow the user to select a date.

A control to allow the user to select a time.

Menus

A context menu attached to a control.

A top-level menu control.

Redistributes space between columns or rows of a control.

🧰
DockPanel
Expander
Grid
GridSplitter
Grid
Panel
RelativePanel
ScrollBar
ScrollViewer
SplitView
StackPanel
Window
WrapPanel
Button
RepeatButton
RadioButton
ToggleButton
ButtonSpinner
SplitButton
ToggleSplitButton
DataGrid
ItemsControl
ItemsRepeater
ListBox
AutoCompleteBox
TextBlock
TextBox
MaskedTextBox
CheckBox
ComboBox
Slider
Image
Calendar
DatePicker
TimePicker
ContextMenu
Menu
Border
Canvas
Layout controls
Buttons
Data display controls
Text display and editing
Value selection
Displaying images
Date and time controls
Menus