Example of API in ASP.NET MVC Chat UI Control

Chat UI
API

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
October 25, 2024
10/25 11:07 PM
Hey Michale, Charlie! Seen the latest posts in the Design Community? Amazing projects!
Michale Suyama
10/25 08:00 AM
MS
Hi Alice! Yes, Dana’s new UI design is incredible.
Charlie
10/25 11:00 AM
Avatar
Hey! I loved Dana’s use of color. Frank’s typography guide was great too.
Jordan Peele
10/25 11:30 AM
JP
Dana’s work is so inspiring!
October 26, 2024
10/26 11:00 AM
Absolutely! Any new community events planned?
Michale Suyama
10/26 12:15 PM
MS
We should organize a design challenge.
Janet
10/26 12:17 PM
Avatar
I am excited to see the new projects.
Charlie
10/26 12:30 PM
Avatar
Great idea! Let’s discuss it in the next meeting.
July 10, 2025
07/10 09:00 AM
Sounds good! This community is so inspiring.
Michale Suyama
07/10 09:00 AM
MS
Agreed! Excited to see everyone’s ideas.
Charlie
07/10 09:00 AM
Avatar
I am looking forward to the design challenge.
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.

Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab