C# 클래스 P02Project.Util

A Utility Class that contains constants that are used throughout the application
파일 보기 프로젝트 열기: raouldc/OptiDev

공개 프로퍼티들

프로퍼티 타입 설명
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