We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

HistoryManager

How can I affect what description is logged to the Syncfusion.Windows.Forms.Diagram.HistoryManager. I use the member public int GetUndoDescriptions( int nDepth, out string strCmdDescriptions ).
My problem is that the string i got isn't localisable.

2 Replies

GR Golda Rebecal Syncfusion Team October 2, 2007 12:07 AM UTC

Hi Enib,

Sorry for the delay in responding.

It is not possible to set the descriptions in HistoryManger. But it is possible to get the logged information form the HistoryManager by using diagram1.Model.HistoryManager.GetUndoDescriptions and diagram1.Model.HistoryManager.GetRedoDescriptions methods.

Here is the code snippet:

//get the undo discriptions from the HistoryManager
this.diagram1.Model.HistoryManager.GetUndoDescriptions(1, out undodesc);
//get the redo discriptions from the HistoryManager
this.diagram1.Model.HistoryManager.GetRedoDescriptions(1, out redodesc);


Please let me know if you have any questions.

Best regards,
Golda


SW Sabine Wohlgenannt October 3, 2007 02:34 PM UTC

Thank you for your effort.
With kind regards,
enib.s

Loader.
Live Chat Icon For mobile
Up arrow icon