[Mono-winforms-list] ListView LabelEdit
Gert Driesen
gert.driesen at telenet.be
Thu Feb 22 08:15:33 EST 2007
----- Original Message -----
From: "Aline & Aldric" <aline.aldric at laposte.net>
To: <mono-winforms-list at lists.ximian.com>
Sent: Tuesday, February 20, 2007 7:38 PM
Subject: [Mono-winforms-list] ListView LabelEdit
> 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 ?
It's a bug:
http://bugzilla.ximian.com/show_bug.cgi?id=80888
Gert
More information about the Mono-winforms-list
mailing list