WinUI 3 C++ Controls Guide – InfoBar Message Bar
An info bar is a colored text box control. It displays different color styles to indicate success, warning, error and other types of messages. The info bar can be closed …
Independent Software Developer Studio
WinUI 3 with C++ is Microsoft’s native high-performance XAML UI framework for building modern standalone Windows desktop applications using standard C++17.
An info bar is a colored text box control. It displays different color styles to indicate success, warning, error and other types of messages. The info bar can be closed …
First we demonstrate Popup In XAML, add a button to open this Popup on click. We also declare a Popup hidden by default, which will only appear after clicking the …
Navigation and tab-related controls in WinUI 3 Frame Page navigation frame (hosts Page to implement page jumps)Page Independent page carrierNavigationView Sidebar navigation viewNavigationViewItem Navigation menu itemNavigationViewItemHeader Navigation group titleNavigationViewItemSeparator Navigation …
Grid Grid layout (row & column division)StackPanel Stack panel (horizontal / vertical arrangement)UniformGrid Equal-size uniform gridRelativePanel Relative positioning panel (anchor controls to each other)Canvas Absolute coordinate drawing canvasDockPanel Dock panel …
Date selection and color selection controls ColorPicker Full color pickerColorSpectrum Color gamut panelColorSlider Single channel slider (RGB/Alpha) ColorPicker Full color pickerColorSpectrum Color gamut panelColorSlider Single channel slider (RGB/Alpha) First create …
Progress bars are widely used in projects. WinUI C++ provides several progress bar controls for us to use. Control Name Description Slider Single-value slider RangeSlider Dual thumb range slider (select …
Next we will introduce several view controls used to display multiple items. They are commonly used to render batches of data, presenting a vertical list, grid or table layout. Control …
Now we will implement a frequently used function: dynamically add items to a ListBox. Click the button to insert a new item into the ListBox’s Items collection. This feature is …
In this lesson, we will learn selection and toggle controls for WinUI 3 C++. Control Name Description CheckBox Multi-select checkbox RadioButton Single-choice radio button (mutually exclusive within the same GroupName) …
We have already used button controls in previous lessons, and the most basic one is Button. Next, we will learn other types of button controls. Buttons are interactive UI elements …