WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PropertyChangingEventArgs

    Show / Hide Table of Contents

    Class PropertyChangingEventArgs

    Class containing property changing event args.

    Inheritance
    System.Object
    System.EventArgs
    PropertyChangingEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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

    true if cancel; otherwise, false.

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved