combit List & Label 29 - .NET Help
combit.Reporting Namespace / ListLabelPreviewControl Class / CanClose Method


In This Topic
    CanClose Method (ListLabelPreviewControl)
    In This Topic

    Must be used to query the state of the control before closing the hosting form/page. If the result is FALSE, the control must not be destroyed as unsaved user input might get lost otherwise.

    Syntax
    'Declaration
     
    
    Public Function CanClose() As Boolean
    public bool CanClose()
    public:
    bool CanClose(); 
    Requirements

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

    See Also