Class ChannelListSource
Custom list data source for colored channel list rendering. Active channel gets a > indicator, unread channels are bright with a count badge.
public class ChannelListSource : IListDataSource, IDisposable
- Inheritance
-
ChannelListSource
- Implements
-
IListDataSource
- Inherited Members
Constructors
ChannelListSource()
public ChannelListSource()
Properties
Count
public int Count { get; }
Property Value
MaxItemLength
public int MaxItemLength { get; }
Property Value
SuspendCollectionChangedEvent
public bool SuspendCollectionChangedEvent { get; set; }
Property Value
Methods
Dispose()
public void Dispose()
IsMarked(int)
public bool IsMarked(int item)
Parameters
itemint
Returns
Render(ListView, bool, int, int, int, int, int)
public void Render(ListView listView, bool selected, int item, int col, int row, int width, int viewportX = 0)
Parameters
SetMark(int, bool)
public void SetMark(int item, bool value)
Parameters
ToList()
public IList ToList()
Returns
- IList
Update(List<string>, Dictionary<string, int>, string)
public void Update(List<string> channels, Dictionary<string, int> unread, string activeChannel)
Parameters
Events
CollectionChanged
public event NotifyCollectionChangedEventHandler? CollectionChanged
Event Type
- NotifyCollectionChangedEventHandler