Ticket S34863
Visible to All Users

ObjectSpace - provide an option to control whether the ObjectSpace is modified when a non-persistent property is changed

created 15 years ago

Refer to the Nonpersistent property change makes ObjectSpace modified issue for more details.
It's helpful not to make ObjectSpace modified if we use non-persistent properties just to provide some options in the UI, for example triggers for filtering a nested ListVew.
Thanks,
Dennis

Answers approved by DevExpress Support

created 13 years ago (modified 12 years ago)

Starting with version 11.2.7 the IObjectSpace class has a new method: void SetModified(Object obj, IMemberInfo memberInfo).
You can use this method not only to inform about object modifications, but also to specify which particular property is changed.
Starting with version 11.2.7 the ObjectSpace class will also have a new NonPersistentChangesEnabled property to control the subject.
To avoid problems in our customers' existing projects in a minor version, this property is set to True by default. However, starting with version 12.1 it is set to False, as it was asked by the majority of our customers during a corresponding forum discussion: http://community.devexpress.com/forums/t/89318.aspx
We will also describe this property in the product documentation.
Thanks,
Dennis

    Comments (1)

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.