Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ObservableCollection<RoomObject> roomObjects;
- public ObservableCollection<RoomObject> RoomObjects
- {
- get { return roomObjects; }
- set
- {
- System.Diagnostics.Debug.WriteLine("Elem lista változás");
- if (RoomObjects != null)
- {
- foreach (RoomObject roomObject in RoomObjects)
- {
- System.Diagnostics.Debug.WriteLine(roomObject.Name);
- System.Diagnostics.Debug.WriteLine(roomObject.Width);
- System.Diagnostics.Debug.WriteLine(roomObject.Height);
- System.Diagnostics.Debug.WriteLine(roomObject.TranslationX);
- System.Diagnostics.Debug.WriteLine(roomObject.TranslationY);
- }
- }
- SetValue(ref roomObjects, value);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement