C# Класс FirstFloor.ModernUI.Windows.Controls.ModernFrame

A simple content frame implementation with navigation support.
Наследование: System.Windows.Controls.ContentControl
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

GetKeepAlive() публичный статический Метод

public static GetKeepAlive ( DependencyObject o ) : bool?
o System.Windows.DependencyObject
Результат bool?

GetKeepContentAlive() публичный статический Метод

public static GetKeepContentAlive ( DependencyObject o ) : bool
o System.Windows.DependencyObject
Результат bool

GetTopSource() публичный статический Метод

public static GetTopSource ( DependencyObject o ) : Uri
o System.Windows.DependencyObject
Результат System.Uri

ModernFrame() публичный Метод

public ModernFrame ( ) : System
Результат System

OnApplyTemplate() публичный Метод

public OnApplyTemplate ( ) : void
Результат void

SetKeepAlive() публичный статический Метод

public static SetKeepAlive ( DependencyObject o, bool value ) : void
o System.Windows.DependencyObject
value bool
Результат void

SetKeepContentAlive() публичный статический Метод

public static SetKeepContentAlive ( DependencyObject o, bool value ) : void
o System.Windows.DependencyObject
value bool
Результат void

SetTopSource() публичный статический Метод

public static SetTopSource ( DependencyObject o, Uri value ) : void
o System.Windows.DependencyObject
value System.Uri
Результат void

Описание свойств

ContentLoaderProperty публичное статическое свойство

public static DependencyProperty,System.Windows ContentLoaderProperty
Результат System.Windows.DependencyProperty

IsLoadingContentProperty публичное статическое свойство

public static DependencyProperty,System.Windows IsLoadingContentProperty
Результат System.Windows.DependencyProperty

KeepAliveProperty публичное статическое свойство

public static DependencyProperty,System.Windows KeepAliveProperty
Результат System.Windows.DependencyProperty

KeepContentAliveProperty публичное статическое свойство

public static DependencyProperty,System.Windows KeepContentAliveProperty
Результат System.Windows.DependencyProperty

OptionDisableTransitionAnimation публичное статическое свойство

public static bool OptionDisableTransitionAnimation
Результат bool

OptionTransitionName публичное статическое свойство

public static string OptionTransitionName
Результат string

OptionUseSyncNavigation публичное статическое свойство

public static bool OptionUseSyncNavigation
Результат bool

SourceProperty публичное статическое свойство

public static DependencyProperty,System.Windows SourceProperty
Результат System.Windows.DependencyProperty

TopSourceProperty публичное статическое свойство

public static DependencyProperty,System.Windows TopSourceProperty
Результат System.Windows.DependencyProperty

TransitionNameProperty публичное статическое свойство

public static DependencyProperty,System.Windows TransitionNameProperty
Результат System.Windows.DependencyProperty