Skip to content

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

NameSummary
.ctorInitializes a new instance of the [ModernWindow](# class.

Properties

NameSummary
BrowseBackGets or sets the browse back.
AppBarEnabledGets or sets a value indicating whether [application bar enabled].
AppBarIsStickyGets a value indicating whether [application bar is sticky].
AppBarLeftGets or sets the AppBarLeft content.
AppBarRightGets or sets the AppBarRight content.
BackgroundContentGets or sets the background content of this window instance.
BusyCallsGets the busy calls.
ForegroundContentGets or sets the content of the foreground.
IsTitleVisibleGets or sets a value indicating whether the window title is visible in the UI.
LogoGets or sets the Image for the logo displayed in the title area of the window.
LogoDataGets or sets the path data for the logo displayed in the title area of the window.
MainMenuVisibleGets or sets the main menu visible.
MainTitleGets or sets the main title.
MainTitleFontGets or sets the main title font.
MainMenuGets or sets the collection of link groups shown in the window's menu.
NavBarGets or sets the Navigation Bar content.
NavBarBackButtonVisibleGets or sets Visibility of Navigation Bar Back Button.
NavBarLeftGets or sets the Navigation Bar Left content.
NavBarLogoVisibleGets or sets Visibility of Navigation Bar Logo.
NavBarVisibleGets or sets the Visibility of the Navigation Bar.
StatusBarGets or sets the StatusBar content.
TitleLogoGets or sets the title logo.
TitleLogoDataGets or sets the title logo data.
TitleMarginGets or sets the title margin.
IsDisposedGets a value indicating whether this instance is disposed.
BusyStatusTextGets the status bar status text.
BusyVisibilityGets the busy visibility.

Fields

NameSummary
static AppBarEnabledPropertyThe application bar enabled property.
static AppBarIsStickyPropertyHolds AppBar open until explicitly closed.
static AppBarLeftPropertyRecommended Height 88.
static AppBarRightPropertyRecommended Height 88.
static BackgroundContentPropertyIdentifies the BackgroundContent dependency property.
static ForegroundContentPropertyThe foreground content property.
static IsTitleVisiblePropertyIdentifies the IsTitleVisible dependency property.
static LogoDataPropertyIdentifies the LogoData dependency property.
static LogoPropertyIdentifies the Logo dependency property.
static MainMenuVisiblePropertyThe main menu visible property.
static MainTitleFontPropertyThe main title font property.
static MainTitlePropertyThe main title property.
static MainMenuPropertyIdentifies the MenuLinkGroups dependency property.
static NavBarBackButtonVisiblePropertyThe navigation bar back button visible property.
static NavBarLeftPropertyThe navigation bar left property.
static NavBarLogoVisiblePropertyThe navigation bar logo visible property.
static NavBarPropertyThe navigation bar property.
static NavBarVisiblePropertyThe navigation bar visible property.
static StatusBarPropertyThe status bar property.
static TitleLogoDataPropertyThe title logo data property.
static TitleLogoPropertyThe title logo property.
static TitleMarginPropertyThe title margin property.
static BrowseBackPropertyThe browse back property.

Methods

NameSummary
ThemeChangedThemes the changed.
OnApplyTemplateWhen overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Derived types

Inherited members