C# Class SumoNinjaMonkey.Framework.Controls.InputBoxView

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

Public Properties

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

Public Methods

Method Description
Hide ( ) : void
InputBoxView ( string msg, string title, Brush brushIcon, string metroIcon = "", string imageIcon = "", double scaleIcon = 1.0, double translateXIcon, double translateYIcon, string yesLabel = "Yes", string yesMessengerContent = "", string yesMessengerIdentifier = "", string noLabel = "No", string noMessengerContent = "", string noMessengerIdentifier = "", GeneralSystemWideMessage msgToPassAlong = null ) : System
LoadMetroIcon ( string key, Brush iconColor = null, double rotation, double scaleIcon = 1, double translateXIcon, double translateYIcon ) : void
Show ( ) : void

Private Methods

Method Description
BackgroundFillPropertyChanged ( DependencyObject obj, DependencyPropertyChangedEventArgs args ) : void
CountdownBackgroundColorPropertyChanged ( DependencyObject obj, DependencyPropertyChangedEventArgs args ) : void
LoadImage ( string imageUrl ) : void
MessageTextForegroundColorPropertyChanged ( DependencyObject obj, DependencyPropertyChangedEventArgs args ) : void
butNo_Click ( object sender, RoutedEventArgs e ) : void
butYes_Click ( object sender, RoutedEventArgs e ) : void

Method Details

Hide() public method

public Hide ( ) : void
return void

InputBoxView() public method

public InputBoxView ( string msg, string title, Brush brushIcon, string metroIcon = "", string imageIcon = "", double scaleIcon = 1.0, double translateXIcon, double translateYIcon, string yesLabel = "Yes", string yesMessengerContent = "", string yesMessengerIdentifier = "", string noLabel = "No", string noMessengerContent = "", string noMessengerIdentifier = "", GeneralSystemWideMessage msgToPassAlong = null ) : System
msg string
title string
brushIcon Windows.UI.Xaml.Media.Brush
metroIcon string
imageIcon string
scaleIcon double
translateXIcon double
translateYIcon double
yesLabel string
yesMessengerContent string
yesMessengerIdentifier string
noLabel string
noMessengerContent string
noMessengerIdentifier string
msgToPassAlong GeneralSystemWideMessage
return System

LoadMetroIcon() public method

public LoadMetroIcon ( string key, Brush iconColor = null, double rotation, double scaleIcon = 1, double translateXIcon, double translateYIcon ) : void
key string
iconColor Windows.UI.Xaml.Media.Brush
rotation double
scaleIcon double
translateXIcon double
translateYIcon double
return void

Show() public method

public Show ( ) : void
return void

Property Details

BackgroundFillProperty public_oe static_oe property

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

CountdownBackgroundColorProperty public_oe static_oe property

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

MessageTextForegroundColorProperty public_oe static_oe property

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