Class DescriptorPropertyChangedEventArgs
Represents the class that provides the data for PropertyChanged or PropertyChanging events which occur when a property is changed.
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public sealed class DescriptorPropertyChangedEventArgs : SyncfusionEventArgs
Constructors
DescriptorPropertyChangedEventArgs(String)
Initializes the new instance of the DescriptorPropertyChangedEventArgs with the specified property name.
Declaration
public DescriptorPropertyChangedEventArgs(string property)
Parameters
Type | Name | Description |
---|---|---|
System.String | property | The name of the property was changed. |
DescriptorPropertyChangedEventArgs(String, EventArgs)
Initializes the new instance of the DescriptorPropertyChangedEventArgs class with the specified property name and an instance of the System.EventArgs class.
Declaration
public DescriptorPropertyChangedEventArgs(string property, EventArgs inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | property | The name of the property was changed. |
System.EventArgs | inner | An System.EventArgs contains the event data. |
Remarks
If for example the fields collection is changed, the table object will raise a PropertyChanged event and use the original PropertyListChangedEventArgs as inner property.
Properties
Inner
Gets the inner EventArgs object with more detailed information about a nested event.
Declaration
[TraceProperty(true)]
public EventArgs Inner { get; }
Property Value
Type |
---|
System.EventArgs |
Remarks
If for example the fields collection is changed, the Table object will raise a PropertyChanged event and use the original PropertyListChangedEventArgs as inner property.
PropertyName
Gets the name of the property was changed.
Declaration
[TraceProperty(true)]
public string PropertyName { get; }
Property Value
Type |
---|
System.String |
Methods
GetNestedChildTableDescriptorEvent(ref TableDescriptor)
Checks if this object contains event data about a "Relations" property of a TableDescriptor and if the event was raised from a nested ChildTableDescriptor within the Relation collection.
In such case, the method returns the EventArgs for the original event within that nested ChildTableDescriptor.
For example, if a column was changed in a nested table descriptor, this method will return a reference to the TableDescriptor and the ColumnsChanged event data. You can analyze the event data whether just a width for the column has changed or if other settings were changed.
Declaration
public DescriptorPropertyChangedEventArgs GetNestedChildTableDescriptorEvent(ref TableDescriptor td)
Parameters
Type | Name | Description |
---|---|---|
TableDescriptor | td | An instance of the TableDescriptor class. |
Returns
Type | Description |
---|---|
DescriptorPropertyChangedEventArgs | The DescriptorPropertyChangedEventArgs instance. |