C# 클래스 Microsoft.Silverlight.Testing.Client.VisualStates

Visual states helper code.
파일 보기 프로젝트 열기: garyjohnson/wpnest

공개 메소드들

메소드 설명
GetImplementationRoot ( DependencyObject dependencyObject ) : FrameworkElement

Gets the implementation root of the Control.

Implements Silverlight's corresponding internal property on Control.

TryGetVisualStateGroup ( DependencyObject dependencyObject, string groupName ) : System.Windows.VisualStateGroup

This method tries to get the named VisualStateGroup for the dependency object. The provided object's ImplementationRoot will be looked up in this call.

메소드 상세

GetImplementationRoot() 공개 정적인 메소드

Gets the implementation root of the Control.
Implements Silverlight's corresponding internal property on Control.
public static GetImplementationRoot ( DependencyObject dependencyObject ) : FrameworkElement
dependencyObject System.Windows.DependencyObject The DependencyObject.
리턴 System.Windows.FrameworkElement

TryGetVisualStateGroup() 공개 정적인 메소드

This method tries to get the named VisualStateGroup for the dependency object. The provided object's ImplementationRoot will be looked up in this call.
public static TryGetVisualStateGroup ( DependencyObject dependencyObject, string groupName ) : System.Windows.VisualStateGroup
dependencyObject System.Windows.DependencyObject The dependency object.
groupName string The visual state group's name.
리턴 System.Windows.VisualStateGroup