Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic require to set brush of the node (Read 2404 times)
Shane
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 24
Joined: Mar 26th, 2009
require to set brush of the node
Apr 10th, 2009 at 12:38pm
Print Post  
hi
I want to set the color of the node using brush property. As I am new to it so pls any one can send sample code related to it
  
Back to top
 
IP Logged
 
vtortola
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 104
Joined: Nov 26th, 2008
Re: require to set brush of the node
Reply #1 - Apr 10th, 2009 at 1:16pm
Print Post  
Have you tried to use the Brush property?
  
Back to top
 
IP Logged
 
Shane
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 24
Joined: Mar 26th, 2009
Re: require to set brush of the node
Reply #2 - Apr 10th, 2009 at 1:39pm
Print Post  
yes i have tried it
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: require to set brush of the node
Reply #3 - Apr 12th, 2009 at 10:50am
Print Post  
Code
Select All
private void OnNodeCreated(object sender, NodeEventArgs e)
{
	e.Node.Brush = new SolidColorBrush(Colors.SkyBlue);
}
 



Anything wrong with the Brush property?

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