C# Class WinRTXamlToolkit.Controls.CountdownControl

显示文件 Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Public Properties

Property Type Description
SecondsProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
CountdownControl ( ) : System

Initializes a new instance of the CountdownControl class.

StartCountdownAsync ( int seconds ) : System.Threading.Tasks.Task

Starts the countdown and completes when the countdown completes.

Private Methods

Method Description
OnSecondsChanged ( DependencyObject sender, DependencyPropertyChangedEventArgs e ) : void
OnSecondsChanged ( int oldSeconds, int newSeconds ) : void

Method Details

CountdownControl() public method

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

StartCountdownAsync() public method

Starts the countdown and completes when the countdown completes.
public StartCountdownAsync ( int seconds ) : System.Threading.Tasks.Task
seconds int The seconds.
return System.Threading.Tasks.Task

Property Details

SecondsProperty public_oe static_oe property

The seconds property.
public static DependencyProperty,Windows.UI.Xaml SecondsProperty
return Windows.UI.Xaml.DependencyProperty