C# Class TitleBarApp1.CustomTitleBar

Inheritance: Windows.UI.Xaml.Controls.UserControl, INotifyPropertyChanged
Afficher le fichier Open project: Myfreedom614/UWP-Samples Class Usage Examples

Méthodes publiques

Méthode Description
CustomTitleBar ( ) : System
EnableControlsInTitleBar ( bool enable ) : void
SetPageContent ( UIElement newContent ) : UIElement

Private Methods

Méthode Description
CustomTitleBar_Loaded ( object sender, RoutedEventArgs e ) : void
CustomTitleBar_Unloaded ( object sender, RoutedEventArgs e ) : void
OnIsVisibleChanged ( CoreApplicationViewTitleBar sender, object e ) : void
OnLayoutMetricsChanged ( CoreApplicationViewTitleBar sender, object e ) : void
OnWindowSizeChanged ( object sender, WindowSizeChangedEventArgs e ) : void
UpdateLayoutMetrics ( ) : void
UpdatePositionAndVisibility ( ) : void

Method Details

CustomTitleBar() public méthode

public CustomTitleBar ( ) : System
Résultat System

EnableControlsInTitleBar() public méthode

public EnableControlsInTitleBar ( bool enable ) : void
enable bool
Résultat void

SetPageContent() public méthode

public SetPageContent ( UIElement newContent ) : UIElement
newContent Windows.UI.Xaml.UIElement
Résultat Windows.UI.Xaml.UIElement