Controls
AlterNET UI provides a set of standard controls which use native API and look and feel precisely like native elements on all platforms and different screen resolutions.
Examples of how a ListBox can look on different platforms:
AlterNET UI provides the following core controls:
Containers: Grid, StackPanel, VerticalStackPanel, HorizontalStackPanel, GroupBox, Border, TabControl, SplittedPanel, LayoutPanel.
These controls act as containers for other controls and provide a different kinds of layouts in your windows.
A ScrollViewer is a special kind of container which makes its child controls scrollable.
Inputs controls: Button, CheckBox, ComboBox, RadioButton, NumericUpDown, TextBox, DateTimePicker and Slider.
These controls most often detect and respond to user input. The control classes expose API to handle text and mouse input, focus management, and more.
Data display: ListBox, ListView, TreeView, CheckListBox, VirtualListBox, PropertyGrid.
These controls provide a visual representation of data elements in different layouts or views.
Html display: WebBrowser.
This control may be used to render full featured web documents.
Informational: Label, ProgressBar.
These controls are designed to present information to the user in a visual form.
In AlterNET UI, each control is defined within a rectangle that represents its boundaries. The actual size of this rectangle is calculated by the layout system at runtime using automatic measurements based on the available screen size, parent properties, and element properties such as border, width, height, margin, and padding.