C# Class SumoNinjaMonkey.Framework.Controls.PopupView

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

Public Properties

Property Type Description
BackgroundFillProperty Windows.UI.Xaml.DependencyProperty
ContentThicknessProperty Windows.UI.Xaml.DependencyProperty
CountdownBackgroundColorProperty Windows.UI.Xaml.DependencyProperty
InnerBorderColorProperty Windows.UI.Xaml.DependencyProperty
MessageTextForegroundColorProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
Hide ( ) : void
HideToolbar ( ) : void
Move ( double newX, double newY ) : void
PopupView ( UserControl viewToLoad, Brush primaryAccent, Brush secondaryAccent, bool autoHide, double timeToLive, string button1ClickContent = "", string button1ClickIdentifier = "", string button2ClickContent = "", string button2ClickIdentifier = "", double width = 100, double height = 100, string button1MetroIcon = "", double button1Rotation, string button2MetroIcon = "", double button2Rotation, UserControl toolbar = null, bool showInnerBorder = true ) : System
Show ( double newX, double newY ) : void
ShowToolbar ( ) : void
ToogleToolbar ( ) : void

Private Methods

Method Description
BackgroundFillPropertyChanged ( DependencyObject obj, DependencyPropertyChangedEventArgs args ) : void
ContentThicknessPropertyChanged ( DependencyObject obj, DependencyPropertyChangedEventArgs args ) : void
CountdownBackgroundColorPropertyChanged ( DependencyObject obj, DependencyPropertyChangedEventArgs args ) : void
InnerBorderColorPropertyChanged ( DependencyObject obj, DependencyPropertyChangedEventArgs args ) : void
MessageTextForegroundColorPropertyChanged ( DependencyObject obj, DependencyPropertyChangedEventArgs args ) : void

Method Details

Hide() public method

public Hide ( ) : void
return void

HideToolbar() public method

public HideToolbar ( ) : void
return void

Move() public method

public Move ( double newX, double newY ) : void
newX double
newY double
return void

PopupView() public method

public PopupView ( UserControl viewToLoad, Brush primaryAccent, Brush secondaryAccent, bool autoHide, double timeToLive, string button1ClickContent = "", string button1ClickIdentifier = "", string button2ClickContent = "", string button2ClickIdentifier = "", double width = 100, double height = 100, string button1MetroIcon = "", double button1Rotation, string button2MetroIcon = "", double button2Rotation, UserControl toolbar = null, bool showInnerBorder = true ) : System
viewToLoad Windows.UI.Xaml.Controls.UserControl
primaryAccent Windows.UI.Xaml.Media.Brush
secondaryAccent Windows.UI.Xaml.Media.Brush
autoHide bool
timeToLive double
button1ClickContent string
button1ClickIdentifier string
button2ClickContent string
button2ClickIdentifier string
width double
height double
button1MetroIcon string
button1Rotation double
button2MetroIcon string
button2Rotation double
toolbar Windows.UI.Xaml.Controls.UserControl
showInnerBorder bool
return System

Show() public method

public Show ( double newX, double newY ) : void
newX double
newY double
return void

ShowToolbar() public method

public ShowToolbar ( ) : void
return void

ToogleToolbar() public method

public ToogleToolbar ( ) : void
return void

Property Details

BackgroundFillProperty public_oe static_oe property

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

ContentThicknessProperty public_oe static_oe property

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

CountdownBackgroundColorProperty public_oe static_oe property

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

InnerBorderColorProperty public_oe static_oe property

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

MessageTextForegroundColorProperty public_oe static_oe property

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