Provides the proposed time-separator decision and the message items around the insertion point.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class TimeSeparatorEventArgs : EventArgs
Inheritance: objectEventArgsTimeSeparatorEventArgs
Inherited Members
Constructors
Initializes the event data with the default decision and adjacent items.
C#
public TimeSeparatorEventArgs(bool shouldAddSeparator, BaseChatDataItem previousItem, BaseChatDataItem item)
The initial decision based on the configured time interval.
previousItemBaseChatDataItemThe item preceding the candidate message, or null if it is first.
itemBaseChatDataItemThe message item being considered for addition.
Properties
Gets the message item being considered for addition.
C#
public BaseChatDataItem Item { get; }
Gets the item immediately preceding , or null when the item is first.
C#
public BaseChatDataItem PreviousItem { get; }
Gets or sets whether the collection should insert a separator before .
C#
public bool ShouldAddSeparator { get; set; }