Class ChatMessagesViewElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class ChatMessagesViewElement : VirtualizedScrollPanel<BaseChatDataItem, BaseChatItemElement>, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
ChatMessagesViewElement(RadChatElement)
Declaration
public ChatMessagesViewElement(RadChatElement chatElement)
Parameters
RadChatElement
chatElement
|
Fields
AvatarSizeProperty
ShowAvatarsProperty
ShowMessagesOnOneSideProperty
Properties
AvatarSize
Gets or sets the size of the avatar images.
Declaration
public SizeF AvatarSize { get; set; }
Property Value
System.Drawing.SizeF
|
ChatElement
IsUpdateSuspended
Declaration
public bool IsUpdateSuspended { get; }
Property Value
System.Boolean
|
ShowAvatars
Gets or sets whether avatar images will be displayed in the chat window next to messages.
Declaration
public bool ShowAvatars { get; set; }
Property Value
System.Boolean
|
ShowMessagesOnOneSide
Gets or sets whether messages will be displayed aligned to only one side of the chat window or on both.
Declaration
public bool ShowMessagesOnOneSide { get; set; }
Property Value
System.Boolean
|
TimeSeparatorInterval
Gets or sets the time interval between messages that will trigger the automatic addition of a Time separator. If set to System.TimeSpan.Zero no Time separators will be added.
Declaration
public TimeSpan TimeSeparatorInterval { get; set; }
Property Value
System.TimeSpan
|
Methods
BeginUpdate()
Declaration
public virtual void BeginUpdate()
CreateElementProvider()
Declaration
protected override IVirtualizedElementProvider<BaseChatDataItem> CreateElementProvider()
Returns
IVirtualizedElementProvider<BaseChatDataItem>
|
Overrides
CreateItemScroller()
Declaration
protected override ItemScroller<BaseChatDataItem> CreateItemScroller()
Returns
ItemScroller<BaseChatDataItem>
|
Overrides
CreateViewElement()
Declaration
protected override VirtualizedStackContainer<BaseChatDataItem> CreateViewElement()
Returns
VirtualizedStackContainer<BaseChatDataItem>
|
Overrides
EndUpdate()
Declaration
public void EndUpdate()
EndUpdate(Boolean)
Declaration
public virtual void EndUpdate(bool update)
Parameters
System.Boolean
update
|
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnCardActionClicked(Object, CardActionEventArgs)
Declaration
protected virtual void OnCardActionClicked(object sender, CardActionEventArgs e)
Parameters
System.Object
sender
|
CardActionEventArgs
e
|
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
ShouldAddTimeSeparator(BaseChatDataItem, BaseChatDataItem)
Declaration
public virtual bool ShouldAddTimeSeparator(BaseChatDataItem item, BaseChatDataItem previousItem)
Parameters
BaseChatDataItem
item
|
BaseChatDataItem
previousItem
|
Returns
System.Boolean
|
Update(ChatMessagesViewElement.UpdateModes)
Declaration
public virtual void Update(ChatMessagesViewElement.UpdateModes updateMode)
Parameters
ChatMessagesViewElement.UpdateModes
updateMode
|