Benny
Benny

Reputation: 8815

Dispose old image of Devexpress PictureEdit

I am binding it to XPCollection, how to dispose old image of devexpress PictureEdit control, when a new image is set?

Upvotes: 0

Views: 1193

Answers (1)

SLaks
SLaks

Reputation: 887489

Try handling the EditValueChanging event and disposing e.OldValue as IDisposable.

Upvotes: 2

Related Questions