ModernContent Class |
Namespace: Hummingbird.UI
The ModernContent type exposes the following members.
Name | Description | |
---|---|---|
ModernContent |
Initializes a new instance of the ModernContent class.
| |
ModernContent(ModernWindow) |
Initializes a new instance of the ModernContent class.
|
Name | Description | |
---|---|---|
CommandArea |
Gets or Sets the CommandArea of the ModernContent.
| |
ContentChanged |
Gets or sets a value indicating whether the data held in this ModernContent has been changed.
| |
DetachedName |
Gets or Sets the value of Window name showing in Title bar, when the current ModernContent is detached.
| |
HasLoaded |
Gets or Sets a value indicates if the Load operation is done for this control. you need to pass manually this indicator to True once initialization has done.
| |
IsDarkTheme |
Gets the value if the current theme is dark background and white text.
| |
IsDetachable |
Gets or Sets a value indicates if the current content can be detached.
| |
ParentWindow |
The BasicWindow object who holds the current ModernContent
| |
StatusBar |
Gets or Sets the statusBar of the ModernContent.
| |
StrongName |
Unique identifier of this ModernContent, it is usually used to save personal data per control
|
Name | Description | |
---|---|---|
CanBeClosed |
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.
| |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
| |
HasNoValidationError |
Determines whether this content contains validation errors of Data Binding.
| |
ShowInformation |
Show an Windows 8.1 style information panel in the current window.
| |
ShowMessageBox(String, String, String) |
Shows the message box with detailed error message.
| |
ShowMessageBox(String, String, MessageBoxButton, MessageBoxImage, String) |
Show a MessageBox
| |
ShowToastNotification |
Shows a toast notification of given Content and Level.
|
Name | Description | |
---|---|---|
Closing |
When the content will be replaced in a ModernWindow, this event will be fired in order to save the changes.
|
Name | Description | |
---|---|---|
DetachedNameProperty |
The Dependency property for DetachedName
| |
IsDetachableProperty |
The is detachable property
|