ModernWindow class¶
Defined in
Namespace: CrissCross.WPF.UI
Assembly: CrissCross.WPF.UI.dll
Full name: CrissCross.WPF.UI.ModernWindow
Modifiers: public
Summary¶
Represents a Modern UI styled window.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class ModernWindow
class NavigationWindow
NavigationWindow <|-- ModernWindow
class IWpfShell {
<>
}
IWpfShell <|.. ModernWindow
class IListenForMessages {
<>
}
IListenForMessages <|.. ModernWindow
class ICanShowMessages {
<>
}
ICanShowMessages <|.. ModernWindow
class IHaveAppBar {
<>
}
IHaveAppBar <|.. ModernWindow
class IControlAppBar {
<>
}
IControlAppBar <|.. ModernWindow
class ICancelable {
<>
}
ICancelable <|.. ModernWindow
class IDisposable {
<>
}
IDisposable <|.. ModernWindow
Inherits from: NavigationWindow
Implements: IWpfShell, IListenForMessages, ICanShowMessages, IHaveAppBar, IControlAppBar, ICancelable, IDisposable
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [ModernWindow](# class. |
Properties¶
| Name | Summary |
|---|---|
| BrowseBack | Gets or sets the browse back. |
| AppBarEnabled | Gets or sets a value indicating whether [application bar enabled]. |
| AppBarIsSticky | Gets a value indicating whether [application bar is sticky]. |
| AppBarLeft | Gets or sets the AppBarLeft content. |
| AppBarRight | Gets or sets the AppBarRight content. |
| BackgroundContent | Gets or sets the background content of this window instance. |
| BusyCalls | Gets the busy calls. |
| ForegroundContent | Gets or sets the content of the foreground. |
| IsTitleVisible | Gets or sets a value indicating whether the window title is visible in the UI. |
| Logo | Gets or sets the Image for the logo displayed in the title area of the window. |
| LogoData | Gets or sets the path data for the logo displayed in the title area of the window. |
| MainMenuVisible | Gets or sets the main menu visible. |
| MainTitle | Gets or sets the main title. |
| MainTitleFont | Gets or sets the main title font. |
| MainMenu | Gets or sets the collection of link groups shown in the window's menu. |
| NavBar | Gets or sets the Navigation Bar content. |
| NavBarBackButtonVisible | Gets or sets Visibility of Navigation Bar Back Button. |
| NavBarLeft | Gets or sets the Navigation Bar Left content. |
| NavBarLogoVisible | Gets or sets Visibility of Navigation Bar Logo. |
| NavBarVisible | Gets or sets the Visibility of the Navigation Bar. |
| StatusBar | Gets or sets the StatusBar content. |
| TitleLogo | Gets or sets the title logo. |
| TitleLogoData | Gets or sets the title logo data. |
| TitleMargin | Gets or sets the title margin. |
| IsDisposed | Gets a value indicating whether this instance is disposed. |
| BusyStatusText | Gets the status bar status text. |
| BusyVisibility | Gets the busy visibility. |
Fields¶
| Name | Summary |
|---|---|
| static AppBarEnabledProperty | The application bar enabled property. |
| static AppBarIsStickyProperty | Holds AppBar open until explicitly closed. |
| static AppBarLeftProperty | Recommended Height 88. |
| static AppBarRightProperty | Recommended Height 88. |
| static BackgroundContentProperty | Identifies the BackgroundContent dependency property. |
| static ForegroundContentProperty | The foreground content property. |
| static IsTitleVisibleProperty | Identifies the IsTitleVisible dependency property. |
| static LogoDataProperty | Identifies the LogoData dependency property. |
| static LogoProperty | Identifies the Logo dependency property. |
| static MainMenuVisibleProperty | The main menu visible property. |
| static MainTitleFontProperty | The main title font property. |
| static MainTitleProperty | The main title property. |
| static MainMenuProperty | Identifies the MenuLinkGroups dependency property. |
| static NavBarBackButtonVisibleProperty | The navigation bar back button visible property. |
| static NavBarLeftProperty | The navigation bar left property. |
| static NavBarLogoVisibleProperty | The navigation bar logo visible property. |
| static NavBarProperty | The navigation bar property. |
| static NavBarVisibleProperty | The navigation bar visible property. |
| static StatusBarProperty | The status bar property. |
| static TitleLogoDataProperty | The title logo data property. |
| static TitleLogoProperty | The title logo property. |
| static TitleMarginProperty | The title margin property. |
| static BrowseBackProperty | The browse back property. |
Methods¶
| Name | Summary |
|---|---|
| ThemeChanged | Themes the changed. |
| OnApplyTemplate | When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate(). |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Derived types¶
Inherited members
CrissCross.WPF.NavigationWindow.NavigateBackIsEnabledPropertyCrissCross.WPF.NavigationWindow.NavigationFramePropertyCrissCross.WPF.NavigationWindow.TransitionPropertyCrissCross.WPF.NavigationWindow.#ctorCrissCross.WPF.NavigationWindow.OnApplyTemplateCrissCross.WPF.NavigationWindow.CanNavigateBackCrissCross.WPF.NavigationWindow.NavigateBackIsEnabledCrissCross.WPF.NavigationWindow.NavigationFrameCrissCross.WPF.NavigationWindow.TransitionSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString