Core WinUI APIs
Button
Implements a clickable button control.
TextBox
Input control for textual data.
ListView
Displays a collection of items in a vertical list.
Grid
Provides flexible layout with rows and columns.
CommandBar
Hosts app commands, often displayed at the top or bottom.
NavigationView
Standard pattern for navigation menus.
DatePicker
Allows users to select a date.
SplitView
Creates a pane and content area for navigation.
TabView
Container for tabbed navigation.
RadioButton
Single-choice selection control.
Slider
Represents a range of values with a movable thumb.
ToggleButton
A button that can be toggled on or off.
Sample Usage
<Window
x:Class="MyApp.MainWindow">
<Grid>
<StackPanel HorizontalAlignment="Center"
VerticalAlignment="Center"
Spacing="12">
<Button Content="Click me"
Click="OnClick"/>
<TextBox x:Name="Output"
Width="200"
IsReadOnly="True"/>
</StackPanel>
</Grid>
</Window>
private void OnClick(object sender, RoutedEventArgs e)
{
Output.Text = "Button clicked!";
}