33 references to VisualState
PresentationFramework (33)
System\Windows\VisualState.cs (1)
31
typeof(
VisualState
));
System\Windows\VisualStateChangedEventArgs.cs (6)
15
internal VisualStateChangedEventArgs(
VisualState
oldState,
VisualState
newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
26
public
VisualState
OldState
37
public
VisualState
NewState
67
private
VisualState
_oldState;
68
private
VisualState
_newState;
System\Windows\VisualStateGroup.cs (10)
38
_states = new FreezableCollection<
VisualState
>();
64
public
VisualState
CurrentState
70
internal
VisualState
GetState(string stateName)
74
VisualState
state = (
VisualState
)States[stateIndex];
135
internal void RaiseCurrentStateChanging(FrameworkElement stateGroupsRoot,
VisualState
oldState,
VisualState
newState, FrameworkElement control)
143
internal void RaiseCurrentStateChanged(FrameworkElement stateGroupsRoot,
VisualState
oldState,
VisualState
newState, FrameworkElement control)
162
private FreezableCollection<
VisualState
> _states;
System\Windows\VisualStateManager.cs (16)
42
VisualState
state;
95
protected virtual bool GoToStateCore(FrameworkElement control, FrameworkElement stateGroupsRoot, string stateName, VisualStateGroup group,
VisualState
state, bool useTransitions)
167
internal static bool TryGetState(IList<VisualStateGroup> groups, string stateName, out VisualStateGroup group, out
VisualState
state)
172
VisualState
s = g.GetState(stateName);
186
private static bool GoToStateInternal(FrameworkElement control, FrameworkElement stateGroupsRoot, VisualStateGroup group,
VisualState
state, bool useTransitions)
196
VisualState
lastState = group.CurrentState;
298
private static bool ShouldRunStateStoryboard(FrameworkElement control, FrameworkElement stateGroupsRoot,
VisualState
state, VisualStateGroup group)
327
protected void RaiseCurrentStateChanging(VisualStateGroup stateGroup,
VisualState
oldState,
VisualState
newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
340
protected void RaiseCurrentStateChanged(VisualStateGroup stateGroup,
VisualState
oldState,
VisualState
newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
357
private static Storyboard GenerateDynamicTransitionAnimations(FrameworkElement root, VisualStateGroup group,
VisualState
newState, VisualTransition transition)
528
internal static VisualTransition GetTransition(FrameworkElement element, VisualStateGroup group,
VisualState
from,
VisualState
to)
551
VisualState
transitionFromState = group.GetState(transition.From);
552
VisualState
transitionToState = group.GetState(transition.To);