Windows UI Library (WinUI 3) - Controls
Grid
The Grid control provides a two-dimensional grid layout for arranging controls. It's a powerful and flexible way to organize your UI.
- Supports scrolling
- Allows for dynamic resizing
- Provides efficient layout management
Textbox
The Textbox control provides a single-line text input field. It's ideal for collecting simple text information from the user.
- Supports various input modes
- Offers validation options
- Can be bound to data sources
Button
The Button control is a standard UI element that triggers an action when clicked. It is fundamental to interactive applications.
- Can be configured with various themes
- Can perform actions when clicked
- Supports click handling events
Checkbox
The Checkbox control provides a toggleable option that allows the user to select or deselect an option.
- Useful for enabling/disabling features
- Can be bound to boolean values
- Provides visual feedback on the selected state
Radiobutton
The Radiobutton control allows the user to select one option from a group of mutually exclusive options.
- Ideal for selecting from a list of choices
- Provides clear visual indication of the selected option
- Allows users to restrict their selection
Slider
The Slider control offers a visual way for users to select a value from a range. This is especially useful for numerical input.
- Offers precision control over numerical values
- Provides visual feedback on the selected value
- Allows for easy adjustments in real-time
Combobox
The Combobox control presents a list of available options for the user to select from, with a text input field to filter the list. It combines the functionality of a textbox and a dropdown.
- Offers a dynamic selection of options
- Allows for filtering of the list
- Provides easy access to related data
TabControl
The TabControl control provides a series of tabs, each containing a distinct section of content. This is great for applications with multiple, related panels.
- Allows users to switch between different sections
- Can be customized with various themes
- Facilitates organization of complex UI elements
ListBox
The ListBox control allows the user to select one or more items from a list. This control is excellent when you need a quick selection between multiple options.
- Provides a user-friendly selection interface
- Supports multiple item selection
- Can be bound to data sources
TreeView
The TreeView control displays hierarchical data in a tree structure, allowing users to navigate through nested categories and items.
- Useful for organizing complex data
- Provides visual representation of hierarchies
- Facilitates navigation through complex data structures
Progressbar
The Progressbar control visually indicates the progress of a task or operation. Useful in processes that take time to complete.
- Displays the completion percentage
- Provides feedback on the progress of a task
- Enhances user experience in long-running processes
Dropdown
The Dropdown control offers a list of options that the user can select from. Similar to a Combobox, but with a simpler selection method.
- Offers a straightforward selection interface
- Suitable for small lists of options
- Typically used within Comboboxes