Click or drag to resize

ModernContentCanBeClosed Method

Calls before closing the window. By default this function triggers Closing event. if the event is canceled, the result is false. If the Closing event is not defined, then True will be returned. This function can be overridden, to prompt user to save changes before content closing.

Namespace:  Hummingbird.UI
Assembly:  Hummingbird.UI (in Hummingbird.UI.dll) Version: 1.1.0.0
Syntax
public virtual bool CanBeClosed()

Return Value

Type: Boolean
True indicating that the content can be closed, or False that the content cannot be closed.
See Also