C# Class SumoNinjaMonkey.Framework.Controls.TiltTile

Inheritance: Windows.UI.Xaml.Controls.Primitives.ButtonBase
显示文件 Open project: liquidboy/X Class Usage Examples

Public Properties

Property Type Description
ContentControlProperty Windows.UI.Xaml.DependencyProperty
LabelFontSizeProperty Windows.UI.Xaml.DependencyProperty
LabelProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
Explode ( ) : void
Hide ( ) : void
LoadImage ( Uri uri ) : void
LoadPathIcon ( string pathData, Brush iconColor = null, int width = 25, int height = 25 ) : void
PrepareForShow ( ) : void
Show ( ) : void
TiltTile ( ) : GalaSoft.MvvmLight.Messaging
TiltTile_Click ( object sender, RoutedEventArgs e ) : void
Unload ( ) : void

Protected Methods

Method Description
OnApplyTemplate ( ) : void

Private Methods

Method Description
TiltEffect ( Point pt ) : void
_doRelease ( RoutedEventArgs e ) : void
mainGrid_PointerExited ( object sender, PointerRoutedEventArgs e ) : void
mainGrid_PointerMoved ( object sender, Windows e ) : void
mainGrid_PointerPressed ( object sender, PointerRoutedEventArgs e ) : void
mainGrid_PointerReleased ( object sender, PointerRoutedEventArgs e ) : void

Method Details

Explode() public method

public Explode ( ) : void
return void

Hide() public method

public Hide ( ) : void
return void

LoadImage() public method

public LoadImage ( Uri uri ) : void
uri Uri
return void

LoadPathIcon() public method

public LoadPathIcon ( string pathData, Brush iconColor = null, int width = 25, int height = 25 ) : void
pathData string
iconColor Windows.UI.Xaml.Media.Brush
width int
height int
return void

OnApplyTemplate() protected method

protected OnApplyTemplate ( ) : void
return void

PrepareForShow() public method

public PrepareForShow ( ) : void
return void

Show() public method

public Show ( ) : void
return void

TiltTile() public method

public TiltTile ( ) : GalaSoft.MvvmLight.Messaging
return GalaSoft.MvvmLight.Messaging

TiltTile_Click() public method

public TiltTile_Click ( object sender, RoutedEventArgs e ) : void
sender object
e Windows.UI.Xaml.RoutedEventArgs
return void

Unload() public method

public Unload ( ) : void
return void

Property Details

ContentControlProperty public_oe static_oe property

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

LabelFontSizeProperty public_oe static_oe property

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

LabelProperty public_oe static_oe property

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