You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
738 B
32 lines
738 B
2 years ago
|
using UIWidgets;
|
||
|
|
||
|
namespace UIWidgetsSamples {
|
||
|
/// <summary>
|
||
|
/// ChatView.
|
||
|
/// </summary>
|
||
|
public class ChatView : ListViewCustomHeight<ChatLineComponent,ChatLine> {
|
||
|
/// <summary>
|
||
|
/// Sets component data with specified item.
|
||
|
/// </summary>
|
||
|
/// <param name="component">Component.</param>
|
||
|
/// <param name="item">Item.</param>
|
||
|
protected override void SetData(ChatLineComponent component, ChatLine item)
|
||
|
{
|
||
|
component.SetData(item);
|
||
|
}
|
||
|
|
||
|
// leave coloring functions empty
|
||
|
protected override void HighlightColoring(ChatLineComponent component)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
protected override void SelectColoring(ChatLineComponent component)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
protected override void DefaultColoring(ChatLineComponent component)
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
}
|