Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Background property (Read 2376 times)
PDM.
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 256
Joined: Dec 2nd, 2010
Background property
Dec 7th, 2010 at 3:12pm
Print Post  
<d:Diagram Name="form" BackBrush="Transparent" BackgroundImage="/imagetest.png"
SelectAfterCreate="False"
NodeCreated="form_NodeCreated"
NodeActivated="form_NodeActivated"
InitializeNode="form_InitializeNode"
NodeSelecting="form_NodeSelecting"
>
</d:Diagram>


Backgroundimage just not work and return exception
BackgroundBrush, just nto work and i cant setup to transparent and or colors.

Some help?

Hope can amke work thsi 2 things, if not this component is useles to me ; (
Im working over example provided called FORMEDITOR
« Last Edit: Dec 8th, 2010 at 5:05pm by PDM. »  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Background property not work !!
Reply #1 - Dec 7th, 2010 at 3:56pm
Print Post  
You don't have to set BackBrush to transparent, the image is always rendered after the background is filled. BackgroundImage works fine in our test, both as an external file in the .exe's folder and as an embedded resource. Try adding this file to the project and setting its Build Action to Resource in the property pane.
  
Back to top
 
IP Logged
 
PDM.
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 256
Joined: Dec 2nd, 2010
Re: Background property not work !!
Reply #2 - Dec 7th, 2010 at 5:03pm
Print Post  
About background image i fixed the problem is my error , fixed now.

ABout transparent backgroud i need that too, due my appz is very special, i find the way to fix that : )



+++++++++++++++++++++++++++++++++


Stoyo you are the owner and creator of mindfusion? or only part of support team?
(just for curiosity)



« Last Edit: Dec 8th, 2010 at 12:50am by PDM. »  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Background property not work !!
Reply #3 - Dec 8th, 2010 at 9:22am
Print Post  
Support only but perhaps associate soon 8) If you need to make the whole window transparent, check these links -
http://stackoverflow.com/questions/765365/create-a-transparent-hole-inside-a-win...
http://blogs.interknowlogy.com/johnbowen/archive/2007/06/20/20458.aspx

You might have to apply transparency to the other controls in the UI tree, such as the ScrollViewer.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint