Documentation

CancelPropertyNotificationEventArgs Class

CancelPropertyNotification event data

Syntax

public class CancelPropertyNotificationEventArgs : PropertyNotificationEventArgs

Description

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public class CancelPropertyNotificationEventArgs : PropertyNotificationEventArgs contains data returned from the event of canceling a property value change.

Properties

PropertiesC# Declaration SyntaxDescription

Cancel

public bool Cancel {get; set;}

Get or set value indicating whether to cancel event.

NewValue

public Object NewValue {get;}

Get new value of property.

OldValue

public Object OldValue {get;}

Get old value of property.

PropertyName

public virtual string PropertyName {get;}

Get name of property that changed.

Introduced in R2012a

Was this topic helpful?