TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / C1ZoomAttachingEventArgs Class / Cancel Property
Example

In This Topic
    Cancel Property (C1ZoomAttachingEventArgs)
    In This Topic
    Gets or sets a value indicating whether this C1ZoomAttaching event is cancel.
    Syntax
    'Declaration
     
    
    Public Property Cancel As Boolean
    public bool Cancel {get; set;}

    Property Value

    true if current attached operation is canceled; otherwise, false.
    Remarks
    In most cases, this property's default value is false. But for some form come from the GrapeCity componenet assembly, default value is true. Some form, which is for License, default value is true. If you want to attach the GcZoom to such forms, try to change the cancel property to false.
    Example

    The following code example shows how to use this property.

    This code example is part of a larger example provided for the C1ApplicationZoom class.

    See Also