Example of API in ASP.NET MVC Chat UI Control
This sample demonstrates the properties available in the Chat UI control, showcasing how various features can be customized through the property pane. It highlights the flexibility of the control, allowing users to adjust timestamps, headers, footers, time breaks, and more.
Design Community
Properties
Timestamp format | |
Show timestamp |
|
Show timebreak |
|
Show header |
|
Show footer |
|
Compact Mode |
|
Typing users |
|
In this sample, the following APIs and properties are demonstrated for customization:
timeStampFormat
: Allows users to change the timestamp format by selecting an option from the property pane.showTimeStamp
: Controls whether the timestamp is displayed in the chat, toggled via the property pane.showTimeBreak
: Enables or disables the display of time breaks in the chat interface.showHeader
: Lets users toggle the visibility of the chat header.showFooter
: Toggles the visibility of the chat footer.enableCompactMode
: Reduces spacing and left-aligns all messages to display more content within the visible chat area.typingUsers
: Allows users to manage the list of users who are typing, updated through the multi-select options in the property pane.statusIconCss
: Defines a CSS class for the status bar icon, with built-in styles for Online, Offline, Away, and Busy statuses, while allowing further customization.messageToolbarSettings
: Configures the toolbar that appears on individual messages, allowing customization such as copy, forward, reply, pin and delete. Supports adding, removing, or reordering toolbar items based on application needs.
These properties can be adjusted via the property pane for a highly flexible and customizable chat experience.