C# 클래스 System.Windows.Controls.VisualStates

Names and helpers for visual states in the controls.
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf 1 사용 예제들

공개 메소드들

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

Gets the implementation root of the Control.

Implements Silverlight's corresponding internal property on Control.

GoToState ( Control control, bool useTransitions ) : void

Use VisualStateManager to change the visual state of the control.

TryGetVisualStateGroup ( DependencyObject dependencyObject, string groupName ) : 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 DependencyObject The DependencyObject.
리턴 FrameworkElement

GoToState() 공개 정적인 메소드

Use VisualStateManager to change the visual state of the control.
public static GoToState ( Control control, bool useTransitions ) : void
control Control /// Control whose visual state is being changed. ///
useTransitions bool /// A value indicating whether to use transitions when updating the /// visual state, or to snap directly to the new visual state. ///
리턴 void

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 ) : VisualStateGroup
dependencyObject DependencyObject The dependency object.
groupName string The visual state group's name.
리턴 VisualStateGroup