C# Класс P02Project.Util

A Utility Class that contains constants that are used throughout the application
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Описание методов

FadeIn() публичный статический Метод

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
Результат void

SetupQR() публичный статический Метод

public static SetupQR ( SurfaceScrollViewer QRText, String text ) : void
QRText SurfaceScrollViewer
text String
Результат void

StackAnimation() публичный статический Метод

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
Результат void

StackAnimationDefault() публичный статический Метод

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
Результат void

TextBlockFactory() публичный статический Метод

public static TextBlockFactory ( ) : System.Windows.Controls.TextBlock
Результат System.Windows.Controls.TextBlock

WriteXml() публичный статический Метод

public static WriteXml ( this xml, string path ) : void
xml this
path string
Результат void

getLinks() публичный статический Метод

return the list of the links of the buttons
public static getLinks ( String exclude ) : String[]
exclude String
Результат String[]

Описание свойств

MapProvider публичное статическое свойство

public static ApplicationIdCredentialsProvider MapProvider
Результат ApplicationIdCredentialsProvider

_pageColDict публичное статическое свойство

public static Dictionary _pageColDict
Результат Color>.Dictionary

animationDelay публичное статическое свойство

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
Результат int

animationMilisecs публичное статическое свойство

The duration, in ms, for the animations
public static int animationMilisecs
Результат int

buttonTextColor публичное статическое свойство

public static Color buttonTextColor
Результат Color

buttonTextFont публичное статическое свойство

public static FontFamily buttonTextFont
Результат FontFamily

buttonTextSize публичное статическое свойство

public static double buttonTextSize
Результат double

contentBgColor публичное статическое свойство

public static Color contentBgColor
Результат Color

contentMargin публичное статическое свойство

public static Thickness,System.Windows contentMargin
Результат System.Windows.Thickness

contentTextColor публичное статическое свойство

public static Color contentTextColor
Результат Color

contentTextFont публичное статическое свойство

public static FontFamily contentTextFont
Результат FontFamily

contentTextSize публичное статическое свойство

public static double contentTextSize
Результат double

headingTextSize публичное статическое свойство

public static double headingTextSize
Результат double