Minor request - nonundoable managed properties

Minor request - nonundoable managed properties

Old forum URL: forums.lhotka.net/forums/t/5716.aspx


rsbaker0 posted on Friday, October 31, 2008

It would be helpful if the PropertyInfo class would implement the current test for an undoable object as a virtual property or method of PropertyInfo, rather than just testing for the implementation of IUndoableObject.

This would allow derived classes to have a managed property and have a little more control over whether undo is supported for the property.

I could see a similar need for serializability also.

Basically, I'm looking for the equivalent of [NotUndoable] (and [Nonserialized]) for managed fields.

My apologies if I overlooked the ability to do this.

Copyright (c) Marimer LLC