Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Selection - change appearance (Read 4717 times)
dku
YaBB Newbies
*
Offline



Posts: 41
Joined: Jun 5th, 2008
Selection - change appearance
Jul 25th, 2008 at 2:12pm
Print Post  
Hello,

When I select an diagram item, the different handles are showing the selection. Is that possible to override this appearance ?

I want to show a simple rect around the item ?

Thanks
Didier
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Selection - change appearance
Reply #1 - Jul 25th, 2008 at 2:33pm
Print Post  
Hi,

You could set DiagramNode.HandlesStyle = DashFrame or HatchFrame.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
dku
YaBB Newbies
*
Offline



Posts: 41
Joined: Jun 5th, 2008
Re: Selection - change appearance
Reply #2 - Aug 4th, 2008 at 11:51am
Print Post  
Hello,

Yes, it is what I want.

What about the color ? Smiley

I've tried ActiveItemHandlesBrush and SelectedItemHandlesBrush on the diagram object.

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


tech.support

Posts: 3378
Joined: Oct 19th, 2005
Re: Selection - change appearance
Reply #3 - Aug 4th, 2008 at 1:53pm
Print Post  
Hello,

So there are hardcoded black on white colors used for HatchFrame, and the property values are ignored. Whereas DashFrame shows the colors specified with the properties. We will fix this and send you the new version tomorrow.

g.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Online


tech.support

Posts: 3378
Joined: Oct 19th, 2005
Re: Selection - change appearance
Reply #4 - Aug 6th, 2008 at 8:51am
Print Post  
I've just sent you a private message containing the download link.
  
Back to top
 
IP Logged
 
dku
YaBB Newbies
*
Offline



Posts: 41
Joined: Jun 5th, 2008
Re: Selection - change appearance
Reply #5 - Aug 11th, 2008 at 11:13am
Print Post  
Hello,

Thanks a lot.

As far as we purchased WpfDiagram with Source Code, we build our dll form the sources (to allow debugging if necessary).

Do you have any release plan/roadmap for the next release ?

Thanks
Bye
Didier

PS : I can use the dll you give to me for development, but I cannot release my product sofar it is not an official WpfDiagram release.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Online


tech.support

Posts: 3378
Joined: Oct 19th, 2005
Re: Selection - change appearance
Reply #6 - Aug 11th, 2008 at 12:18pm
Print Post  
Hi,

You can fix this in InternalUtils.cs. Find the DrawSelHandles method there, and in the if (st == HandlesStyle.HatchFrame) block replace the DrawingBrush hatchBrush constructor call second argument "Color.Black" with "rgb". We are releasing Wpfdiagram version 2 beta this week.

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