33 references to VisualState
PresentationFramework (33)
System\Windows\VisualState.cs (1)
30
typeof(
VisualState
));
System\Windows\VisualStateChangedEventArgs.cs (6)
14
internal VisualStateChangedEventArgs(
VisualState
oldState,
VisualState
newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
25
public
VisualState
OldState
36
public
VisualState
NewState
66
private
VisualState
_oldState;
67
private
VisualState
_newState;
System\Windows\VisualStateGroup.cs (10)
37
_states = new FreezableCollection<
VisualState
>();
63
public
VisualState
CurrentState
69
internal
VisualState
GetState(string stateName)
73
VisualState
state = (
VisualState
)States[stateIndex];
132
internal void RaiseCurrentStateChanging(FrameworkElement stateGroupsRoot,
VisualState
oldState,
VisualState
newState, FrameworkElement control)
140
internal void RaiseCurrentStateChanged(FrameworkElement stateGroupsRoot,
VisualState
oldState,
VisualState
newState, FrameworkElement control)
159
private FreezableCollection<
VisualState
> _states;
System\Windows\VisualStateManager.cs (16)
41
VisualState
state;
94
protected virtual bool GoToStateCore(FrameworkElement control, FrameworkElement stateGroupsRoot, string stateName, VisualStateGroup group,
VisualState
state, bool useTransitions)
166
internal static bool TryGetState(IList<VisualStateGroup> groups, string stateName, out VisualStateGroup group, out
VisualState
state)
171
VisualState
s = g.GetState(stateName);
185
private static bool GoToStateInternal(FrameworkElement control, FrameworkElement stateGroupsRoot, VisualStateGroup group,
VisualState
state, bool useTransitions)
195
VisualState
lastState = group.CurrentState;
297
private static bool ShouldRunStateStoryboard(FrameworkElement control, FrameworkElement stateGroupsRoot,
VisualState
state, VisualStateGroup group)
326
protected void RaiseCurrentStateChanging(VisualStateGroup stateGroup,
VisualState
oldState,
VisualState
newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
339
protected void RaiseCurrentStateChanged(VisualStateGroup stateGroup,
VisualState
oldState,
VisualState
newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
356
private static Storyboard GenerateDynamicTransitionAnimations(FrameworkElement root, VisualStateGroup group,
VisualState
newState, VisualTransition transition)
527
internal static VisualTransition GetTransition(FrameworkElement element, VisualStateGroup group,
VisualState
from,
VisualState
to)
550
VisualState
transitionFromState = group.GetState(transition.From);
551
VisualState
transitionToState = group.GetState(transition.To);