C# Class FirstFloor.ModernUI.Windows.Controls.ModernWindow

Represents a Modern UI styled window.
Inheritance: System.Windows.Window
ファイルを表示 Open project: gro-ove/actools Class Usage Examples

Public Properties

Property Type Description
AdditionalContentProperty System.Windows.DependencyProperty
AppUpdateAvailableProperty System.Windows.DependencyProperty
AppUpdateCommandProperty System.Windows.DependencyProperty
BackgroundContentProperty System.Windows.DependencyProperty
ContentLoaderProperty System.Windows.DependencyProperty
DefaultContentSourceProperty System.Windows.DependencyProperty
FrameMarginProperty DependencyProperty
IsTitleVisibleProperty DependencyProperty
LinkNavigatorProperty DependencyProperty
MenuLinkGroupsProperty DependencyProperty
SaveKeyProperty DependencyProperty
TitleLinksProperty DependencyProperty

Private Properties

Property Type Description
Frame_Navigated void
OnCanMinimizeWindow void
OnCanNavigateLink void
OnCanNavigateTitleLink void
OnCanResizeWindow void
OnCloseWindow void
OnMaximizeWindow void
OnMinimizeWindow void
OnNavigateLink void
OnNavigateTitleLink void
OnRestoreWindow void

Public Methods

Method Description
ModernWindow ( ) : System

Initializes a new instance of the ModernWindow class.

NavigateTo ( Uri uri ) : void
OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().

Private Methods

Method Description
Frame_Navigated ( object sender, NavigationEventArgs navigationEventArgs ) : void
OnCanMinimizeWindow ( object sender, CanExecuteRoutedEventArgs e ) : void
OnCanNavigateLink ( object sender, CanExecuteRoutedEventArgs e ) : void
OnCanNavigateTitleLink ( object sender, CanExecuteRoutedEventArgs e ) : void
OnCanResizeWindow ( object sender, CanExecuteRoutedEventArgs e ) : void
OnCloseWindow ( object target, ExecutedRoutedEventArgs e ) : void
OnMaximizeWindow ( object target, ExecutedRoutedEventArgs e ) : void
OnMinimizeWindow ( object target, ExecutedRoutedEventArgs e ) : void
OnNavigateLink ( object sender, ExecutedRoutedEventArgs e ) : void
OnNavigateTitleLink ( object sender, ExecutedRoutedEventArgs e ) : void
OnRestoreWindow ( object target, ExecutedRoutedEventArgs e ) : void

Method Details

ModernWindow() public method

Initializes a new instance of the ModernWindow class.
public ModernWindow ( ) : System
return System

NavigateTo() public method

public NavigateTo ( Uri uri ) : void
uri Uri
return void

OnApplyTemplate() public method

When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().
public OnApplyTemplate ( ) : void
return void

Property Details

AdditionalContentProperty public_oe static_oe property

public static DependencyProperty,System.Windows AdditionalContentProperty
return System.Windows.DependencyProperty

AppUpdateAvailableProperty public_oe static_oe property

public static DependencyProperty,System.Windows AppUpdateAvailableProperty
return System.Windows.DependencyProperty

AppUpdateCommandProperty public_oe static_oe property

public static DependencyProperty,System.Windows AppUpdateCommandProperty
return System.Windows.DependencyProperty

BackgroundContentProperty public_oe static_oe property

Identifies the BackgroundContent dependency property.
public static DependencyProperty,System.Windows BackgroundContentProperty
return System.Windows.DependencyProperty

ContentLoaderProperty public_oe static_oe property

Identifies the ContentLoader dependency property.
public static DependencyProperty,System.Windows ContentLoaderProperty
return System.Windows.DependencyProperty

DefaultContentSourceProperty public_oe static_oe property

public static DependencyProperty,System.Windows DefaultContentSourceProperty
return System.Windows.DependencyProperty

FrameMarginProperty public_oe static_oe property

public static DependencyProperty FrameMarginProperty
return DependencyProperty

IsTitleVisibleProperty public_oe static_oe property

Identifies the IsTitleVisible dependency property.
public static DependencyProperty IsTitleVisibleProperty
return DependencyProperty

LinkNavigatorProperty public_oe static_oe property

Identifies the LinkNavigator dependency property.
public static DependencyProperty LinkNavigatorProperty
return DependencyProperty

MenuLinkGroupsProperty public_oe static_oe property

Identifies the MenuLinkGroups dependency property.
public static DependencyProperty MenuLinkGroupsProperty
return DependencyProperty

SaveKeyProperty public_oe static_oe property

public static DependencyProperty SaveKeyProperty
return DependencyProperty

TitleLinksProperty public_oe static_oe property

Identifies the TitleLinks dependency property.
public static DependencyProperty TitleLinksProperty
return DependencyProperty