C# Class P02Project.Util

A Utility Class that contains constants that are used throughout the application
Afficher le fichier Open project: raouldc/OptiDev

Méthodes publiques

Свойство Type Description
MapProvider ApplicationIdCredentialsProvider
_pageColDict Color>.Dictionary
animationDelay int
animationMilisecs int
buttonTextColor Color
buttonTextFont FontFamily
buttonTextSize double
contentBgColor Color
contentMargin System.Windows.Thickness
contentTextColor Color
contentTextFont FontFamily
contentTextSize double
headingTextSize double

Méthodes publiques

Méthode Description
FadeIn ( System.Windows.Media.Animation.Storyboard sb, UIElement element ) : void

Fades in an element from nothing to full opacity

SetupQR ( SurfaceScrollViewer QRText, String text ) : void
StackAnimation ( System.Windows.Media.Animation.Storyboard sbIn, System.Windows.Controls.UIElementCollection buttons, System.Windows.Thickness from, System.Windows.Thickness to ) : void

Animates a stack of buttons with a slide in from the right. Each button comes in, one after another

StackAnimationDefault ( System.Windows.Media.Animation.Storyboard sbIn, System.Windows.Controls.UIElementCollection buttons ) : void

This does the StackAnimation with the default locations on the screen

TextBlockFactory ( ) : System.Windows.Controls.TextBlock
WriteXml ( this xml, string path ) : void
getLinks ( String exclude ) : String[]

return the list of the links of the buttons

Method Details

FadeIn() public static méthode

Fades in an element from nothing to full opacity
public static FadeIn ( System.Windows.Media.Animation.Storyboard sb, UIElement element ) : void
sb System.Windows.Media.Animation.Storyboard Storyboard object to save the timeline on
element UIElement An element to animate
Résultat void

SetupQR() public static méthode

public static SetupQR ( SurfaceScrollViewer QRText, String text ) : void
QRText SurfaceScrollViewer
text String
Résultat void

StackAnimation() public static méthode

Animates a stack of buttons with a slide in from the right. Each button comes in, one after another
public static StackAnimation ( System.Windows.Media.Animation.Storyboard sbIn, System.Windows.Controls.UIElementCollection buttons, System.Windows.Thickness from, System.Windows.Thickness to ) : void
sbIn System.Windows.Media.Animation.Storyboard A Storyboard Object to save the timelines on
buttons System.Windows.Controls.UIElementCollection A collection of the buttons in the order that they need otbe animated in
from System.Windows.Thickness A from location (usually off screen)
to System.Windows.Thickness A destination location
Résultat void

StackAnimationDefault() public static méthode

This does the StackAnimation with the default locations on the screen
public static StackAnimationDefault ( System.Windows.Media.Animation.Storyboard sbIn, System.Windows.Controls.UIElementCollection buttons ) : void
sbIn System.Windows.Media.Animation.Storyboard A Storyboard object that the timelines need to be saved on
buttons System.Windows.Controls.UIElementCollection A collection of buttons that need to be animated
Résultat void

TextBlockFactory() public static méthode

public static TextBlockFactory ( ) : System.Windows.Controls.TextBlock
Résultat System.Windows.Controls.TextBlock

WriteXml() public static méthode

public static WriteXml ( this xml, string path ) : void
xml this
path string
Résultat void

getLinks() public static méthode

return the list of the links of the buttons
public static getLinks ( String exclude ) : String[]
exclude String
Résultat String[]

Property Details

MapProvider public_oe static_oe property

public static ApplicationIdCredentialsProvider MapProvider
Résultat ApplicationIdCredentialsProvider

_pageColDict public_oe static_oe property

public static Dictionary _pageColDict
Résultat Color>.Dictionary

animationDelay public_oe static_oe property

The duration, in ms for animations that need to happed one after the other. Add in this number to the length of the previos animation
public static int animationDelay
Résultat int

animationMilisecs public_oe static_oe property

The duration, in ms, for the animations
public static int animationMilisecs
Résultat int

buttonTextColor public_oe static_oe property

public static Color buttonTextColor
Résultat Color

buttonTextFont public_oe static_oe property

public static FontFamily buttonTextFont
Résultat FontFamily

buttonTextSize public_oe static_oe property

public static double buttonTextSize
Résultat double

contentBgColor public_oe static_oe property

public static Color contentBgColor
Résultat Color

contentMargin public_oe static_oe property

public static Thickness,System.Windows contentMargin
Résultat System.Windows.Thickness

contentTextColor public_oe static_oe property

public static Color contentTextColor
Résultat Color

contentTextFont public_oe static_oe property

public static FontFamily contentTextFont
Résultat FontFamily

contentTextSize public_oe static_oe property

public static double contentTextSize
Résultat double

headingTextSize public_oe static_oe property

public static double headingTextSize
Résultat double