Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / Wizard Class / CancelButtonClosesWindow Property


In This Topic
    CancelButtonClosesWindow Property
    In This Topic
    Gets or sets a value indicating whether the Cancel button closes the window.
    Syntax
    'Declaration
     
    Public Property CancelButtonClosesWindow As Boolean
    'Usage
     
    Dim instance As Wizard
    Dim value As Boolean
     
    instance.CancelButtonClosesWindow = value
     
    value = instance.CancelButtonClosesWindow
    public bool CancelButtonClosesWindow {get; set;}

    Property Value

    true if the Cancel button closes the window; false otherwise.
    Remarks
    CanCancel must be set to true to enable the Cancel button.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also