IdeaBlade DevForce 2010 Help Reference
Cancel Property
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > IPropertyInterceptorArgs Interface : Cancel Property



Whether or not to cancel any further actions for the PropertyInterceptor.

Syntax

Visual Basic (Declaration) 
Property Cancel As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IPropertyInterceptorArgs
Dim value As Boolean
 
instance.Cancel = value
 
value = instance.Cancel
C# 
bool Cancel {get; set;}
C++/CLI 
property bool Cancel {
   bool get();
   void set (    bool value);
}

Remarks

You can cancel both get and set actions. If you set Cancel to true in a PropertyInterceptorAction no further actions will be invoked for that get or set call. In a get, the current Value will be returned from the property getter. In a set, a cancel in a BeforeSet action will cause the backing store not to be updated with the new value, while a cancel in an AfterSet action stops subsequent AfterSet actions from being invoked.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.