Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ControlNode opacity? (Read 3093 times)
Taivan
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Jun 15th, 2012
ControlNode opacity?
Jul 10th, 2012 at 2:03am
Print Post  
I have a controlNode. i want my control node s opacity 10 and 100. But not working? And how to stoyan?

Thanks
  
Back to top
 
IP Logged
 
Taivan
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Jun 15th, 2012
Re: ControlNode opacity?
Reply #1 - Jul 10th, 2012 at 2:52am
Print Post  
Taivan wrote on Jul 10th, 2012 at 2:03am:
I have a controlNode. i want my control node s opacity 10 and 100. But not working? And how to stoyan?

Thanks


My bad. Opacity 0 to 1 Cheesy
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ControlNode opacity?
Reply #2 - Jul 10th, 2012 at 7:03am
Print Post  
What's not working - setting the node's Opacity property? This seems to work correctly in my test app:

Code
Select All
private void UserControl_Loaded(object sender, RoutedEventArgs e)
{
	var newNode = new ControlNode();
	newNode.Bounds = new Rect(20, 20, 100, 60);
	diagram.Nodes.Add(newNode);
	newNode.Opacity = 0.1;
	//newNode.Opacity = 0.5;
	newNode.Control = new Button { Content = "click" };
} 



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