C# Class TitleBarApp1.MainPage

Inheritance: Windows.UI.Xaml.Controls.Page
ファイルを表示 Open project: Myfreedom614/UWP-Samples

Public Properties

Property Type Description
Current MainPage

Public Methods

Method Description
AddCustomTitleBar ( ) : void
MainPage ( ) : System
NotifyUser ( string strMessage, NotifyType type ) : void

Used to display messages to the user

RemoveCustomTitleBar ( ) : void

Protected Methods

Method Description
OnNavigatedTo ( NavigationEventArgs e ) : void

Private Methods

Method Description
Button_Click ( object sender, RoutedEventArgs e ) : void
Footer_Click ( object sender, RoutedEventArgs e ) : void
ScenarioControl_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void

Called whenever the user changes selection in the scenarios list. This method will navigate to the respective sample scenario page.

Method Details

AddCustomTitleBar() public method

public AddCustomTitleBar ( ) : void
return void

MainPage() public method

public MainPage ( ) : System
return System

NotifyUser() public method

Used to display messages to the user
public NotifyUser ( string strMessage, NotifyType type ) : void
strMessage string
type NotifyType
return void

OnNavigatedTo() protected method

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e NavigationEventArgs
return void

RemoveCustomTitleBar() public method

public RemoveCustomTitleBar ( ) : void
return void

Property Details

Current public_oe static_oe property

public static MainPage Current
return MainPage