Getting Started with WinUI Chat
This topic will guide you through the process of creating a sample application containing RadChat
.
Prerequisites
Before adding the Badge, you need to:
-
Create your Telerik UI for WinUI application and install the Telerik UI for WinUI components depending on the required installation approach:
Add the Assembly References
To use the RadChat component, add references to Telerik.WinUI.Controls.dll
and Telerik.Licensing.Runtime.dll
.
Define the Component
To use the control, create a new RadChat instance.
Defining RadChat
Adding Authors to RadChat
Two authors will be defined for the following example. Note, that the CurrentAuthor
property of RadChat must be set.
Adding Authors to RadChat
Handling the Sent Message
The user's input can be handled by hooking up to the SendMessage
event of RadChat. The event arguments are of the type of SendMessageEventArgs
.