[Mono-winforms-list] ListView LabelEdit
Aline & Aldric
aline.aldric at laposte.net
Tue Feb 20 13:38:12 EST 2007
Hi,
I think there's a problem somewhere :
I have a listview and i code the event "AfterlabelEdit".
But the labelediteventargs (e) doesn't seem to return good values : the
"item" property always return -1.
Her is a sample of my code :
private void LV_AfterLabelEdit(object sender, LabelEditEventArgs e)
{
MessageBox.Show(e.Item.ToString() + " " +
LV.Items.Count.ToString() );
}
The messagebox always display "-1 x"
Is it a bug or an error in my code ?
Thanks
AlicVB
More information about the Mono-winforms-list
mailing list