Documentation
On this page

@sharpts/gui

Components

Native desktop controls and the props accepted by each control.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Symbols

ComponentBorder

Decorates one child with background and border.

InterfaceBorderProps

Properties accepted by the Border component.

ComponentButton

Clickable button with text or one retained content element.

InterfaceButtonProps

Properties accepted by the Button component.

ComponentCanvas

Absolute-positioned child canvas.

InterfaceCanvasProps

Properties accepted by the Canvas component.

ComponentCheckBox

Boolean toggle with text or one retained content element.

InterfaceCheckBoxProps

Properties accepted by the CheckBox component.

ComponentComboBox

Single-selection drop-down list.

InterfaceComboBoxProps

Properties accepted by the ComboBox component.

ComponentDatePicker

ISO date picker.

InterfaceDatePickerProps

Properties accepted by the DatePicker component.

ComponentDockPanel

Docks children to container edges.

InterfaceDockPanelProps

Properties accepted by the DockPanel component.

ComponentDrawingCanvas

Retained drawing surface for lines, rectangles, ellipses, polylines, bounded text, and images.

InterfaceDrawingCanvasProps

Properties accepted by the DrawingCanvas component.

ComponentGrid

Grid layout using Avalonia row and column syntax.

InterfaceGridProps

Properties accepted by the Grid component.

ComponentImage

Displays an application image asset.

InterfaceImageProps

Properties accepted by the Image component.

ComponentItemsControl

Native items host for keyed templated children.

InterfaceItemsControlProps

Properties accepted by the ItemsControl component.

ComponentListBox

Single- or multiple-selection list.

InterfaceListBoxProps

Properties accepted by the ListBox component.

ComponentMenu

Menu item container.

ComponentMenuItem

Menu command or submenu.

InterfaceMenuItemProps

Properties accepted by the MenuItem component.

InterfaceMenuProps

Properties accepted by the Menu component.

ComponentNumericUpDown

Numeric spinner input.

InterfaceNumericUpDownProps

Properties accepted by the NumericUpDown component.

ComponentPasswordBox

Masked text input.

InterfacePasswordBoxProps

Properties accepted by the PasswordBox component.

ComponentProgressBar

Read-only range progress display.

InterfaceProgressBarProps

Properties accepted by the ProgressBar component.

ComponentRadioButton

Mutually exclusive grouped toggle.

InterfaceRadioButtonProps

Properties accepted by the RadioButton component.

ComponentRichTextBlock

TextBlock with independently formatted inline runs.

InterfaceRichTextBlockProps

Properties accepted by the RichTextBlock component.

ComponentScrollViewer

Scrollable single-child viewport.

InterfaceScrollViewerProps

Properties accepted by the ScrollViewer component.

ComponentSeparator

Visual separator.

InterfaceSeparatorProps

Properties accepted by the Separator component.

ComponentSlider

Continuous range input.

InterfaceSliderProps

Properties accepted by the Slider component.

ComponentStackPanel

Lays out children in one row or column.

InterfaceStackPanelProps

Properties accepted by the StackPanel component.

ComponentStatusBar

Status container backed by a Border.

ComponentTabControl

Tabbed page selector.

InterfaceTabControlProps

Properties accepted by the TabControl component.

ComponentTabItem

One tab page.

InterfaceTabItemProps

Properties accepted by the TabItem component.

ComponentTextBlock

Displays textual children.

InterfaceTextBlockProps

Properties accepted by the TextBlock component.

ComponentTextBox

Editable text input.

InterfaceTextBoxProps

Properties accepted by the TextBox component.

ComponentTimePicker

Time picker.

InterfaceTimePickerProps

Properties accepted by the TimePicker component.

ComponentToggleSwitch

Switch-style boolean toggle.

InterfaceToggleSwitchProps

Properties accepted by the ToggleSwitch component.

ComponentToolBar

Horizontal command container.

ComponentTreeView

Hierarchical native tree host.

ComponentTreeViewItem

One expandable native tree node.

InterfaceTreeViewItemProps

Properties accepted by the TreeViewItem component.

InterfaceTreeViewProps

Properties accepted by the TreeView component.

ComponentVirtualizingList

Virtualizing native list whose keyed children are produced by a typed item template.

InterfaceVirtualizingListProps

Properties accepted by the VirtualizingList component.

ComponentWindow

Top-level desktop window.

InterfaceWindowProps

Properties accepted by the Window component.

ComponentWrapPanel

Wraps children across available space.

InterfaceWrapPanelProps

Properties accepted by the WrapPanel component.