combit List & Label 30 - .NET Help
combit.Reporting Namespace / DesignerControl Class / CanClose Method


CanClose Method (DesignerControl)
Returns if it is save to close the form and dispose the control. Might return false if there are unsaved changes and the user clicks on "Cancel" during the save query.
Syntax
'Declaration
 
Public Function CanClose() As Boolean
 
Requirements

Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also