

'Declaration<TemplatePartAttribute(Name="PART_ScrollViewer", Type=System.Windows.Controls.ScrollViewer)> <DefaultEventAttribute("OnItemsChanged")> <DefaultPropertyAttribute("Items")> <ContentPropertyAttribute("Items")> <StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=System.Windows.FrameworkElement)> <LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)> <XmlLangPropertyAttribute("Language")> <UsableDuringInitializationAttribute(True)> <RuntimeNamePropertyAttribute("Name")> <UidPropertyAttribute("Uid")> <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)> <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)> Public Class ChatControl Inherits System.Windows.Controls.ItemsControl
'UsageDim instance As ChatControl
[TemplatePart(Name="PART_ScrollViewer", Type=System.Windows.Controls.ScrollViewer)] [DefaultEvent("OnItemsChanged")] [DefaultProperty("Items")] [ContentProperty("Items")] [StyleTypedProperty(Property="ItemContainerStyle", StyleTargetType=System.Windows.FrameworkElement)] [Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)] [XmlLangProperty("Language")] [UsableDuringInitialization(true)] [RuntimeNameProperty("Name")] [UidProperty("Uid")] [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)] [NameScopeProperty("NameScope", System.Windows.NameScope)] public class ChatControl : System.Windows.Controls.ItemsControl
This control was designed with AI assistant & messaging scenarios in mind.
It renders a full conversation view with message bubbles, role-aware layout, avatars, typing indicators & a built-in input area.
It supports three message roles, User, Assistant & System, each with independent styling, avatar & visibility configuration.
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ItemsControl
Xceed.Wpf.Toolkit.ChatControl
| Name | Description | |
|---|---|---|
![]() | ChatControl Constructor |
| Name | Description | |
|---|---|---|
![]() | FindLogicalAncestor<T> | Finds the logical ancenster |
![]() | FindLogicalAncestorsAndSelf | |
![]() | FindLogicalChildren<T> | Find the logical children. |
![]() | FindVisualAncestor<T> | Finds the visual ancestor. |
![]() | FindVisualChildren<T> | Finds the visual children. |
![]() | FindVisualTreeRoot | Finds the visual tree root. |
![]() | ShowDialog | Overloaded. |
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.