Click or drag to resize

BasicWindow Class

Basic Window is classic window which contains a control box with contents. it is used to hosts all other windows except for main window.
Inheritance Hierarchy

Namespace:  Hummingbird.UI
Assembly:  Hummingbird.UI (in Hummingbird.UI.dll) Version: 1.1.0.0
Syntax
public class BasicWindow : Window, 
	IDisposable

The BasicWindow type exposes the following members.

Constructors
  NameDescription
Public methodBasicWindow
Initializes a new instance of the BasicWindow class.
Top
Properties
  NameDescription
Public propertyCommands
Gets or Sets an collection of UIElements as Commands, these commands will be show on the Title Bar.
Public propertyDarkBackground
Background image used for Dark theme. the background image itself must be dark enough (Black).
Public propertyDarkIcon
Icon used for Dark theme.
Public propertyStatic memberDefaultDarkBackground
Gets or Sets the Default background image used in Dark themes.
Public propertyStatic memberDefaultDarkIcon
Gets or Sets the Default Icon used in Dark themes.
Public propertyStatic memberDefaultLightBackground
Gets or Sets the Default background image used in light themes.
Public propertyStatic memberDefaultLightIcon
Gets or Sets the Default Icon used in Light themes.
Protected propertyDefaultStyle
Gets or sets the default style of the Window.
Public propertyHasControlBox
Gets or Sets the value to indicate if current window has Control Box (including Minimize, Maximize and Close button)
Public propertyHasLoaded
Gets or Sets the value to indicate if all components and loading logics has done.
Public propertyId
Gets or sets the identifier of the Window.
Public propertyIsBusy
Gets or Sets the value to indicate if the current window Is Busy.
Public propertyIsDarkTheme
Gets the value if the current theme is dark background and white text.
Public propertyIsTitleHighlighted
Gets or Sets a value to indicate where the Title bar is highlighted.
Public propertyLightBackground
Background image used for Light theme. the background image itself must be light enough (While).
Public propertyLightIcon
Icon used for Light theme.
Public propertySideBar
Gets or sets the Sidebar shown on the right side of the window
Public propertySideBarMaxWidth
Gets or sets the maximum width of the SideBar panel. the default value is 350 pixels
Public propertySideBarMinWidth
Gets or sets the minimum width of the SideBar panel. the default value is 300 pixels.
Public propertySideBarTitle
Gets or sets the Title of the sidebar title.
Public propertySideBarVisibility
Gets or sets the Visibility of The SideBar
Public propertyWindowStatus
Gets or Sets the value to visually shows the status of the current window, by different border colors.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodShowInformation
Show an In line information in the current window.
Public methodShowMessageBox
Show a MessageBox
Public methodShowToastNotification
Shows the toast notification.
Public methodUpdateBackground
Updates the background to adapt the changes of theme
Public methodUpdateIcon
Update the Icon to adapt the changes of theme.
Top
Fields
  NameDescription
Public fieldStatic memberCommandsProperty
The commands property
Public fieldStatic memberHasControlBoxProperty
The has control box property, indicate if the windows contains the control box (Minimize, Maximum and Close button)
Public fieldStatic memberHasLoadedProperty
The DependencyProperty for the property HasLoaded
Public fieldStatic memberIsBusyProperty
The DependencyProperty for IsBusy property
Public fieldStatic memberIsTitleHighlightedProperty
The is title highlighted property
Public fieldStatic memberSideBarMaxWidthProperty
The DependencyProperty holding the Maximum width of the SideBar.
Public fieldStatic memberSideBarMinWidthProperty
The DependencyProperty holding the Minimum width of the SideBar.
Public fieldStatic memberSideBarProperty
The DependencyProperty for SideBar
Public fieldStatic memberSideBarTitleProperty
The DependencyProperty for SideBarTitle
Public fieldStatic memberSideBarVisibilityProperty
The DependencyProperty for SideBarVisibility
Public fieldStatic memberWindowStatusProperty
The Dependency Property for WindowStatus property
Top
Remarks
BasicWindow should be used to all other windows than the main window. You can build the window content the same way as you are building a classic WPF Window. The styles, animations will be applied automatically.
See Also