C# 클래스 Groves.UI.VisualStateHelpers

Tools to help with VisualStates
파일 보기 프로젝트 열기: tomzorz/Groves

공개 메소드들

메소드 설명
CreateNewVisualState ( string name ) : VisualState

Create a new VisualState with the preferred name at runtime

CreateNewVisualStateGroup ( string name ) : VisualStateGroup

Create a new VisualStateGroup with the preferred name at runtime

LogVisualStateChanges ( VisualStateGroup vsg, Action logOutput ) : void

Log state changes in a VisualStateGroup

StopLogging ( VisualStateGroup vsg = null ) : void

Removes all or a specific logger from a VisualStateGroup

비공개 메소드들

메소드 설명
VisualStateHelpers ( ) : System
Vsg_CurrentStateChanged ( object sender, VisualStateChangedEventArgs e ) : void

메소드 상세

CreateNewVisualState() 공개 정적인 메소드

Create a new VisualState with the preferred name at runtime
public static CreateNewVisualState ( string name ) : VisualState
name string name of the new VisualState
리턴 Windows.UI.Xaml.VisualState

CreateNewVisualStateGroup() 공개 정적인 메소드

Create a new VisualStateGroup with the preferred name at runtime
public static CreateNewVisualStateGroup ( string name ) : VisualStateGroup
name string name of the new VisualStateGroup
리턴 Windows.UI.Xaml.VisualStateGroup

LogVisualStateChanges() 공개 정적인 메소드

Log state changes in a VisualStateGroup
public static LogVisualStateChanges ( VisualStateGroup vsg, Action logOutput ) : void
vsg Windows.UI.Xaml.VisualStateGroup VisualStateGroup
logOutput Action Output logger action (eg.: Debug.WriteLine)
리턴 void

StopLogging() 공개 정적인 메소드

Removes all or a specific logger from a VisualStateGroup
public static StopLogging ( VisualStateGroup vsg = null ) : void
vsg Windows.UI.Xaml.VisualStateGroup specify visual state group to remove logger from that group only
리턴 void