Class RadChat
Inheritance
System.Object
RadChat
Assembly: Telerik.WinUI.Controls.dll
Syntax
public class RadChat : RadControl, IMessageReportSubscriber
Constructors
Fields
Declaration
public static readonly DependencyProperty AutoIncludeTimeBreaksProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty CanUserSelectMessageProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty CurrentAuthorProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty DataSourceProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty InputBoxTextProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty InputBoxWatermarkContentProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty MessageConverterProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty MessageListTemplateSelectorProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty MessageOverlayTemplateSelectorProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly RoutedEvent ReportMessageResultEvent
Field Value
Declaration
public static readonly DependencyProperty SendCommandProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly RoutedEvent SendMessageEvent
Field Value
Declaration
public static readonly RoutedEvent SuggestedActionReportedEvent
Field Value
Declaration
public static readonly DependencyProperty SuggestedActionsOrientationProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty SuggestedActionsProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty SuggestedActionsVisibilityProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty TimeBreakIntervalProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty TypingCommandProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty TypingIndicatorIconProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty TypingIndicatorTextProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty TypingIndicatorVisibilityProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty VerticalAvatarAlignmentProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Properties
Declaration
public bool AutoIncludeTimeBreaks { get; set; }
Property Value
Declaration
public bool CanUserSelectMessage { get; set; }
Property Value
Declaration
public Author CurrentAuthor { get; set; }
Property Value
Declaration
public IEnumerable DataSource { get; set; }
Property Value
|
System.Collections.IEnumerable
|
Declaration
protected virtual IEnumerable<MessageBase> InlineMessages { get; }
Property Value
Declaration
public string InputBoxText { get; set; }
Property Value
Declaration
public object InputBoxWatermarkContent { get; set; }
Property Value
Declaration
public virtual InlineViewModel LastMessage { get; }
Property Value
Declaration
public virtual MessageGroupViewModel LastMessageGroup { get; }
Property Value
Declaration
public IMessageConverter MessageConverter { get; set; }
Property Value
Declaration
public ObservableCollection<MessageGroupViewModel> MessageGroups { get; }
Property Value
Declaration
public ObservableCollection<MessageListItemViewModelBase> MessageListItems { get; }
Property Value
Declaration
public MessageTemplateSelector MessageListTemplateSelector { get; set; }
Property Value
Declaration
public MessageTemplateSelector MessageOverlayTemplateSelector { get; set; }
Property Value
Declaration
public MessageReporter MessageReporter { get; }
Property Value
Implements
Declaration
public ICommand SendCommand { get; set; }
Property Value
|
System.Windows.Input.ICommand
|
Declaration
public ObservableCollection<SuggestedAction> SuggestedActions { get; set; }
Property Value
Declaration
public Orientation SuggestedActionsOrientation { get; set; }
Property Value
|
Microsoft.UI.Xaml.Controls.Orientation
|
Declaration
public Visibility SuggestedActionsVisibility { get; set; }
Property Value
|
Microsoft.UI.Xaml.Visibility
|
Declaration
public Nullable<TimeSpan> TimeBreakInterval { get; set; }
Property Value
|
System.Nullable<System.TimeSpan>
|
Declaration
public ICommand TypingCommand { get; set; }
Property Value
|
System.Windows.Input.ICommand
|
Declaration
public ImageSource TypingIndicatorIcon { get; set; }
Property Value
|
Microsoft.UI.Xaml.Media.ImageSource
|
Declaration
public string TypingIndicatorText { get; set; }
Property Value
Declaration
public Visibility TypingIndicatorVisibility { get; set; }
Property Value
|
Microsoft.UI.Xaml.Visibility
|
Declaration
public VerticalAlignment VerticalAvatarAlignment { get; set; }
Property Value
|
Microsoft.UI.Xaml.VerticalAlignment
|
Methods
Declaration
public virtual void AddMessage(Author author, string messageText)
Parameters
|
Author
author
|
|
System.String
messageText
|
Declaration
public virtual void AddMessage(MessageBase message)
Parameters
Declaration
public virtual void AddTimeBreak(string header)
Parameters
Declaration
public void CloseOverlay()
Declaration
protected virtual MessageBase ConvertItemToMessage(object item)
Parameters
Returns
Declaration
protected virtual object ConvertMessageToDataItem(MessageBase message)
Parameters
Returns
Declaration
protected virtual MessageGroupViewModel CreateMessageGroup(Author author)
Parameters
Returns
Declaration
public virtual MessageBase GetMessageByIndex(int index)
Parameters
Returns
Declaration
protected virtual void OnAddingTimeBreak(TimeBreakEventArgs timeBreakArgs)
Parameters
Declaration
protected override void OnApplyTemplate()
Overrides
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
|
Microsoft.UI.Xaml.Automation.Peers.AutomationPeer
|
Overrides
Declaration
protected virtual void OnReportMessageResult(MessageResultEventArgs args)
Parameters
Declaration
protected virtual void OnSendMessage(SendMessageEventArgs args)
Parameters
Declaration
protected virtual void OnSuggestedActionReported(SuggestedActionsEventArgs suggestedActionsArgs)
Parameters
Declaration
protected virtual void RebindDataSource()
Declaration
public virtual void RemoveMessage(MessageBase message)
Parameters
Implements
Declaration
protected void ShowMessageInOverlay(MessageBase message)
Parameters
Declaration
protected void UpdateVisualStates(bool useTransitions)
Parameters
|
System.Boolean
useTransitions
|
Events
Declaration
public event EventHandler<TimeBreakEventArgs> AddingTimeBreak
Event Type
Declaration
public event EventHandler<MessageResultEventArgs> ReportMessageResult
Event Type
Declaration
public event EventHandler<SendMessageEventArgs> SendMessage
Event Type
Declaration
public event EventHandler<SuggestedActionsEventArgs> SuggestedActionReported
Event Type
Extension Methods