Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Setting of the handle style of ShapeNode (Read 1762 times)
JackPan
Full Member
***
Offline


I Love MindFusion!

Posts: 134
Joined: Apr 9th, 2020
Setting of the handle style of ShapeNode
Sep 14th, 2020 at 9:53am
Print Post  
Hi, Slavcho Smiley

Does the method Dawing need to introduce the corresponding dll?

Best regards.
  

9_14_1.png ( 13 KB | 92 Downloads )
9_14_1.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Online


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Setting of the handle style of ShapeNode
Reply #1 - Sep 14th, 2020 at 10:38am
Print Post  
Hi,

There is such brush type only in our Windows Forms diagram control. In WPF you can assign brushes that derive from System.Windows.Media.Brush class.

If you specifically need hatch patterns, call this method to get an ImageBrush containing the pattern image -
https://www.mindfusion.eu/onlinehelp/wpfdiagram/index.htm?M_MindFusion_Diagrammi...

Regards,
Slavcho
  
Back to top
 
IP Logged
 
JackPan
Full Member
***
Offline


I Love MindFusion!

Posts: 134
Joined: Apr 9th, 2020
Re: Setting of the handle style of ShapeNode
Reply #2 - Sep 14th, 2020 at 11:00am
Print Post  
Hi, Slavcho Smiley

How to call this static method CreateInstance?

Best regards.
  

9_14_2.png ( 13 KB | 97 Downloads )
9_14_2.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Online


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Setting of the handle style of ShapeNode
Reply #3 - Sep 14th, 2020 at 12:29pm
Print Post  
MindFusion.Diagramming.Wpf.HatchBrush.CreateInstance(...), or just HatchBrush.CreateInstance if already using the MindFusion.Diagramming.Wpf namespace.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint