Cocktail Help Reference
Cancelled Property
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > DialogOperationResult<T> Class : Cancelled Property



Glossary Item Box

Indicates whether the dialog or message box has been cancelled.

Syntax

Visual Basic (Declaration) 
Public MustOverride ReadOnly Property Cancelled As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DialogOperationResult(Of T)
Dim value As Boolean
 
value = instance.Cancelled
C# 
public abstract bool Cancelled {get;}
C++/CLI 
public:
abstract property bool Cancelled {
   bool get();
}

Property Value

Cancelled is set to true, if the user clicked the designated cancel button in response to the dialog or message box.

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

© 2012 All Rights Reserved.