Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic LaneGrid Custom Header Serialize (Read 2356 times)
Aziz ur Rahman
YaBB Newbies
*
Offline



Posts: 43
Joined: Feb 23rd, 2009
LaneGrid Custom Header Serialize
Dec 7th, 2010 at 4:50pm
Print Post  
Hi,
I need to save some data while saving a diagram having LaneGrid rows and columns. I want to store some information regarding the rows. How i can acheive that?

The Header Class does not have any kind of overrides e.g. SaveToXml , LoadFromXml methods as in Node classes. I tried creating Custom Header class dervied from Header Class but no benifit.

The tag property of Header Class is not persisting in while SaveToXml is called.

Can you tell me how this can be acheived.

Thanks in advance
Aziz ur Rahman

  

Syed Aziz ur Rahman
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: LaneGrid Custom Header Serialize
Reply #1 - Dec 8th, 2010 at 9:29am
Print Post  
Hi,

I can't find Header.Tag property at all ... Perhaps you could use the diagram.Tag to store additional lanegrid attributes?

Stoyan
  
Back to top
 
IP Logged
 
Aziz ur Rahman
YaBB Newbies
*
Offline



Posts: 43
Joined: Feb 23rd, 2009
Re: LaneGrid Custom Header Serialize
Reply #2 - Dec 8th, 2010 at 9:46am
Print Post  
Hi,
What I meant to say was that there is no property in Header class that is being persisted.

Is not there any way to save and load our own custom header class? like we do with Nodes and Links?
  

Syed Aziz ur Rahman
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: LaneGrid Custom Header Serialize
Reply #3 - Dec 8th, 2010 at 10:25am
Print Post  
Hi,

Currently there's no way to use custom Header objects. Our developers can implement this for the next release.

Stoyan
  
Back to top
 
IP Logged
 
Aziz ur Rahman
YaBB Newbies
*
Offline



Posts: 43
Joined: Feb 23rd, 2009
Re: LaneGrid Custom Header Serialize
Reply #4 - Dec 8th, 2010 at 10:29am
Print Post  
So the only option left is to save the header related data in the diagram tag property..

Thanks for the info.
Regards
Aziz ur Rahman
  

Syed Aziz ur Rahman
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint