Controls Namespace
Namespace Avalonia.Controls
Types
- AcrylicPlatformCompensationLevels - Defines compensation levels for the platform depending on the transparency level. It controls the base opacity level of the 'tracing paper' layer that compensates for low blur radius.
- AlphaComponentPosition - Defines the position of a color's alpha component relative to all other components.
- AppBarButton - A button for use in a Avalonia.Controls.CommandBar.
- AppBarSeparator - A visual separator for use in a Avalonia.Controls.CommandBar.
- AppBarToggleButton - A toggle button for use in a Avalonia.Controls.CommandBar.
- AutoCompleteBox - 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.
- AutoCompleteFilterMode - Specifies how text in the text box portion of the Avalonia.Controls.AutoCompleteBox control is used to filter items specified by the Avalonia.Controls.AutoCompleteBox.ItemsSource property for display in the drop-down.
- AutoCompleteFilterPredicate<T> - Represents the filter used by the Avalonia.Controls.AutoCompleteBox control to determine whether an item is a possible match for the specified text.
- AutoCompleteSelector<T> - Represents the selector used by the Avalonia.Controls.AutoCompleteBox control to determine how the specified text should be modified with an item.
- BarLayoutBehavior - Controls how the navigation bar interacts with the page content area.
- Border - A control which decorates a child with a border and background.
- Button - A standard button control.
- ButtonSpinner - Represents a spinner control that includes two Buttons.
- Calendar - Represents a control that enables a user to select a date by using a visual calendar display.
- CalendarDateChangedEventArgs - Provides data for the Avalonia.Controls.Calendar.DisplayDateChanged event.
- CalendarDatePicker - A date selection control that allows the user to select dates from a drop down calendar.
- CalendarDatePickerDateValidationErrorEventArgs - Provides data for the Avalonia.Controls.CalendarDatePicker.DateValidationError event.
- CalendarDatePickerFormat - Specifies date formats for a Avalonia.Controls.CalendarDatePicker.
- CalendarDateRange
- CalendarMode - Specifies values for the different modes of operation of a Avalonia.Controls.Calendar.
- CalendarModeChangedEventArgs - Provides data for the Avalonia.Controls.Calendar.DisplayModeChanged event.
- CalendarSelectionMode - Specifies values that describe the available selection modes for a Avalonia.Controls.Calendar.
- Canvas - A panel that displays child controls at arbitrary locations.
- Carousel - An items control that displays its items as pages that fill the control.
- CellIndex - Represents a cell in a Avalonia.Controls.TreeDataGrid.
- CheckBox - A check box control.
- Classes - Holds a collection of style classes for an Avalonia.StyledElement.
- ClickMode - Defines how a Avalonia.Controls.Button reacts to clicks.
- CodeHighlighter
- ColorChangedEventArgs - Holds the details of a ColorChanged event.
- ColorComponent - Defines a specific component within a color model.
- ColorModel - Defines the model used to represent colors.
- ColorPicker - Presents a color for user editing using a spectrum, palette and component sliders within a drop down. Editing is available when the drop down flyout is opened; otherwise, only the preview content area is shown.
- ColorSpectrumComponents - Defines the two HSV color components displayed by a Avalonia.Controls.Primitives.ColorSpectrum.
- ColorSpectrumShape - Defines the shape of a Avalonia.Controls.Primitives.ColorSpectrum.
- ColorView - Presents a color for user editing using a spectrum, palette and component sliders.
- ColorViewTab - Defines a specific tab/page (subview) within the Avalonia.Controls.ColorView.
- ColumnDefinition - Holds a column definitions for a Avalonia.Controls.Grid.
- ColumnDefinitions - A collection of Avalonia.Controls.ColumnDefinitions.
- ComboBox - A drop-down list control.
- ComboBoxItem - A selectable item in a Avalonia.Controls.ComboBox.
- CommandBar - A command bar that provides primary commands displayed inline and secondary commands accessible via an overflow menu.
- CommandBarDefaultLabelPosition - Defines how labels are positioned for command bar buttons.
- CommandBarOverflowButtonVisibility - Defines the visibility of the overflow button in a Avalonia.Controls.CommandBar.
- ContainerClearingEventArgs - Provides data for the Avalonia.Controls.ItemsControl.ContainerClearing event.
- ContainerIndexChangedEventArgs - Provides data for the Avalonia.Controls.ItemsControl.ContainerIndexChanged event.
- ContainerPreparedEventArgs - Provides data for the Avalonia.Controls.ItemsControl.ContainerPrepared event.
- ContentControl - Displays Avalonia.Controls.ContentControl.Content according to an Avalonia.Controls.Templates.IDataTemplate.
- ContentPage - A page that displays a single piece of content with optional top and bottom command bars.
- ContextMenu - A control context menu.
- Control - Base class for Avalonia controls.
- ControlExtensions - Adds common functionality to Avalonia.Controls.Control.
- Controls - A collection of Avalonia.Controls.Controls.
- DataValidationErrors - A control which displays an error notifier when there is a DataValidationError. Provides attached properties to track errors on a control
- DatePicker - A control to allow the user to select a date
- DatePickerPresenter - Defines the presenter used for selecting a date for a Avalonia.Controls.DatePicker
- DatePickerSelectedValueChangedEventArgs - Defines the argument passed when the Avalonia.Controls.DatePicker SelectedDate changes
- Decorator - Base class for controls which decorate a single child control.
- DefinitionBase - DefinitionBase provides core functionality used internally by Grid and ColumnDefinitionCollection / RowDefinitionCollection
- DefinitionList<T>
- Design - Provides attached properties and helpers for design-time support.
- DesktopApplicationExtensions
- Dock - Defines the available docking modes for a control in a Avalonia.Controls.DockPanel.
- DockPanel - A panel which arranges its children at the top, bottom, left, right or center.
- DrawerBehavior - Defines the behavior of the drawer pane.
- DrawerClosingEventArgs - Provides data for the Avalonia.Controls.DrawerPage.ClosingEvent routed event.
- DrawerLayoutBehavior - Defines the layout behavior of the drawer page.
- DrawerPage - A page that provides a drawer pattern.
- DrawerPlacement - Defines which edge of the Avalonia.Controls.DrawerPage the drawer pane slides in from.
- DropDownButton - A button with an added drop-down chevron to visually indicate it has a flyout with additional actions.
- ExpandDirection - Direction in which an Avalonia.Controls.Expander control opens.
- Expander - A control with a header that has a collapsible content section.
- ExperimentalAcrylicBorder
- FlatColorPalette - Implements a reduced flat design or flat UI color palette.
- FlatColorPalette.FlatColor - Defines all colors in the Avalonia.Controls.FlatColorPalette.
- FlatHalfColorPalette - Implements half of the Avalonia.Controls.FlatColorPalette for improved usability.
- FlatTreeDataGridSource<TModel> - A data source for a Avalonia.Controls.TreeDataGrid which displays a flat grid.
- FluentColorPalette - Implements the standard Windows 10 color palette.
- Flyout
- FlyoutPresenter
- FlyoutShowMode
- Grid - Defines a flexible grid area that consists of columns and rows.
- GridLength - Holds the width or height of a Avalonia.Controls.Grid's column and row definitions.
- GridResizeBehavior - Enum to indicate what Columns or Rows the Avalonia.Controls.GridSplitter resizes.
- GridResizeDirection - Enum to indicate whether Avalonia.Controls.GridSplitter resizes Columns or Rows.
- GridSplitter - Represents the control that redistributes space between columns or rows of a Avalonia.Controls.Grid control.
- GridUnitType - Defines the valid units for a Avalonia.Controls.GridLength.
- GroupBox
- HierarchicalTreeDataGridSource<TModel> - A data source for a Avalonia.Controls.TreeDataGrid which displays a hierarchial tree where each row may have multiple columns.
- HotKeyManager
- HsvComponent - Defines a specific component in the HSV color model.
- HyperlinkButton - A button control that functions as a navigateable hyperlink.
- IColorPalette - Interface to define a color palette.
- ICommandBarElement - Interface implemented by all command bar elements.
- IDeferredContent - Represents a deferred content.
- IGlobalDataTemplates - Defines the application-global data templates.
- INameScope - Defines a name scope.
- INativeMenuExporterEventsImplBridge
- INativeMenuItemExporterEventsImplBridge
- INavigation - Provides navigation operations for stack-based and modal page navigation. Exposed via Avalonia.Controls.Page.Navigation when a page is hosted in a NavigationPage.
- IPseudoClasses - Exposes an interface for setting pseudoclasses on a Avalonia.Controls.Classes collection.
- IResourceDictionary - An indexed dictionary of resources.
- IResourceHost - Represents an element which hosts resources.
- IResourceNode - Represents an object that can be queried for resources.
- IResourceProvider - Represents an object that can be queried for resources but does not appear in the logical tree.
- IScrollAnchorProvider - Specifies a contract for a scrolling control that supports scroll anchoring.
- ISelectable - An interface that is implemented by objects that expose their selection state via a boolean Avalonia.Controls.ISelectable.IsSelected property.
- ISetInheritanceParent - Defines an interface through which a Avalonia.StyledElement's inheritance parent can be set.
- ISetLogicalParent - Defines an interface through which a Avalonia.StyledElement's logical parent can be set.
- ITemplate<TControl> - Creates a control.
- IThemeVariantProvider - Resource provider with theme variant awareness. Can be used with Avalonia.Controls.IResourceDictionary.ThemeDictionaries.
- ITreeDataGridSource - Represents a data source for a Avalonia.Controls.TreeDataGrid control.
- ITreeDataGridSource<TModel> - Represents a typed data source for a Avalonia.Controls.TreeDataGrid control.
- IconElement
- Image - Displays a Avalonia.Media.Imaging.Bitmap image.
- IndexPath - Represents a path of indexes used to identify a specific item in a hierarchical data structure. Each index in the path represents a level of depth in the hierarchy.
- ItemCollection - Holds the list of items that constitute the content of an Avalonia.Controls.ItemsControl.
- ItemsControl - Displays a collection of items.
- ItemsSourceView - Represents a standardized view of the supported interactions between an items collection and an items control.
- ItemsSourceView<T>
- Label - Label control. Focuses Avalonia.Controls.Label.Target on pointer click or access key press (Alt + accessKey)
- LayoutTransformControl - Control that implements support for transformations as if applied by LayoutTransform.
- ListBox - An Avalonia.Controls.ItemsControl in which individual items can be selected.
- ListBoxItem - A selectable item in a Avalonia.Controls.ListBox.
- Location
- MacOSProperties - Set of MacOS specific attached properties that allow deeper customization of the application per platform.
- Markdown
- MarkdownExtensions
- MarkdownImageLoader
- MaskedTextBox
- MaterialColorPalette - Implements a reduced version of the 2014 Material Design color palette.
- MaterialColorPalette.MaterialColor - Defines all colors in the Avalonia.Controls.MaterialColorPalette.
- MaterialHalfColorPalette - Implements half of the Avalonia.Controls.MaterialColorPalette for improved usability.
- MediaPlayerControl
- MediaPlayerControlErrorEventArgs
- MediaPlayerPresenter
- Menu - A top-level menu control.
- MenuBase - Base class for menu controls.
- MenuFlyout
- MenuFlyoutPresenter
- MenuItem - A menu item control.
- MenuItemToggleType - Defines how a Avalonia.Controls.MenuItem or Avalonia.Controls.NativeMenuItem reacts to clicks.
- ModalPoppedEventArgs - Provides data for the Avalonia.Controls.NavigationPage.ModalPopped event.
- ModalPushedEventArgs - Provides data for the Avalonia.Controls.NavigationPage.ModalPushed event.
- MultiPage - Abstract base class for pages that host a collection of child pages.
- NameScope - Implements a name scope.
- NameScopeExtensions - Extension methods for Avalonia.Controls.INameScope.
- NameScopeLocator
- NativeControlHost
- NativeDock - Allows native menu support on platforms where a Avalonia.Controls.NativeMenu can be attached to the dock.
- NativeMenu
- NativeMenuBar
- NativeMenuItem
- NativeMenuItemBase
- NativeMenuItemSeparator
- NativeWebDialog - Avalonia.Controls.NativeWebDialog is a dialog window that hosts a native web browser implementation. It provides a way to display web content in a separate window, particularly useful for platforms like Linux where embedded WebView controls might not be available.
- NativeWebView - NativeWebView is a control that provides a native web browser implementation for applications. It wraps platform-specific web controls and provides a unified API for web browsing functionality.
- NativeWebViewCommandManager
- NativeWebViewCookieManager
- NavigatedFromEventArgs - Provides data for the Avalonia.Controls.Page.NavigatedFrom event.
- NavigatedToEventArgs - Provides data for the Avalonia.Controls.Page.NavigatedTo event.
- NavigatingFromEventArgs - Provides data for the Avalonia.Controls.Page.Navigating event.
- NavigationEventArgs - Provides data for Avalonia.Controls.NavigationPage push and pop events.
- NavigationPage - A navigation page that supports simple stack-based navigation.
- NavigationType - Specifies the type of navigation that occurred.
- NumericUpDown - Control that represents a TextBox with button spinners that allow incrementing and decrementing numeric values.
- NumericUpDownValueChangedEventArgs
- Page - Abstract base class for all page types.
- PageInsertedEventArgs - Provides data for the Avalonia.Controls.NavigationPage.PageInserted event.
- PageNavigationHost - A content control that hosts a root Avalonia.Controls.PageNavigationHost.Page, wires up safe-area insets, and forwards the system back-button event into the page tree.
- PageRemovedEventArgs - Provides data for the Avalonia.Controls.NavigationPage.PageRemoved event.
- PageSelectionChangedEventArgs - Provides data for a page selection-changed event.
- Panel - Base class for controls that can contain multiple children.
- PathIcon
- PixelPointEventArgs - Provides Avalonia.PixelPoint data for events.
- PlacementMode - Defines the placement for a Avalonia.Controls.Primitives.Popup control.
- PlatformInhibitionType - A platform specific behavior that can be inhibited.
- PopulatedEventArgs - Provides data for the Avalonia.Controls.AutoCompleteBox.Populated event.
- PopulatingEventArgs - Provides data for the Avalonia.Controls.AutoCompleteBox.Populating event.
- ProgressBar - A control used to indicate the progress of an operation.
- ProgressBar.ProgressBarTemplateSettings - Provides calculated values for use with the Avalonia.Controls.ProgressBar's control theme or template.
- PseudoClassesExtensions
- RadioButton - Represents a button that allows a user to select a single option from a group of options.
- RefreshCompletionDeferral - Deferral class for notify that a work done in RefreshRequested event is done.
- RefreshContainer - Represents a container control that provides a Avalonia.Controls.RefreshVisualizer and pull-to-refresh functionality for scrollable content.
- RefreshRequestedEventArgs - Provides event data for RefreshRequested events.
- RefreshVisualizer
- RefreshVisualizerOrientation - Defines constants that specify the orientation of a RefreshVisualizer.
- RefreshVisualizerState - Defines constants that specify the state of a RefreshVisualizer
- RelativePanel - Defines an area within which you can position and align child objects in relation to each other or the parent panel.
- RepeatButton - Represents a control that raises its Avalonia.Controls.Button.Click event repeatedly when it is pressed and held.
- RequestBringIntoViewEventArgs
- ResolveByNameAttribute - Indicates that the property resolves an element by Name or x:Name. When applying this to attached properties, ensure to put on both the Getter and Setter methods.
- ResourceDictionary - An indexed dictionary of resources.
- ResourceNodeExtensions
- ResourceProvider - Base implementation for IResourceProvider interface. Includes Owner property management.
- ResourcesChangedEventArgs - Represents the event arguments of Avalonia.Controls.IResourceHost.ResourcesChanged. The Avalonia.Controls.ResourcesChangedEventArgs.SequenceNumber identifies the changes.
- ReversibleStackPanel - Implements a Avalonia.Controls.StackPanel where the flow direction of its items can be reversed.
- RgbComponent - Defines a specific component in the RGB color model.
- RowDefinition - Holds a row definitions for a Avalonia.Controls.Grid.
- RowDefinitions - A collection of Avalonia.Controls.RowDefinitions.
- Screens - Represents all screens available on a device.
- ScrollChangedEventArgs - Describes a change in scrolling state.
- ScrollViewer - A control which scrolls its content if the content is bigger than the space available.
- SelectableTextBlock - A control that displays a block of formatted text.
- SelectingMultiPage - Base class for multi-page controls with index-based selection.
- SelectionChangedEventArgs - Provides data for the Avalonia.Controls.Primitives.SelectingItemsControl.SelectionChanged event.
- SelectionMode - Defines the selection mode for a control which can select multiple items.
- Separator - A separator control.
- ShutdownMode - Describes the possible values for Avalonia.Controls.ApplicationLifetimes.IClassicDesktopStyleApplicationLifetime.ShutdownMode.
- SixteenColorPalette - Implements the standard sixteen color palette from the HTML 4.01 specification.
- SizeChangedEventArgs - Provides data specific to a SizeChanged event.
- SizeToContent - Determines how a Avalonia.Controls.Window will size itself to fit its content.
- Slider - A control that lets the user select from a range of values by moving a Thumb control along a Track.
- SpinDirection - Represents spin directions that could be initiated by the end-user.
- SpinEventArgs - Provides data for the Spinner.Spin event.
- Spinner - Base class for controls that represents controls that can spin.
- SplitButton - A button with primary and secondary parts that can each be pressed separately. The primary part behaves like a Avalonia.Controls.Button and the secondary part opens a flyout.
- SplitView - A control with two views: A collapsible pane and an area for content
- SplitViewDisplayMode - Defines constants for how the SplitView Pane should display
- SplitViewPanePlacement - Defines constants for where the Pane should appear
- StackPanel - A panel which lays out its children horizontally or vertically.
- TabControl - A tab control that displays a tab strip along with the content of the selected tab.
- TabItem - An item in a Avalonia.Controls.TabControl.
- TabPlacement - Specifies the position of the tab strip within a Avalonia.Controls.TabbedPage layout.
- TabbedPage - A page that displays its child pages through a tab strip.
- TextBlock - A control that displays a block of text.
- TextBox - Represents a control that can be used to display or edit unformatted text.
- TextChangedEventArgs - Provides data specific to a Avalonia.Controls.TextBox.TextChanged event.
- TextChangingEventArgs - Provides data specific to a Avalonia.Controls.TextBox.TextChanging event.
- ThemeVariantScope - Decorator control that isolates controls subtree with locally defined Avalonia.Styling.ThemeVariant.
- TickBar - An element that is used for drawing Avalonia.Controls.Slider's Ticks.
- TickBarPlacement - Enum which describes how to position the TickBar.
- TickPlacement - Enum which describes how to position the ticks in a Avalonia.Controls.Slider.
- TimePicker - A control to allow the user to select a time.
- TimePickerPresenter - Defines the presenter used for selecting a time. Intended for use with Avalonia.Controls.TimePicker but can be used independently
- TimePickerSelectedValueChangedEventArgs
- ToggleSplitButton - A button with primary and secondary parts that can each be pressed separately. The primary part behaves like a Avalonia.Controls.Primitives.ToggleButton with two states and the secondary part opens a flyout.
- ToggleSwitch - A Toggle Switch control.
- ToolTip - A control which pops up a hint when a control is hovered.
- TopLevel - Base class for top-level widgets.
- TransitionCompletedEventArgs - Represents the event arguments for Avalonia.Controls.TransitioningContentControl.TransitionCompletedEvent.
- TransitioningContentControl - Displays Avalonia.Controls.ContentControl.Content according to an Avalonia.Controls.Templates.IDataTemplate, using a Avalonia.Controls.TransitioningContentControl.PageTransition to move between the old and new content.
- TrayIcon
- TrayIcons
- TreeDataGrid - Represents a control that displays hierarchical and tabular data together in a single view. It is a combination of a TreeView and DataGrid control.
- TreeDataGridCellEventArgs - Provides data for events related to cell operations in a Avalonia.Controls.TreeDataGrid control.
- TreeDataGridItemsSourceView - Represents a standardized view of the supported interactions between a given ItemsSource object and a Avalonia.Controls.TreeDataGrid control.
- TreeDataGridItemsSourceView<T> - A strongly-typed view over a collection for use with Avalonia.Controls.TreeDataGrid.
- TreeDataGridRowDragEventArgs - Provides data for the Avalonia.Controls.TreeDataGrid.RowDragOver and Avalonia.Controls.TreeDataGrid.RowDrop events.
- TreeDataGridRowDragStartedEventArgs - Provides data for the Avalonia.Controls.TreeDataGrid.RowDragStarted event.
- TreeDataGridRowDropPosition - Specifies the position where a dragged row should be dropped relative to the target row.
- TreeDataGridRowEventArgs - Provides data for events related to row operations in a Avalonia.Controls.TreeDataGrid control.
- TreeView - Displays a hierarchical tree of data.
- TreeViewItem - An item in a Avalonia.Controls.TreeView.
- UserControl - Provides the base class for defining a new control that encapsulates related existing controls and provides its own logic.
- ValidSpinDirections - Represents spin directions that are valid.
- Viewbox - Viewbox is used to scale single child to fit in the available space.
- VirtualizingCarouselPanel - A panel used by Avalonia.Controls.Carousel to display the current item.
- VirtualizingPanel - Base class for panels that can be used to virtualize items for an Avalonia.Controls.VirtualizingPanel.ItemsControl.
- VirtualizingStackPanel - Arranges and virtualizes content on a single line that is oriented either horizontally or vertically.
- WebAuthenticationBroker - Avalonia.Controls.WebAuthenticationBroker is a utility class that facilitates OAuth and other web-based authentication flows by providing a secure way to handle web authentication in applications.
- WebAuthenticationResult
- WebAuthenticatorOptions - Authentication options that control the broker's behavior.
- WebMessageReceivedEventArgs
- WebResourceRequestedEventArgs
- WebViewAdapterEventArgs
- WebViewEnvironmentRequestedEventArgs
- WebViewNavigationCompletedEventArgs
- WebViewNavigationEventArgs
- WebViewNavigationStartingEventArgs
- WebViewNewWindowRequestedEventArgs
- WebViewWebRequestHeaders
- WebViewWebResourceRequest
- Win32Properties - Set of Win32 specific properties and events that allow deeper customization of the application per platform.
- Win32Properties.CustomWindowStylesCallback
- Win32Properties.CustomWndProcHookCallback
- Win32Properties.Win32HitTestValue
- Window - A top-level window.
- WindowBase - Base class for top-level windows.
- WindowCloseReason - Specifies the reason that a window was closed.
- WindowClosingBehavior - Describes how the Avalonia.Controls.Window.Closing event behaves in the presence of child windows.
- WindowClosingEventArgs - Provides data for the Avalonia.Controls.Window.Closing event.
- WindowDecorations - Determines window decorations (title bar, border, etc) for a Avalonia.Controls.Window
- WindowEdge
- WindowIcon - Represents an icon for a window.
- WindowResizeReason - Describes the reason for a Avalonia.Controls.WindowBase.Resized event.
- WindowResizedEventArgs - Provides data for the Avalonia.Controls.WindowBase.Resized event.
- WindowStartupLocation - Determines the startup location of the window.
- WindowState - Defines the minimized/maximized state of a Avalonia.Controls.Window.
- WindowTransparencyLevel
- WindowTransparencyLevelCollection
- 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 Avalonia.Controls.WrapPanel.Orientation property.
- WrapPanelItemsAlignment
- X11Properties - Set of X11 specific properties and events that allow deeper customization of the application per platform.