Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Transparent nodes (Read 2233 times)
Hunter
Full Member
***
Offline



Posts: 194
Location: Sevastopol
Joined: Dec 1st, 2009
Transparent nodes
Jul 10th, 2010 at 9:06am
Print Post  
Hello, Stoyo!
Have a problem. Are there any way to make a transparent ShapeNode. It means that I want to add some blocks whith comments into the diagram. And their behaviour must look like as their Opacity property is equal to zero, but I need to see the text into these nodes! If I set the opacity to zero I can't see the text
« Last Edit: Jul 10th, 2010 at 10:20am by Hunter »  
Back to top
 
IP Logged
 
Hunter
Full Member
***
Offline



Posts: 194
Location: Sevastopol
Joined: Dec 1st, 2009
Re: Transparent nodes
Reply #1 - Jul 10th, 2010 at 10:18am
Print Post  
Topic can be closed. The solution is following 8)
Code
Select All
node.Brush = new SolidColorBrush(Colors.Transparent);
node.Stroke = new SolidColorBrush(Colors.Transparent);
 

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Transparent nodes
Reply #2 - Jul 10th, 2010 at 1:25pm
Print Post  
You could also set ShapeNode.Transparent = true; this leaves only the Text and Image visible.
  
Back to top
 
IP Logged
 
Hunter
Full Member
***
Offline



Posts: 194
Location: Sevastopol
Joined: Dec 1st, 2009
Re: Transparent nodes
Reply #3 - Jul 12th, 2010 at 5:27am
Print Post  
Ok. Thanks! I forgot to cast DiagramNode to ShapeNode and didn't find this Property
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint