C# Класс Microsoft.Silverlight.Testing.Client.VisualStates

Visual states helper code.
Показать файл Открыть проект

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

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