Hi,
Welcome to Microsoft Q&A!
Windows toast notifications use Ctrl+Enter to perform the quick reply and use Enter to add a new line.
Currently, uwp does not provide a way to change it.
Update:
ToastButton.TextBoxId can get or set the ID of an existing ToastTextBox in order to have this button display to the right of the input, achieving a quick reply scenario.
So, this quick reply function depends on you using ToastButton.TextBoxId to make the button behave as a quick reply button. You could set the same Id for the textbox and the button.
For example(ToastButton.TextBoxId and ToastTextBox.Id in the code below are the same, both are "tbReply"):
ToastActionsCustom actions = new ToastActionsCustom()
{
Inputs =
{
new ToastTextBox("tbReply")
{
PlaceholderContent = "Type a response"
}
},
Buttons =
{
new ToastButton("Reply", new QueryString()
{
{ "action", "reply" },
{ "conversationId", conversationId.ToString() }
}.ToString())
{
ActivationType = ToastActivationType.Background,
ImageUri = "Assets/Reply.png",
// Reference the text box's ID in order to quick reply
TextBoxId = "tbReply"
},
……
}
};
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.