Avalonia.Controls Namespace

Class Types

Class Summary
AppBuilderBase<TAppBuilder> Base class for initializing platform-specific services for an Application.
Border A control which decorates a child with a border and background.
Button A button control.
Calendar Represents a control that enables a user to select a date by using a visual calendar display.
CalendarDateChangedEventArgs Provides data for the DisplayDateChanged event.
CalendarDateRange
CalendarModeChangedEventArgs Provides data for the DisplayModeChanged event.
Canvas A panel that displays child controls at arbitrary locations.
Carousel An items control that displays its items as pages that fill the control.
CheckBox A check box control.
Classes Holds a collection of style classes for an IControl.
ColumnDefinition Holds a column definitions for a Grid.
ColumnDefinitions A collection of ColumnDefinitions.
ContentControl Displays Content according to a FuncDataTemplate.
ContextMenu
Control Base class for Avalonia controls.
ControlExtensions Adds common functionality to IControl.
Controls A collection of Controls.
DataValidationErrors A control which displays an error notifier when there is a DataValidationError. Provides attached properties to track errors on a control
Decorator Base class for controls which decorate a single child control.
DefinitionBase Base class for ColumnDefinition and RowDefinition.
Design
DockPanel A panel which arranges its children at the top, bottom, left, right or center.
DrawingPresenter
DropDown A drop-down list control.
DropDownItem A selectable item in a DropDown.
Expander
FileDialog
FileDialogFilter
FileSystemDialog
Grid Lays out child controls according to a grid.
GridSplitter Represents the control that redistributes space between columns or rows of a Grid control.
HotKeyManager
Image Displays a Bitmap image.
ItemsControl Displays a collection of items.
LayoutTransformControl
ListBox An ItemsControl in which individual items can be selected.
ListBoxItem A selectable item in a ListBox.
Menu A top-level menu control.
MenuItem A menu item control.
MenuItemAccessKeyHandler Handles access keys within a MenuItem
NameScope Implements a name scope.
NameScopeEventArgs
NameScopeExtensions Extension methods for INameScope.
OpenFileDialog
OpenFolderDialog
Panel Base class for controls that can contain multiple children.
PointEventArgs Provides Point data for events.
ProgressBar A control used to indicate the progress of an operation.
RadioButton
RepeatButton
RequestBringIntoViewEventArgs
ResourceDictionary An indexed dictionary of resources.
ResourceProviderExtensions
ResourcesChangedEventArgs
RowDefinition Holds a row definitions for a Grid.
RowDefinitions A collection of RowDefinitions.
SaveFileDialog
Screens
ScrollViewer A control scrolls its content if the content is bigger than the space available.
SelectionChangedEventArgs Provides data for the SelectionChanged event.
Separator A separator control.
Slider A control that lets the user select from a range of values by moving a Thumb control along a Track.
StackPanel A panel which lays out its children horizontally or vertically.
SystemDialog
TabControl A tab control that displays a tab strip along with the content of the selected tab.
TabItem An item in a TabStrip or TabControl.
TextBlock A control that displays a block of text.
TextBox
ToolTip A control which pops up a hint when a control is hovered.
TopLevel Base class for top-level widgets.
TreeView Displays a hierachical tree of data.
TreeViewItem An item in a TreeView.
UserControl
VirtualizingStackPanel
Window A top-level window.
WindowBase Base class for top-level windows.
WindowIcon Represents an icon for a window.
WrapPanel Positions child elements in sequential position from left to right, breaking content to the next line at the edge of the containing box. Subsequent ordering happens sequentially from top to bottom or from right to left, depending on the value of the Orientation property.

Interface Types

Interface Summary
IApplicationLifecycle Sends events about the application lifecycle.
IContentControl Defines a control that displays Content according to a FuncDataTemplate.
IControl Interface for Avalonia controls.
IGlobalDataTemplates Defines the application-global data templates.
IHeadered Defines a headered object.
INameScope Defines a name scope.
IPanel Interface for controls that can contain multiple children.
IPseudoClasses Exposes an interface for setting pseudoclasses on a Classes collection.
IResourceDictionary An indexed dictionary of resources.
IResourceNode Represents resource provider in a tree.
IResourceProvider Represents an object that can be queried for resources.
ISelectable Interface for objects that are selectable.
ISetInheritanceParent Defines an interface through which a Control's inheritance parent can be set.
ISetLogicalParent Defines an interface through which a Control's logical parent can be set.
ITemplate<TControl> Creates a control.
IVirtualizingController Interface implemented by controls that act as controllers for an IVirtualizingPanel.
IVirtualizingPanel A panel that can be used to virtualize items.

Enum Types

Enum Summary
CalendarMode Specifies values for the different modes of operation of a Calendar.
CalendarSelectionMode Specifies values that describe the available selection modes for a Calendar.
ClickMode Defines how a Button reacts to clicks.
Dock Defines the available docking modes for a control in a DockPanel.
ExpandDirection
GridUnitType Defines the valid units for a GridLength.
ItemVirtualizationMode Describes the item virtualization method to use for a list.
Orientation Defines vertical or horizontal orientation.
PlacementMode Defines the placement for a Popup control.
SelectionMode Defines the selection mode for a control which can select multiple items.
SizeToContent Determines how a Window will size itself to fit its content.
WindowEdge
WindowState Defines the minimized/maximized state of a Window.

Struct Types

Struct Summary
GridLength Holds the width or height of a Grid's column and row definitions.

Namespaces