ToastSelectionBox Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A selection box control, which lets users pick from a dropdown list of options.
public sealed class ToastSelectionBox : Microsoft.Toolkit.Uwp.Notifications.IToastInput
type ToastSelectionBox = class
interface IToastInput
Public NotInheritable Class ToastSelectionBox
Implements IToastInput
- Inheritance
-
ToastSelectionBox
- Implements
Constructors
ToastSelectionBox(String) |
Initializes a new instance of the ToastSelectionBox class. A Toast SelectionBox input control with the required elements. |
Properties
DefaultSelectionBoxItemId |
Gets or sets which item is selected by default, and refers to the Id property of ToastSelectionBoxItem. If you do not provide this, the default selection will be empty (user sees nothing). |
Id |
Gets the required ID property used so that developers can retrieve user input once the app is activated. |
Items |
Gets the selection items that the user can pick from in this SelectionBox. Only 5 items can be added. |
Title |
Gets or sets title text to display above the SelectionBox. |