33 references to VisualState
PresentationFramework (33)
System\Windows\VisualState.cs (1)
32
typeof(
VisualState
));
System\Windows\VisualStateChangedEventArgs.cs (6)
18
internal VisualStateChangedEventArgs(
VisualState
oldState,
VisualState
newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
29
public
VisualState
OldState
40
public
VisualState
NewState
70
private
VisualState
_oldState;
71
private
VisualState
_newState;
System\Windows\VisualStateGroup.cs (10)
42
_states = new FreezableCollection<
VisualState
>();
68
public
VisualState
CurrentState
74
internal
VisualState
GetState(string stateName)
78
VisualState
state = (
VisualState
)States[stateIndex];
139
internal void RaiseCurrentStateChanging(FrameworkElement stateGroupsRoot,
VisualState
oldState,
VisualState
newState, FrameworkElement control)
147
internal void RaiseCurrentStateChanged(FrameworkElement stateGroupsRoot,
VisualState
oldState,
VisualState
newState, FrameworkElement control)
166
private FreezableCollection<
VisualState
> _states;
System\Windows\VisualStateManager.cs (16)
47
VisualState
state;
100
protected virtual bool GoToStateCore(FrameworkElement control, FrameworkElement stateGroupsRoot, string stateName, VisualStateGroup group,
VisualState
state, bool useTransitions)
172
internal static bool TryGetState(IList<VisualStateGroup> groups, string stateName, out VisualStateGroup group, out
VisualState
state)
177
VisualState
s = g.GetState(stateName);
191
private static bool GoToStateInternal(FrameworkElement control, FrameworkElement stateGroupsRoot, VisualStateGroup group,
VisualState
state, bool useTransitions)
201
VisualState
lastState = group.CurrentState;
303
private static bool ShouldRunStateStoryboard(FrameworkElement control, FrameworkElement stateGroupsRoot,
VisualState
state, VisualStateGroup group)
332
protected void RaiseCurrentStateChanging(VisualStateGroup stateGroup,
VisualState
oldState,
VisualState
newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
345
protected void RaiseCurrentStateChanged(VisualStateGroup stateGroup,
VisualState
oldState,
VisualState
newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
362
private static Storyboard GenerateDynamicTransitionAnimations(FrameworkElement root, VisualStateGroup group,
VisualState
newState, VisualTransition transition)
533
internal static VisualTransition GetTransition(FrameworkElement element, VisualStateGroup group,
VisualState
from,
VisualState
to)
556
VisualState
transitionFromState = group.GetState(transition.From);
557
VisualState
transitionToState = group.GetState(transition.To);