Class
RadChatElement

Represents a chat element that provides comprehensive chat functionality including message display, user input handling, suggested actions management, overlay features, and extensive customization options for chat user interfaces.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class RadChatElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadChatElement

Derived Classes: RadPdfChatElement

Implements: IBindableComponentIBorderElementIBoxElementIBoxStyleIComponentICustomTypeDescriptorIDisposableIDrawFillElementIFillElementIImageElementINotifyPropertyChangedIPrimitiveElementIShapedElementIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkinITextPrimitiveITextProvider

Inherited Members LightVisualElement.BackgroundImagePropertyLightVisualElement.BackgroundImageLayoutPropertyLightVisualElement.BackColor2PropertyLightVisualElement.BackColor3PropertyLightVisualElement.BackColor4PropertyLightVisualElement.BorderBottomColorPropertyLightVisualElement.BorderBottomShadowColorPropertyLightVisualElement.BorderBottomWidthPropertyLightVisualElement.BorderBoxStylePropertyLightVisualElement.BorderColorPropertyLightVisualElement.BorderColor2PropertyLightVisualElement.BorderColor3PropertyLightVisualElement.BorderColor4PropertyLightVisualElement.BorderDashStylePropertyLightVisualElement.BorderDashPatternPropertyLightVisualElement.BorderDrawModePropertyLightVisualElement.BorderGradientAnglePropertyLightVisualElement.BorderGradientStylePropertyLightVisualElement.BorderInnerColorPropertyLightVisualElement.BorderInnerColor2PropertyLightVisualElement.BorderInnerColor3PropertyLightVisualElement.BorderInnerColor4PropertyLightVisualElement.BorderLeftColorPropertyLightVisualElement.BorderLeftShadowColorPropertyLightVisualElement.BorderLeftWidthPropertyLightVisualElement.BorderRightColorPropertyLightVisualElement.BorderRightShadowColorPropertyLightVisualElement.BorderRightWidthPropertyLightVisualElement.BorderTopColorPropertyLightVisualElement.BorderTopShadowColorPropertyLightVisualElement.BorderTopWidthPropertyLightVisualElement.BorderWidthPropertyLightVisualElement.ClipTextPropertyLightVisualElement.DisabledTextRenderingHintPropertyLightVisualElement.DrawBorderPropertyLightVisualElement.DrawFillPropertyLightVisualElement.DrawTextPropertyLightVisualElement.DrawBackgroundImagePropertyLightVisualElement.DrawImagePropertyLightVisualElement.EnableImageTransparencyPropertyLightVisualElement.GradientAnglePropertyLightVisualElement.GradientPercentagePropertyLightVisualElement.GradientPercentage2PropertyLightVisualElement.GradientStylePropertyLightVisualElement.HorizontalLineColorPropertyLightVisualElement.HorizontalLineWidthPropertyLightVisualElement.ImageAlignmentPropertyLightVisualElement.ImageIndexPropertyLightVisualElement.ImageKeyPropertyLightVisualElement.ImageLayoutPropertyLightVisualElement.ImageOpacityPropertyLightVisualElement.ImagePropertyLightVisualElement.ImageTransparentColorPropertyLightVisualElement.NumberOfColorsPropertyLightVisualElement.ShowHorizontalLinePropertyLightVisualElement.SvgImagePropertyLightVisualElement.TextAlignmentPropertyLightVisualElement.TextImageRelationPropertyLightVisualElement.TextWrapPropertyLightVisualElement.TextRenderingHintPropertyLightVisualElement.GetBorderThickness(LightVisualElement, bool)LightVisualElement.InitializeFields()LightVisualElement.ShouldSerializeProperty(PropertyDescriptor)LightVisualElement.GetImageDrawTypeLocalValue()LightVisualElement.MapStyleProperty(RadProperty, string)LightVisualElement.GetStylablePropertiesFilter()LightVisualElement.GetPaintingBorderWidth()LightVisualElement.OnBitStateChanged(long, bool, bool)LightVisualElement.GetAsBitmapEx(Color, float, SizeF)LightVisualElement.GetClipRect()LightVisualElement.PaintElement(IGraphics, float, SizeF)LightVisualElement.PaintText(IGraphics)LightVisualElement.PaintTextCore(IGraphics)LightVisualElement.DrawHorizontalLineWithoutText(IGraphics)LightVisualElement.DrawHorizontalLine(IGraphics)LightVisualElement.PaintImage(IGraphics)LightVisualElement.PaintSvgImage(IGraphics)LightVisualElement.PaintBackgroundImage(IGraphics)LightVisualElement.PaintContent(IGraphics)LightVisualElement.AnimateImage(Image, bool)LightVisualElement.ClipImage(Image, Rectangle, Size)LightVisualElement.MeasureOverride(SizeF)LightVisualElement.CalculateDesiredSize(SizeF, SizeF, SizeF)LightVisualElement.MeasureElements(SizeF, SizeF, Padding)LightVisualElement.ArrangeOverride(SizeF)LightVisualElement.ArrangeElement(RadElement, SizeF)LightVisualElement.GetClientOffset(bool)LightVisualElement.GetBorderThickness(bool)LightVisualElement.GetClientRectangle(bool, SizeF)LightVisualElement.GetClientRectangle(SizeF)LightVisualElement.GetTextAlignment(ContentAlignment)LightVisualElement.GetTextAlignment()LightVisualElement.OnLoaded()LightVisualElement.OnTunnelEvent(RadElement, RoutedEventArgs)LightVisualElement.ToggleTextPrimitive(RadProperty)LightVisualElement.OnAnimatedImageFrameChanged()LightVisualElement.OnMouseMove(MouseEventArgs)LightVisualElement.GetFaceRectangle()LightVisualElement.CreateTextParams()LightVisualElement.PaintPrimitive(IGraphics, float, SizeF, TextParams)LightVisualElement.PaintPrimitive(IGraphics, TextParams)LightVisualElement.MeasureOverride(SizeF, TextParams)LightVisualElement.OnMouseMove(object, MouseEventArgs)LightVisualElement.GetTextSize(SizeF, TextParams)LightVisualElement.GetTextSize(TextParams)LightVisualElement.TextRenderingHintLightVisualElement.DisabledTextRenderingHintLightVisualElement.ShouldPaintLightVisualElement.CanFocusLightVisualElement.DrawTextLightVisualElement.DrawFillLightVisualElement.DrawBorderLightVisualElement.DrawBackgroundImageLightVisualElement.DrawImageLightVisualElement.BorderBoxStyleLightVisualElement.BorderDrawModeLightVisualElement.BorderWidthLightVisualElement.BorderLeftWidthLightVisualElement.BorderTopWidthLightVisualElement.BorderRightWidthLightVisualElement.BorderBottomWidthLightVisualElement.BorderGradientAngleLightVisualElement.BorderGradientStyleLightVisualElement.BorderColorLightVisualElement.BorderColor2LightVisualElement.BorderColor3LightVisualElement.BorderColor4LightVisualElement.BorderInnerColorLightVisualElement.BorderInnerColor2LightVisualElement.BorderInnerColor3LightVisualElement.BorderInnerColor4LightVisualElement.BackColor2LightVisualElement.BackColor3LightVisualElement.BackColor4LightVisualElement.NumberOfColorsLightVisualElement.GradientStyleLightVisualElement.GradientAngleLightVisualElement.GradientPercentageLightVisualElement.GradientPercentage2LightVisualElement.BackgroundImageLightVisualElement.ImageLightVisualElement.ImageIndexLightVisualElement.ImageKeyLightVisualElement.ImageLayoutLightVisualElement.BackgroundImageLayoutLightVisualElement.ImageOpacityLightVisualElement.DisabledImageOpacityLightVisualElement.TextAlignmentLightVisualElement.ImageAlignmentLightVisualElement.TextImageRelationLightVisualElement.ShowHorizontalLineLightVisualElement.HorizontalLineColorLightVisualElement.HorizontalLineWidthLightVisualElement.DisableHTMLRenderingLightVisualElement.BorderLeftColorLightVisualElement.BorderTopColorLightVisualElement.BorderRightColorLightVisualElement.BorderBottomColorLightVisualElement.BorderLeftShadowColorLightVisualElement.BorderTopShadowColorLightVisualElement.BorderRightShadowColorLightVisualElement.BorderBottomShadowColorLightVisualElement.ClipTextLightVisualElement.LayoutLightVisualElement.ImageTransparentColorLightVisualElement.BorderDashStyleLightVisualElement.BorderDashPatternLightVisualElement.EnableImageTransparencyLightVisualElement.SvgImageLightVisualElement.ImageDrawTypeLightVisualElement.AutoEllipsisLightVisualElement.UseMnemonicLightVisualElement.TextWrapLightVisualElement.ShowKeyboardCuesLightVisualElement.MeasureTrailingSpacesLightVisualElement.TextParamsUIItemBase.PaintFill(IGraphics, float, SizeF)UIItemBase.GetFillPaintRect(float, SizeF)UIItemBase.PaintFill(IGraphics, float, SizeF, RectangleF)UIItemBase.PaintBorder(IGraphics, float, SizeF)UIItemBase.PaintBorder(IGraphics, float, SizeF, RectangleF)UIItemBase.OnBoundsChanged(RadPropertyChangedEventArgs)UIItemBase.GetBorderPaintRect(float, SizeF)UIItemBase.ShouldUsePaintBuffer()RadItem.KeyDownEventRadItem.KeyPressEventRadItem.KeyUpEventRadItem.FocusCommandRadItem.ActionCommandRadItem.UseDefaultDisabledPaintPropertyRadItem.TextPropertyRadItem.TextOrientationPropertyRadItem.FlipTextPropertyRadItem.IsAddNewItemPropertyRadItem.ToolTipTextPropertyRadItem.EnableElementShadowPropertyRadItem.ShadowDepthPropertyRadItem.ShadowColorPropertyRadItem.IsPaintingRippleRadItem.EnableRippleAnimationPropertyRadItem.RippleAnimationColorPropertyRadItem.EnableFocusBorderPropertyRadItem.FocusBorderColorPropertyRadItem.FocusBorderWidthPropertyRadItem.EnableFocusBorderAnimationPropertyRadItem.EnableHighlightPropertyRadItem.HighlightColorPropertyRadItem.EnableBorderHighlightPropertyRadItem.BorderHighlightColorPropertyRadItem.BorderHighlightThicknessPropertyRadItem.VisualStatePropertyRadItem.SetOwnerCollection(RadItemOwnerCollection)RadItem.Select()RadItem.OnSelect()RadItem.Deselect()RadItem.OnDeselect()RadItem.DoKeyDown(KeyEventArgs)RadItem.DoKeyPress(KeyPressEventArgs)RadItem.DoKeyUp(KeyEventArgs)RadItem.OnKeyDown(KeyEventArgs)RadItem.OnKeyPress(KeyPressEventArgs)RadItem.OnKeyUp(KeyEventArgs)RadItem.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadItem.OnPropertyChanging(RadPropertyChangingEventArgs)RadItem.OnEnabledChanged(RadPropertyChangedEventArgs)RadItem.OnTextChanging(TextChangingEventArgs)RadItem.OnTextChanged(EventArgs)RadItem.OnTextOrientationChanged(EventArgs)RadItem.OnFlipTextChanged(EventArgs)RadItem.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadItem.OnMouseDown(MouseEventArgs)RadItem.OnMouseUp(MouseEventArgs)RadItem.OnMouseLeave(EventArgs)RadItem.StartRippleAnimation(MouseEventArgs)RadItem.UpdateFocusBorder(bool)RadItem.ContainsText()RadItem.ProcessDialogKey(Keys)RadItem.ProcessCmdKey(ref Message, Keys)RadItem.RaiseKeyDown(KeyEventArgs)RadItem.RaiseKeyPress(KeyPressEventArgs)RadItem.RaiseKeyUp(KeyEventArgs)RadItem.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadItem.CallOnGesture(GestureEventArgs)RadItem.OnGesture(GestureEventArgs)RadItem.OnTwoFingerTapGesture(GestureEventArgs)RadItem.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadItem.OnPanGesture(PanGestureEventArgs)RadItem.OnRotateGesture(RotateGestureEventArgs)RadItem.OnZoomGesture(ZoomGestureEventArgs)RadItem.CanDragCore(Point)RadItem.GetDragContextCore()RadItem.GetDragHintCore()RadItem.ProcessDragDrop(Point, ISupportDrag)RadItem.ProcessDragOver(Point, ISupportDrag)RadItem.ProcessDragEnter(Point, ISupportDrag)RadItem.ProcessDragLeave(Point, ISupportDrag)RadItem.UpdateOnShortcutsChanged()RadItem.CanHandleShortcut(ShortcutEventArgs)RadItem.IsOnActiveForm(Control, bool)RadItem.SetThemeValueOverride(RadProperty, object, string)RadItem.SetThemeValueOverride(RadProperty, object, string, string)RadItem.SetThemeValueOverride(RadProperty, object, string, Type)RadItem.ResetThemeValueOverride(RadProperty)RadItem.ResetThemeValueOverride(RadProperty, string)RadItem.ResetThemeValueOverrides()RadItem.GetAvailableVisualStates()RadItem.ShouldFallbackToDefaultTheme()RadItem.UseDefaultDisabledPaintRadItem.TextOrientationRadItem.FlipTextRadItem.CanHaveOwnStyleRadItem.TextRadItem.SelectableRadItem.DefaultAutoToolTipRadItem.ShouldHandleMouseInputRadItem.KeyTipRadItem.ParentItemRadItem.ShortcutsHandlerRadItem.EnableElementShadowRadItem.ShadowDepthRadItem.ShadowColorRadItem.EnableRippleAnimationRadItem.RippleAnimationColorRadItem.EnableFocusBorderRadItem.FocusBorderColorRadItem.FocusBorderWidthRadItem.EnableFocusBorderAnimationRadItem.EnableHighlightRadItem.HighlightColorRadItem.EnableBorderHighlightRadItem.BorderHighlightColorRadItem.BorderHighlightThicknessRadItem.MnemonicTextRadItem.ToolTipTextRadItem.ThemeRoleRadItem.VisualStateRadItem.StateManagerRadItem.AllowDragRadItem.AllowDropRadItem.ShortcutsRadItem.AccessibleDescriptionRadItem.AccessibleNameRadItem.AccessibleRoleRadItem.TextChangingRadItem.TextChangedRadItem.TextOrientationChangedRadItem.FlipTextChangedRadItem.QueryAccessibilityHelpRadItem.KeyDownRadItem.KeyPressRadItem.KeyUpRadItem.ZoomGestureRadItem.RotateGestureRadItem.PanGestureRadItem.TwoFingerTapGestureRadItem.PressAndTapGestureRadComponentElement.ToString()RadComponentElement.GetService(Type)RadComponentElement.CanRaiseEventsRadComponentElement.ContainerRadComponentElement.DesignModeRadComponentElement.SiteRadComponentElement.DataBindingsVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.ForeColorVisualElement.BackColorVisualElement.FontVisualElement.CustomFontVisualElement.CustomFontSizeVisualElement.CustomFontStyleVisualElement.SmoothingModeVisualElement.OpacityVisualElement.FontChangedRadElement.BoundsPropertyRadElement.BorderThicknessPropertyRadElement.PaddingPropertyRadElement.MarginPropertyRadElement.AlignmentPropertyRadElement.AutoSizeModePropertyRadElement.FitToSizeModePropertyRadElement.MinSizePropertyRadElement.EnabledPropertyRadElement.CanFocusPropertyRadElement.IsItemFocusedPropertyRadElement.IsFocusedPropertyRadElement.IsMouseOverPropertyRadElement.IsMouseOverElementPropertyRadElement.IsMouseDownPropertyRadElement.ShouldPaintPropertyRadElement.VisibilityPropertyRadElement.NamePropertyRadElement.ClassPropertyRadElement.ClipDrawingPropertyRadElement.ShapePropertyRadElement.MouseClickedEventRadElement.MouseDoubleClickedEventRadElement.MouseDownEventRadElement.MouseUpEventRadElement.MouseWheelEventRadElement.ChildElementAddedEventRadElement.ParentChangedEventRadElement.BoundsChangedEventRadElement.VisibilityChangingEventRadElement.EnabledChangedEventRadElement.ControlChangedEventRadElement.BackgroundShapePropertyRadElement.BackgroundShapePaintModePropertyRadElement.ContainsFocusPropertyRadElement.ContainsMousePropertyRadElement.MaxSizePropertyRadElement.RightToLeftPropertyRadElement.AutoSizePropertyRadElement.ZIndexPropertyRadElement.AngleTransformPropertyRadElement.ScaleTransformPropertyRadElement.PositionOffsetPropertyRadElement.TagPropertyRadElement.StretchHorizontallyPropertyRadElement.StretchVerticallyPropertyRadElement.UseCompatibleTextRenderingPropertyRadElement.ClickModePropertyRadElement.styleVersionRadElement.paintSystemSkinRadElement.SetPropertyValueCommandRadElement.GetPropertyValueCommandRadElement.StylePropertyRadElement.CallCreateChildElements()RadElement.SuspendReferenceUpdate()RadElement.ResumeReferenceUpdate()RadElement.OnLoad(bool)RadElement.LoadCore()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(RadElement)RadElement.OnParentChanged(RadElement)RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool)RadElement.ResetLayout(bool)RadElement.HasInvisibleAncestor()RadElement.ResetLayoutCore()RadElement.InvalidateArrange()RadElement.InvalidateArrange(bool)RadElement.InvalidateMeasure()RadElement.InvalidateMeasure(bool)RadElement.UpdateLayout()RadElement.SuspendLayout()RadElement.SuspendLayout(bool)RadElement.ResumeLayout(bool)RadElement.ResumeLayout(bool, bool)RadElement.Arrange(RectangleF)RadElement.Measure(SizeF)RadElement.SetBounds(Rectangle)RadElement.SetBounds(int, int, int, int)RadElement.GetBoundingRectangle(Size)RadElement.GetBoundingRectangle(Rectangle)RadElement.GetDesiredSize(bool)RadElement.PointToScreen(Point)RadElement.PointFromScreen(Point)RadElement.PointToControl(Point)RadElement.PointFromControl(Point)RadElement.LocationToControl()RadElement.RectangleToScreen(Rectangle)RadElement.HitTest(Point)RadElement.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.ShouldArrangeChild(RadElement)RadElement.ShouldMeasureChild(RadElement)RadElement.MeasureChildren(SizeF)RadElement.GetArrangeRect(RectangleF)RadElement.CanExecuteLayoutOperation()RadElement.CalcLayoutOffset(PointF)RadElement.LockBounds()RadElement.UnlockBounds()RadElement.SetBoundsCore(Rectangle)RadElement.IsInValidState(bool)RadElement.Invalidate()RadElement.Invalidate(bool)RadElement.GetInvalidateBounds()RadElement.NotifyInvalidate(RadElement)RadElement.OnTransformationInvalidated()RadElement.PerformLayoutTransformation(ref RadMatrix)RadElement.PerformPaintTransformation(ref RadMatrix)RadElement.IsInGetAsBitmap()RadElement.PaintElementSkin(IGraphics)RadElement.PaintBackgroundShape(IGraphics)RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintShadow(RadElement, IGraphics)RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)RadElement.GetShadowRect(ref Rectangle, int)RadElement.PaintFocusCues(IGraphics, Rectangle)RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.IsInVisibleClipBounds(Rectangle)RadElement.SetClipping(Graphics)RadElement.ShouldPaintChild(RadElement)RadElement.GetFocusRect()RadElement.GetCurrentShape()RadElement.GetPaintRectangle(float, float, SizeF)RadElement.GetPatchedRect(RectangleF, float, SizeF)RadElement.GetXPVisualStyle()RadElement.GetVistaVisualStyle()RadElement.InitializeSystemSkinPaint()RadElement.UnitializeSystemSkinPaint()RadElement.GetSystemSkinPaintBounds()RadElement.OnUseSystemSkinChanged(EventArgs)RadElement.ShouldPaintSystemSkin()RadElement.ComposeShouldPaintSystemSkin()RadElement.ResetStyleSettings(bool)RadElement.ResetStyleSettings(bool, RadProperty)RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)RadElement.AddBehavior(PropertyChangeBehavior)RadElement.GetBehaviors()RadElement.RemoveBehavior(PropertyChangeBehavior)RadElement.ClearBehaviors()RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)RadElement.SetThemeApplied(bool)RadElement.OnStyleChanged(RadPropertyChangedEventArgs)RadElement.UnapplyStyle()RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)RadElement.RemoveBehaviors(PropertyChangeBehavior)RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)RadElement.GetThemeEffectiveType()RadElement.GetChildrenByType(Type)RadElement.GetChildrenByBaseType(Type)RadElement.FindAncestorByThemeEffectiveType(Type)RadElement.FindAncestor<T>()RadElement.IsAncestorOf(RadElement)RadElement.FindDescendant<T>()RadElement.FindDescendant(Predicate<RadElement>)RadElement.FindDescendant(Type)RadElement.EnumDescendants(TreeTraversalMode)RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.EnumDescendants(Filter, TreeTraversalMode)RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.GetDescendants(Filter, TreeTraversalMode)RadElement.GetAncestors(Filter)RadElement.GetAncestors(Predicate<RadElement>)RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)RadElement.IsEventInProcess(RaisedRoutedEvent)RadElement.RegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, string)RadElement.GetRegisterRoutedEvent(string)RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)RadElement.GetChildren(ChildrenListOptions)RadElement.SendToBack()RadElement.BringToFront()RadElement.IsChildOf(RadElement)RadElement.Focus()RadElement.Focus(bool)RadElement.SetFocusPropertySafe(bool)RadElement.KillFocus()RadElement.OnCLREventsRise(RoutedEventArgs)RadElement.OnMouseHover(EventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnClick(EventArgs)RadElement.OnDoubleClick(EventArgs)RadElement.OnMouseEnter(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.DoMouseWheel(MouseEventArgs)RadElement.DoClick(EventArgs)RadElement.DoDoubleClick(EventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.DoMouseMove(MouseEventArgs)RadElement.ShowScreenTip(ScreenTipNeededEventArgs)RadElement.HideScreenTip()RadElement.DoMouseHover(EventArgs)RadElement.OnShowScreenTip(ComponentInputBehavior)RadElement.RaiseClick(EventArgs)RadElement.RaiseDoubleClick(EventArgs)RadElement.RaiseMouseWheel(MouseEventArgs)RadElement.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(EventArgs)RadElement.GetValue(RadProperty)RadElement.AddStylePropertySetting(IPropertySetting)RadElement.SetValueCore(RadPropertyValue, object, object, ValueSource)RadElement.NotifyChildren(RadPropertyChangedEventArgs)RadElement.OnLocationChanged(RadPropertyChangedEventArgs)RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)RadElement.IsPropertyCancelable(RadPropertyMetadata)RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)RadElement.PerformDispose(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetBorderThickness(BorderPrimitive)RadElement.DpiScaleChanged(SizeF)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.BoundsRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AlignmentRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.MinSizeRadElement.MaxSizeRadElement.ZIndexRadElement.RightToLeftRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.AngleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.StretchHorizontallyRadElement.StretchVerticallyRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.MouseUpRadElement.ClickRadElement.DoubleClickRadElement.MouseEnterRadElement.MouseWheelRadElement.EnabledChangedRadElement.MouseLeaveRadElement.ChildrenChangedRadElement.LostMouseCaptureRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

RadChatElement()

Initializes a new instance of the RadChatElement class with default settings and event wire-up for chat functionality.

Declaration

cs-api-definition
public RadChatElement()

Properties

Author

Gets or sets the current author that represents the primary user of the chat interface, used for message attribution, alignment, styling, and automatic message creation when AutoAddUserMessages is enabled.

Declaration

cs-api-definition
public virtual Author Author { get; set; }

Property Value

Author

AutoAddUserMessages

Gets or sets a value indicating whether messages typed by the user in the input text box will automatically be added as ChatTextMessage instances to the chat conversation.

Declaration

cs-api-definition
public bool AutoAddUserMessages { get; set; }

Property Value

bool

AvatarSize

Gets or sets the size of the avatar images displayed next to messages in the chat interface, controlling the visual dimensions of user profile pictures.

Declaration

cs-api-definition
public SizeF AvatarSize { get; set; }

Property Value

SizeF

ChatFactory

Gets or sets the chat factory instance used for creating chat-related data items and elements, providing extensibility for custom chat component creation.

Declaration

cs-api-definition
public ChatFactory ChatFactory { get; set; }

Property Value

ChatFactory

InputTextBox

Gets the input text box element where users type their messages, providing text entry capabilities with support for keyboard shortcuts and clipboard operations.

Declaration

cs-api-definition
public RadTextBoxElement InputTextBox { get; }

Property Value

RadTextBoxElement

IsOverlayShown

Gets a value indicating whether an overlay is currently displayed, covering the entire chat interface for modal interactions.

Declaration

cs-api-definition
public bool IsOverlayShown { get; protected set; }

Property Value

bool

IsPopupOverlayShown

Gets a value indicating whether a popup overlay is currently displayed, appearing above the chat interface without completely blocking the conversation view.

Declaration

cs-api-definition
public bool IsPopupOverlayShown { get; protected set; }

Property Value

bool

MessagesViewElement

Gets the messages view element that contains, displays, and manages all chat messages with scrolling capabilities and message virtualization support.

Declaration

cs-api-definition
public ChatMessagesViewElement MessagesViewElement { get; }

Property Value

ChatMessagesViewElement

OverlayElement

Gets the overlay element used for displaying modal content that covers the entire chat interface for important user interactions and confirmations.

Declaration

cs-api-definition
public LightVisualElement OverlayElement { get; }

Property Value

LightVisualElement

OverlayPopupElement

Gets the overlay popup element used for displaying popup-style content that appears above the chat interface without completely blocking the underlying conversation.

Declaration

cs-api-definition
public LightVisualElement OverlayPopupElement { get; }

Property Value

LightVisualElement

SendButtonElement

Gets the send button element that enables users to submit their typed messages to the chat conversation with visual feedback and interaction support.

Declaration

cs-api-definition
public ChatSendButtonElement SendButtonElement { get; }

Property Value

ChatSendButtonElement

ShowAvatars

Gets or sets a value indicating whether avatar images will be displayed in the chat window next to messages, providing visual identification of message authors.

Declaration

cs-api-definition
public bool ShowAvatars { get; set; }

Property Value

bool

ShowMessagesOnOneSide

Gets or sets a value indicating whether messages will be displayed aligned to only one side of the chat window or distributed on both sides based on the message author, affecting the overall conversation layout.

Declaration

cs-api-definition
public bool ShowMessagesOnOneSide { get; set; }

Property Value

bool

ShowToolbarButtonElement

Gets the show toolbar button element that provides toggle functionality for the chat toolbar visibility, allowing users to access extended features on demand.

Declaration

cs-api-definition
public ChatShowToolbarElement ShowToolbarButtonElement { get; }

Property Value

ChatShowToolbarElement

SuggestedActionsElement

Gets the suggested actions element that displays and manages quick action buttons for streamlined user interactions and response shortcuts.

Declaration

cs-api-definition
public ChatSuggestedActionsElement SuggestedActionsElement { get; }

Property Value

ChatSuggestedActionsElement

TimeSeparatorInterval

Gets or sets the time interval between messages that will trigger the automatic addition of a time separator element to visually group messages by time periods in the conversation.

Declaration

cs-api-definition
public TimeSpan TimeSeparatorInterval { get; set; }

Property Value

TimeSpan

ToolbarElement

Gets the toolbar element that contains action buttons, controls, and extended functionality options for enhanced chat user interactions.

Declaration

cs-api-definition
public ChatToolbarElement ToolbarElement { get; }

Property Value

ChatToolbarElement

Methods

AddMessage(ChatMessage)

Adds a new message to the chat conversation, supporting various message types and automatically handling scrolling, suggested actions, and overlay display based on the message type.

Declaration

cs-api-definition
public virtual void AddMessage(ChatMessage message)

Parameters

message

ChatMessage

The ChatMessage to be displayed in the chat conversation. Supported types include ChatTextMessage, ChatSuggestedActionsMessage, ChatMediaMessage, ChatCardMessage, and ChatOverlayMessage.

CreateChildElements()

Creates the child elements that make up the chat interface, including the stack layout, messages view, input controls, toolbar, and overlay elements.

Declaration

cs-api-definition
protected override void CreateChildElements()

Overrides RadElement.CreateChildElements()

CreateInputTextBox()

Creates and configures the input text box element where users type their messages, complete with localized placeholder text and proper sizing.

Declaration

cs-api-definition
protected virtual RadTextBoxElement CreateInputTextBox()

Returns

RadTextBoxElement

A configured RadTextBoxElement specialized for chat input with appropriate null text and sizing properties.

CreateMessagesListView()

Creates and configures the messages view element that contains and displays all chat messages with automatic sizing capabilities.

Declaration

cs-api-definition
protected virtual ChatMessagesViewElement CreateMessagesListView()

Returns

ChatMessagesViewElement

A configured ChatMessagesViewElement with proper auto-sizing and reference to the parent chat element.

CreateOverlayPopupElement()

Creates and configures the overlay popup element that displays popup-style overlays for modal interactions and user prompts.

Declaration

cs-api-definition
protected virtual OverlayPopupElement CreateOverlayPopupElement()

Returns

OverlayPopupElement

A configured OverlayPopupElement with initial collapsed visibility.

CreateSendButton()

Creates and configures the send button element that allows users to submit their typed messages to the chat conversation.

Declaration

cs-api-definition
protected virtual ChatSendButtonElement CreateSendButton()

Returns

ChatSendButtonElement

A configured ChatSendButtonElement with appropriate padding settings.

CreateShowToolbarButton()

Creates and configures the show toolbar button element that toggles the visibility of the chat toolbar containing action buttons and controls.

Declaration

cs-api-definition
protected virtual ChatShowToolbarElement CreateShowToolbarButton()

Returns

ChatShowToolbarElement

A configured ChatShowToolbarElement with appropriate font settings and ellipsis text.

CreateStackLayoutElement()

Creates and configures the main stack layout element that organizes all chat components vertically with proper sizing and orientation settings.

Declaration

cs-api-definition
protected virtual StackLayoutElement CreateStackLayoutElement()

Returns

StackLayoutElement

A configured StackLayoutElement with vertical orientation and appropriate stretching properties.

CreateSuggestedActionsElement()

Creates and configures the suggested actions element that displays quick action buttons for user interaction and response shortcuts.

Declaration

cs-api-definition
protected virtual ChatSuggestedActionsElement CreateSuggestedActionsElement()

Returns

ChatSuggestedActionsElement

A configured ChatSuggestedActionsElement with proper sizing, visibility settings, and reference to the parent chat element.

CreateToolbarElement()

Creates and configures the toolbar element that contains action buttons and controls for extended chat functionality and user interactions.

Declaration

cs-api-definition
protected virtual ChatToolbarElement CreateToolbarElement()

Returns

ChatToolbarElement

A configured ChatToolbarElement with proper sizing and reference to the parent chat element.

CreateTypingIndicatorElement()

Creates and configures the typing indicator element that displays visual feedback when users or other participants are actively typing messages.

Declaration

cs-api-definition
protected virtual LightVisualElement CreateTypingIndicatorElement()

Returns

LightVisualElement

A configured LightVisualElement with typing indicator image, proper alignment settings, and initial collapsed visibility.

DisposeManagedResources()

Disposes managed resources and unwires event handlers to ensure proper cleanup when the chat element is destroyed.

Declaration

cs-api-definition
protected override void DisposeManagedResources()

Overrides LightVisualElement.DisposeManagedResources()

HideOverlay()

Hides any overlays that are currently displayed by the chat control, restoring normal chat functionality and returning focus to the input text box.

Declaration

cs-api-definition
public virtual void HideOverlay()

HideTypingIndicator()

Hides the typing indicator, removing the visual feedback about users typing and clearing any associated text or animation.

Declaration

cs-api-definition
public virtual void HideTypingIndicator()

OnCardActionClicked(object, CardActionEventArgs)

Raises the CardActionClicked event when a user clicks on a card action, providing event arguments with the action details and source card information.

Declaration

cs-api-definition
protected virtual void OnCardActionClicked(object sender, CardActionEventArgs e)

Parameters

sender

object

The card element that triggered the event.

e

CardActionEventArgs

A CardActionEventArgs that contains the event data including the card action that was clicked.

OnCopy(CopyEventArgs)

Raises the Copy event using the specified event data.

Declaration

cs-api-definition
protected virtual void OnCopy(CopyEventArgs e)

Parameters

e

CopyEventArgs

The event data containing information about the copy operation.

Remarks

Derived classes can override this method to provide custom handling when a copy operation is initiated or completed.

OnInputTextBoxKeyDown(object, KeyEventArgs)

Handles key down events in the input text box, processing Enter key submissions and Ctrl+V paste operations for images from the clipboard.

Declaration

cs-api-definition
protected virtual void OnInputTextBoxKeyDown(object sender, KeyEventArgs e)

Parameters

sender

object

The source of the event.

e

KeyEventArgs

A KeyEventArgs that contains the event data including key information.

OnItemFormatting(ChatItemElementEventArgs)

Raises the ItemFormatting event when a chat item element is being prepared for display, allowing custom formatting and styling of message elements.

Declaration

cs-api-definition
protected virtual void OnItemFormatting(ChatItemElementEventArgs e)

Parameters

e

ChatItemElementEventArgs

A ChatItemElementEventArgs that contains the event data including the element being formatted and its associated data.

OnPropertyChanged(RadPropertyChangedEventArgs)

Handles property change events by invalidating the fill cache and invoking the base class property change handler.

Declaration

cs-api-definition
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

Event arguments containing information about the property that changed.

Overrides LightVisualElement.OnPropertyChanged(RadPropertyChangedEventArgs)

OnRegenerateResponse(RegenerateResponseEventArgs)

Raises the RegenerateResponse event using the specified event data.

Declaration

cs-api-definition
protected virtual void OnRegenerateResponse(RegenerateResponseEventArgs e)

Parameters

e

RegenerateResponseEventArgs

The event data associated with the RegenerateResponse event.

Remarks

Override this method in a derived class to provide custom handling when the RegenerateResponse event is raised.

OnSendButtonElementClick(object, EventArgs)

Handles click events on the send button element, submitting user messages when the input text box contains non-whitespace content.

Declaration

cs-api-definition
protected virtual void OnSendButtonElementClick(object sender, EventArgs e)

Parameters

sender

object

The source of the event.

e

EventArgs

An EventArgs that contains the event data.

OnSendMessage(SendMessageEventArgs)

Raises the SendMessage event when a user action triggers message sending, providing event arguments with the message details.

Declaration

cs-api-definition
protected virtual void OnSendMessage(SendMessageEventArgs e)

Parameters

e

SendMessageEventArgs

A SendMessageEventArgs that contains the event data including the message being sent.

OnShowToolbarButtonElementClick(object, EventArgs)

Handles click events on the show toolbar button element, toggling the visibility of the chat toolbar to provide access to extended functionality.

Declaration

cs-api-definition
protected virtual void OnShowToolbarButtonElementClick(object sender, EventArgs e)

Parameters

sender

object

The source of the event.

e

EventArgs

An EventArgs that contains the event data.

OnSuggestedActionClicked(SuggestedActionEventArgs)

Raises the SuggestedActionClicked event when a user clicks on a suggested action, providing event arguments with the action details.

Declaration

cs-api-definition
protected virtual void OnSuggestedActionClicked(SuggestedActionEventArgs e)

Parameters

e

SuggestedActionEventArgs

A SuggestedActionEventArgs that contains the event data including the suggested action that was clicked.

OnTimeSeparatorAdding(TimeSeparatorEventArgs)

Raises the TimeSeparatorAdding event when a message is being added, allowing custom logic to determine time separator insertion.

Declaration

cs-api-definition
protected virtual void OnTimeSeparatorAdding(TimeSeparatorEventArgs e)

Parameters

e

TimeSeparatorEventArgs

A TimeSeparatorEventArgs that contains the event data including timing information and separator insertion control.

OnToolbarActionClick(ToolbarActionEventArgs)

Raises the ToolbarActionClicked event when a user clicks on a toolbar action, providing event arguments with the action details.

Declaration

cs-api-definition
protected virtual void OnToolbarActionClick(ToolbarActionEventArgs e)

Parameters

e

ToolbarActionEventArgs

A ToolbarActionEventArgs that contains the event data including the toolbar action that was clicked.

OnUserVoted(UserVotedEventArgs)

Raises the UserVoted event using the specified event data.

Declaration

cs-api-definition
protected virtual void OnUserVoted(UserVotedEventArgs e)

Parameters

e

UserVotedEventArgs

The event data containing information about the user vote.

Remarks

Derived classes can override this method to provide custom handling when a user vote occurs. This method invokes the UserVoted event if there are any subscribers.

OnVisualItemCreating(VisualItemCreatingEventArgs)

Raises the VisualItemCreating event to allow customization or handling when a visual item is being created.

Declaration

cs-api-definition
protected virtual void OnVisualItemCreating(VisualItemCreatingEventArgs e)

Parameters

e

VisualItemCreatingEventArgs

An object that contains the event data for the visual item creation process.

Remarks

Derived classes can override this method to provide custom logic when a visual item is being created. This method is typically called before the visual item is added to the control.

PostPaintChildren(IGraphics, Rectangle, float, SizeF)

Performs post-paint operations for child elements, including custom border painting to enhance the visual appearance of the chat interface.

Declaration

cs-api-definition
protected override void PostPaintChildren(IGraphics graphics, Rectangle clipRectangle, float angle, SizeF scale)

Parameters

graphics

IGraphics

The IGraphics object used for painting operations.

clipRectangle

Rectangle

The clipping rectangle that defines the visible area for painting.

angle

float

The rotation angle for the painting operation.

scale

SizeF

The scaling factor for the painting operation.

Overrides RadElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)

ProcessMouseWheel(MouseEventArgs)

Handles mouse wheel events to provide smooth scrolling functionality within the chat messages area, automatically calculating and applying appropriate scroll values.

Declaration

cs-api-definition
public virtual void ProcessMouseWheel(MouseEventArgs e)

Parameters

e

MouseEventArgs

A MouseEventArgs that contains the mouse wheel event data including delta values for scroll calculations.

ShowOverlay(ChatOverlayMessage)

Displays the specified overlay message in the chat interface, supporting both modal overlays that block the input and popup overlays that appear above the conversation.

Declaration

cs-api-definition
public virtual void ShowOverlay(ChatOverlayMessage message)

Parameters

message

ChatOverlayMessage

The ChatOverlayMessage containing the overlay information, display configuration, and content to be shown to the user.

ShowTypingIndicator(params Author[])

Displays a typing indicator for the specified authors, providing visual feedback to users about who is currently composing messages in the chat conversation.

Declaration

cs-api-definition
public virtual void ShowTypingIndicator(params Author[] authors)

Parameters

authors

Author[]

The authors who are currently typing messages. If null or empty, displays a generic typing animation without author names.

SubmitUserMessage()

Submits the current user message from the input text box, handling validation, message creation, and event firing based on the auto-add user messages setting.

Declaration

cs-api-definition
protected virtual void SubmitUserMessage()

UnwireEvents()

Unwires event handlers to prevent memory leaks and ensure proper cleanup when the chat element is disposed or destroyed.

Declaration

cs-api-definition
protected virtual void UnwireEvents()

WireEvents()

Wires up event handlers for chat functionality including input text box interactions, button clicks, and localization provider changes.

Declaration

cs-api-definition
protected virtual void WireEvents()

Events

CardActionClicked

Occurs when the user clicks on a card action element within a ChatCardMessage, enabling interactive card-based interfaces and rich content interactions.

Declaration

cs-api-definition
public event CardActionEventHandler CardActionClicked

Event Value

CardActionEventHandler

Copy

Occurs when a copy operation is initiated or completed.

Declaration

cs-api-definition
public event EventHandler<CopyEventArgs> Copy

Event Value

EventHandler<CopyEventArgs>

Remarks

Subscribers can use this event to respond to copy actions, such as updating the user interface or logging the operation. The event provides a CopyEventArgs instance containing details about the copy event.

ItemFormatting

Occurs when the data item of a visual element is changed and the element is prepared for visualization, allowing customization of message appearance, styling, and layout properties.

Declaration

cs-api-definition
public event ChatItemElementEventHandler ItemFormatting

Event Value

ChatItemElementEventHandler

RegenerateResponse

Occurs when a response needs to be regenerated, allowing subscribers to handle or modify the regeneration process.

Declaration

cs-api-definition
public event EventHandler<RegenerateResponseEventArgs> RegenerateResponse

Event Value

EventHandler<RegenerateResponseEventArgs>

Remarks

Subscribers can use this event to perform custom actions or update the UI when a response regeneration is triggered. The event provides a RegenerateResponseEventArgs instance containing relevant event data.

SendMessage

Occurs when the user performs a message-sending action such as pressing the Enter key, clicking the Send message button, clicking on a suggested action, clicking on a card action, or confirming an overlay interaction.

Declaration

cs-api-definition
public event SendMessageEventHandler SendMessage

Event Value

SendMessageEventHandler

SuggestedActionClicked

Occurs when the user clicks on a suggested action element within a ChatSuggestedActionsMessage, providing quick response options and streamlined user interactions.

Declaration

cs-api-definition
public event SuggestedActionEventHandler SuggestedActionClicked

Event Value

SuggestedActionEventHandler

TimeSeparatorAdding

Occurs after a new message is added to the chat but before it is displayed, allowing customization of whether a time separator should be inserted before the currently added message based on timing and context.

Declaration

cs-api-definition
public event TimeSeparatorEventHandler TimeSeparatorAdding

Event Value

TimeSeparatorEventHandler

ToolbarActionClicked

Occurs when the user clicks on a toolbar action element, providing access to chat-level functionality and administrative operations.

Declaration

cs-api-definition
public event ToolbarActionEventHandler ToolbarActionClicked

Event Value

ToolbarActionEventHandler

UserVoted

Occurs when a user submits a vote.

Declaration

cs-api-definition
public event EventHandler<UserVotedEventArgs> UserVoted

Event Value

EventHandler<UserVotedEventArgs>

Remarks

Subscribe to this event to be notified whenever a user completes a voting action. The event provides details about the user and the vote through the UserVotedEventArgs parameter.

VisualItemCreating

Occurs when a new visual item is being created, allowing customization of its initialization or appearance.

Declaration

cs-api-definition
public event EventHandler<VisualItemCreatingEventArgs> VisualItemCreating

Event Value

EventHandler<VisualItemCreatingEventArgs>

Remarks

Handle this event to modify or configure visual items before they are added to the visual tree. This event is typically raised during the rendering or data binding process, enabling developers to set properties or attach behaviors to visual elements as they are instantiated.

In this article
DefinitionConstructorsRadChatElement()PropertiesAuthorAutoAddUserMessagesAvatarSizeChatFactoryInputTextBoxIsOverlayShownIsPopupOverlayShownMessagesViewElementOverlayElementOverlayPopupElementSendButtonElementShowAvatarsShowMessagesOnOneSideShowToolbarButtonElementSuggestedActionsElementTimeSeparatorIntervalToolbarElementMethodsAddMessage(ChatMessage)CreateChildElements()CreateInputTextBox()CreateMessagesListView()CreateOverlayPopupElement()CreateSendButton()CreateShowToolbarButton()CreateStackLayoutElement()CreateSuggestedActionsElement()CreateToolbarElement()CreateTypingIndicatorElement()DisposeManagedResources()HideOverlay()HideTypingIndicator()OnCardActionClicked(object, CardActionEventArgs)OnCopy(CopyEventArgs)OnInputTextBoxKeyDown(object, KeyEventArgs)OnItemFormatting(ChatItemElementEventArgs)OnPropertyChanged(RadPropertyChangedEventArgs)OnRegenerateResponse(RegenerateResponseEventArgs)OnSendButtonElementClick(object, EventArgs)OnSendMessage(SendMessageEventArgs)OnShowToolbarButtonElementClick(object, EventArgs)OnSuggestedActionClicked(SuggestedActionEventArgs)OnTimeSeparatorAdding(TimeSeparatorEventArgs)OnToolbarActionClick(ToolbarActionEventArgs)OnUserVoted(UserVotedEventArgs)OnVisualItemCreating(VisualItemCreatingEventArgs)PostPaintChildren(IGraphics, Rectangle, float, SizeF)ProcessMouseWheel(MouseEventArgs)ShowOverlay(ChatOverlayMessage)ShowTypingIndicator(params Author[])SubmitUserMessage()UnwireEvents()WireEvents()EventsCardActionClickedCopyItemFormattingRegenerateResponseSendMessageSuggestedActionClickedTimeSeparatorAddingToolbarActionClickedUserVotedVisualItemCreating
Not finding the help you need?
Contact Support