ExtendedVisualStateManager.GoToElementState Methoden
Namespace: Microsoft.Expression.Interactivity.Core
Assembly: Microsoft.Expression.Interactions (in microsoft.expression.interactions.dll)
Syntax
'Declaration
Public Shared Function GoToElementState ( _
root As FrameworkElement, _
stateName As String, _
useTransitions As Boolean _
) As Boolean
'Usage
Dim root As FrameworkElement
Dim stateName As String
Dim useTransitions As Boolean
Dim returnValue As Boolean
returnValue = ExtendedVisualStateManager.GoToElementState(root, stateName, useTransitions)
public static bool GoToElementState (
FrameworkElement root,
string stateName,
bool useTransitions
)
public:
static bool GoToElementState (
FrameworkElement^ root,
String^ stateName,
bool useTransitions
)
public static boolean GoToElementState (
FrameworkElement root,
String stateName,
boolean useTransitions
)
public static function GoToElementState (
root : FrameworkElement,
stateName : String,
useTransitions : boolean
) : boolean
Threadsicherheit
Alle öffentlichen statischen Elemente dieses Typs (in Visual Basic als Shared (freigegebene) Elemente bezeichnet) sind threadsicher. Für Instanzelemente wird die Threadsicherheit nicht garantiert.
Siehe auch
Referenz
ExtendedVisualStateManager Klasse
ExtendedVisualStateManager Elemente
Microsoft.Expression.Interactivity.Core Namespace