Class PropertyChangingEventArgs
Class containing property changing event args.
Inheritance
System.Object
System.EventArgs
PropertyChangingEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public sealed class PropertyChangingEventArgs : EventArgs
Constructors
PropertyChangingEventArgs(IPropertyContainer, String, Object)
Initializes a new instance of the PropertyChangingEventArgs class.
Declaration
public PropertyChangingEventArgs(IPropertyContainer propertyContainer, string strPropertyName, object newValue)
Parameters
Type | Name | Description |
---|---|---|
IPropertyContainer | propertyContainer | The property container. |
System.String | strPropertyName | Name of the property. |
System.Object | newValue | The new value. |
Properties
Cancel
Gets or sets a value indicating whether this PropertyChangingEventArgs is cancel.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
NewValue
Gets the new value.
Declaration
public object NewValue { get; }
Property Value
Type | Description |
---|---|
System.Object | The new value. |
PropertyContainer
Gets the property container.
Declaration
public IPropertyContainer PropertyContainer { get; }
Property Value
Type | Description |
---|---|
IPropertyContainer | The property container. |
PropertyName
Gets the name of the property.
Declaration
public string PropertyName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the property. |