Alternative to obsolete UndoState.DisabledNoFlush

Posted by Apóstolo on Stack Overflow See other posts from Stack Overflow or by Apóstolo
Published on 2009-01-05T12:02:16Z Indexed on 2010/03/25 11:03 UTC
Read the original article Hit count: 435

Filed under:
|
|

A partner of mine asked this,

Hello,

I am using C# and DSL Tools for VS2005.

I need to create Transactions to change some data but i want them to be hidden from the user, that means, to not show in the UNDO list in VS2005.

store.UndoManager.UndoState = UndoState.Disabled;

this solved the problem but is documented has obsolete and no alternative is given nor could i found any until now, any1 knows a non obsolete way to do this.

Compliments, Frederico.

© Stack Overflow or respective owner

Related posts about dsl-tools

Related posts about dsl