Skip to content
This repository was archived by the owner on Jan 15, 2023. It is now read-only.
This repository was archived by the owner on Jan 15, 2023. It is now read-only.

Cancel native app close #391

@wana211

Description

@wana211

Is it possible to cancel the native app being closed?
I can see a "HostClose" event on IChromelyNativeHost but this doesn't let you cancel. Perhaps "CloseEventArgs" could have a cancel property?

I'm developing a Cross-Platform app and when the native form is closed I need to cancel and show a "Are you sure message?" in case they have outstanding changes to save.

I have tried the Frameless option but this appears to only be implemented on Windows?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions