Click or drag to resize

ModernContent Methods

The ModernContent type exposes the following members.

Methods
  NameDescription
Public methodCanBeClosed
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.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Protected methodHasNoValidationError
Determines whether this content contains validation errors of Data Binding.
Public methodShowInformation
Show an Windows 8.1 style information panel in the current window.
Public methodShowMessageBox(String, String, String)
Shows the message box with detailed error message.
Public methodShowMessageBox(String, String, MessageBoxButton, MessageBoxImage, String)
Show a MessageBox
Public methodShowToastNotification
Shows a toast notification of given Content and Level.
Top
See Also