C# Class SharpCaster.Simple.Controllers.CastButton

Inheritance: Windows.UI.Xaml.Controls.Control
Show file Open project: tapanila/SharpCaster

Public Properties

Property Type Description
CastDialogProperty Windows.UI.Xaml.DependencyProperty
ChromecastsProperty Windows.UI.Xaml.DependencyProperty
ConnectedToChromecastProperty DependencyProperty

Public Methods

Method Description
CastButton ( ) : System
GoToState ( CastButtonVisualStates state ) : void

Protected Methods

Method Description
OnApplyTemplate ( ) : void

Private Methods

Method Description
CastIcon_Tapped ( object sender, Windows e ) : void
Chromecasts_CollectionChanged ( object sender, System e ) : void
ConnectionStateChanged ( DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs ) : void
ExecuteOnUiThread ( DispatchedHandler yourAction ) : Task
UpdateState ( ) : void

Method Details

CastButton() public method

public CastButton ( ) : System
return System

GoToState() public method

public GoToState ( CastButtonVisualStates state ) : void
state CastButtonVisualStates
return void

OnApplyTemplate() protected method

protected OnApplyTemplate ( ) : void
return void

Property Details

CastDialogProperty public static property

public static DependencyProperty,Windows.UI.Xaml CastDialogProperty
return Windows.UI.Xaml.DependencyProperty

ChromecastsProperty public static property

public static DependencyProperty,Windows.UI.Xaml ChromecastsProperty
return Windows.UI.Xaml.DependencyProperty

ConnectedToChromecastProperty public static property

public static DependencyProperty ConnectedToChromecastProperty
return DependencyProperty