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

A simple content frame implementation with navigation support.
Inheritance: System.Windows.Controls.ContentControl
Afficher le fichier Open project: gro-ove/actools Class Usage Examples

Méthodes publiques

Свойство Type Description
ContentLoaderProperty System.Windows.DependencyProperty
IsLoadingContentProperty System.Windows.DependencyProperty
KeepAliveProperty System.Windows.DependencyProperty
KeepContentAliveProperty System.Windows.DependencyProperty
OptionDisableTransitionAnimation bool
OptionTransitionName string
OptionUseSyncNavigation bool
SourceProperty System.Windows.DependencyProperty
TopSourceProperty System.Windows.DependencyProperty
TransitionNameProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
GetKeepAlive ( DependencyObject o ) : bool?
GetKeepContentAlive ( DependencyObject o ) : bool
GetTopSource ( DependencyObject o ) : Uri
ModernFrame ( ) : System
OnApplyTemplate ( ) : void
SetKeepAlive ( DependencyObject o, bool value ) : void
SetKeepContentAlive ( DependencyObject o, bool value ) : void
SetTopSource ( DependencyObject o, Uri value ) : void

Private Methods

Méthode Description
CanNavigate ( Uri oldValue, Uri newValue, NavigationType navigationType ) : bool
GetChildFrames ( ) : IEnumerable
HandleRoutedEvent ( System.Windows.Input.CanExecuteRoutedEventArgs args ) : bool
Navigate ( Uri oldValue, Uri newValue, NavigationType navigationType ) : void
NavigateAsync ( Uri oldValue, Uri newValue, NavigationType navigationType ) : void
NavigateSync ( Uri oldValue, Uri newValue, NavigationType navigationType ) : void
OnBrowseBack ( object target, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnBrowseForward ( object target, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnCanBrowseBack ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
OnCanBrowseForward ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
OnCanCopy ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
OnCanGoToPage ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
OnCanRefresh ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
OnContentLoaderChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnCopy ( object target, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnFragmentNavigation ( IContent content, FragmentNavigationEventArgs e ) : void
OnGoToPage ( object target, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnKeepContentAliveChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnKeepContentAliveChanged ( bool keepAlive ) : void
OnLoaded ( object sender, RoutedEventArgs e ) : void
OnNavigated ( IContent oldContent, IContent newContent, NavigationEventArgs e ) : void
OnNavigating ( IContent content, NavigatingCancelEventArgs e ) : void
OnNavigationFailed ( NavigationFailedEventArgs e ) : void
OnRefresh ( object target, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnSourceChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSourceChanged ( Uri oldValue, Uri newValue ) : void
RegisterChildFrame ( ModernFrame frame ) : void
SetContent ( Uri newSource, NavigationType navigationType, object newContent, bool contentIsError ) : void
SetNavigationFailedContent ( Uri newValue, NavigationType navigationType, Exception e ) : void
ShouldKeepContentAlive ( object content ) : bool

Method Details

GetKeepAlive() public static méthode

public static GetKeepAlive ( DependencyObject o ) : bool?
o System.Windows.DependencyObject
Résultat bool?

GetKeepContentAlive() public static méthode

public static GetKeepContentAlive ( DependencyObject o ) : bool
o System.Windows.DependencyObject
Résultat bool

GetTopSource() public static méthode

public static GetTopSource ( DependencyObject o ) : Uri
o System.Windows.DependencyObject
Résultat System.Uri

ModernFrame() public méthode

public ModernFrame ( ) : System
Résultat System

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

SetKeepAlive() public static méthode

public static SetKeepAlive ( DependencyObject o, bool value ) : void
o System.Windows.DependencyObject
value bool
Résultat void

SetKeepContentAlive() public static méthode

public static SetKeepContentAlive ( DependencyObject o, bool value ) : void
o System.Windows.DependencyObject
value bool
Résultat void

SetTopSource() public static méthode

public static SetTopSource ( DependencyObject o, Uri value ) : void
o System.Windows.DependencyObject
value System.Uri
Résultat void

Property Details

ContentLoaderProperty public_oe static_oe property

public static DependencyProperty,System.Windows ContentLoaderProperty
Résultat System.Windows.DependencyProperty

IsLoadingContentProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsLoadingContentProperty
Résultat System.Windows.DependencyProperty

KeepAliveProperty public_oe static_oe property

public static DependencyProperty,System.Windows KeepAliveProperty
Résultat System.Windows.DependencyProperty

KeepContentAliveProperty public_oe static_oe property

public static DependencyProperty,System.Windows KeepContentAliveProperty
Résultat System.Windows.DependencyProperty

OptionDisableTransitionAnimation public_oe static_oe property

public static bool OptionDisableTransitionAnimation
Résultat bool

OptionTransitionName public_oe static_oe property

public static string OptionTransitionName
Résultat string

OptionUseSyncNavigation public_oe static_oe property

public static bool OptionUseSyncNavigation
Résultat bool

SourceProperty public_oe static_oe property

public static DependencyProperty,System.Windows SourceProperty
Résultat System.Windows.DependencyProperty

TopSourceProperty public_oe static_oe property

public static DependencyProperty,System.Windows TopSourceProperty
Résultat System.Windows.DependencyProperty

TransitionNameProperty public_oe static_oe property

public static DependencyProperty,System.Windows TransitionNameProperty
Résultat System.Windows.DependencyProperty