45 lines
495 B
C#
45 lines
495 B
C#
using System;
|
|
using System.Drawing;
|
|
|
|
namespace MLV;
|
|
|
|
public class ManagedListViewItemDrawArgs : EventArgs
|
|
{
|
|
private int itemIndex;
|
|
|
|
private Image image;
|
|
|
|
private string text;
|
|
|
|
public string TextToDraw
|
|
{
|
|
get
|
|
{
|
|
return text;
|
|
}
|
|
set
|
|
{
|
|
text = value;
|
|
}
|
|
}
|
|
|
|
public Image ImageToDraw
|
|
{
|
|
get
|
|
{
|
|
return image;
|
|
}
|
|
set
|
|
{
|
|
image = value;
|
|
}
|
|
}
|
|
|
|
public int ItemIndex => itemIndex;
|
|
|
|
public ManagedListViewItemDrawArgs(int itemIndex)
|
|
{
|
|
this.itemIndex = itemIndex;
|
|
}
|
|
}
|