Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagram - Selection - Items.Clear (Read 2253 times)
dku
YaBB Newbies
*
Offline



Posts: 41
Joined: Jun 5th, 2008
Diagram - Selection - Items.Clear
Aug 15th, 2008 at 10:05am
Print Post  
Hello,

I'm clearing the selection programmatically using :
Code
Select All
myGraphicalExplorerDiagram.Selection.Items.Clear(); 


This call is hanging up ...
I've tried :
Code
Select All
for (int i = 0; i < myGraphicalExplorerDiagram.Selection.Items.Count; i++) {
myGraphicalExplorerDiagram.Selection.Items.RemoveAt(i);
}
 


It works ...
Any explanation ? Bug in Clear ?

Thanks
Didier
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Online


tech.support

Posts: 3447
Joined: Oct 19th, 2005
Re: Diagram - Selection - Items.Clear
Reply #1 - Aug 15th, 2008 at 11:29am
Print Post  
Hi,

I think there was a bug and we fixed it. We are releasing Wpfdiagram 2 beta in couple of hours, and that should work there.

g.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint