CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
ChildChangedEventArgs.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="ChildChangedEventArgs.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Contains event data about the changed child object.</summary>
7//-----------------------------------------------------------------------
8using System;
9using System.Collections.Generic;
10using System.Linq;
11using System.Text;
12using System.ComponentModel;
13using System.Collections.Specialized;
14
15namespace Csla.Core
16{
20 public class ChildChangedEventArgs : EventArgs
21 {
25 public object ChildObject { get; private set; }
31 public PropertyChangedEventArgs PropertyChangedArgs { get; private set; }
37 public NotifyCollectionChangedEventArgs CollectionChangedArgs { get; private set; }
38
44 public ListChangedEventArgs ListChangedArgs { get; private set; }
45
58 public ChildChangedEventArgs(object childObject, PropertyChangedEventArgs propertyArgs, ListChangedEventArgs listArgs)
59 : this(childObject, propertyArgs)
60 {
61 this.ListChangedArgs = listArgs;
62 }
63
73 public ChildChangedEventArgs(object childObject, PropertyChangedEventArgs propertyArgs)
74 {
75 this.ChildObject = childObject;
76 this.PropertyChangedArgs = propertyArgs;
77 }
78
91 public ChildChangedEventArgs(object childObject, PropertyChangedEventArgs propertyArgs, NotifyCollectionChangedEventArgs listArgs)
92 : this(childObject, propertyArgs)
93 {
94 this.CollectionChangedArgs = listArgs;
95 }
96 }
97}
Contains event data about the changed child object.
PropertyChangedEventArgs PropertyChangedArgs
Gets the PropertyChangedEventArgs object from the child's PropertyChanged event, if the child is not ...
ChildChangedEventArgs(object childObject, PropertyChangedEventArgs propertyArgs, ListChangedEventArgs listArgs)
Creates an instance of the object.
object ChildObject
Gets a reference to the changed child object.
ListChangedEventArgs ListChangedArgs
Gets the ListChangedEventArgs object from the child's ListChanged event, if the child is a collection...
ChildChangedEventArgs(object childObject, PropertyChangedEventArgs propertyArgs, NotifyCollectionChangedEventArgs listArgs)
Creates an instance of the object.
NotifyCollectionChangedEventArgs CollectionChangedArgs
Gets the NotifyCollectionChangedEventArgs object from the child's CollectionChanged event,...
ChildChangedEventArgs(object childObject, PropertyChangedEventArgs propertyArgs)
Creates an instance of the object.