33 references to VisualState
PresentationFramework (33)
src\Framework\System\Windows\VisualState.cs (1)
31
typeof(
VisualState
));
src\Framework\System\Windows\VisualStateChangedEventArgs.cs (6)
17
internal VisualStateChangedEventArgs(
VisualState
oldState,
VisualState
newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
28
public
VisualState
OldState
39
public
VisualState
NewState
69
private
VisualState
_oldState;
70
private
VisualState
_newState;
src\Framework\System\Windows\VisualStateGroup.cs (10)
41
_states = new FreezableCollection<
VisualState
>();
67
public
VisualState
CurrentState
73
internal
VisualState
GetState(string stateName)
77
VisualState
state = (
VisualState
)States[stateIndex];
138
internal void RaiseCurrentStateChanging(FrameworkElement stateGroupsRoot,
VisualState
oldState,
VisualState
newState, FrameworkElement control)
146
internal void RaiseCurrentStateChanged(FrameworkElement stateGroupsRoot,
VisualState
oldState,
VisualState
newState, FrameworkElement control)
165
private FreezableCollection<
VisualState
> _states;
src\Framework\System\Windows\VisualStateManager.cs (16)
49
VisualState
state;
108
protected virtual bool GoToStateCore(FrameworkElement control, FrameworkElement stateGroupsRoot, string stateName, VisualStateGroup group,
VisualState
state, bool useTransitions)
192
internal static bool TryGetState(IList<VisualStateGroup> groups, string stateName, out VisualStateGroup group, out
VisualState
state)
197
VisualState
s = g.GetState(stateName);
211
private static bool GoToStateInternal(FrameworkElement control, FrameworkElement stateGroupsRoot, VisualStateGroup group,
VisualState
state, bool useTransitions)
228
VisualState
lastState = group.CurrentState;
335
private static bool ShouldRunStateStoryboard(FrameworkElement control, FrameworkElement stateGroupsRoot,
VisualState
state, VisualStateGroup group)
364
protected void RaiseCurrentStateChanging(VisualStateGroup stateGroup,
VisualState
oldState,
VisualState
newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
384
protected void RaiseCurrentStateChanged(VisualStateGroup stateGroup,
VisualState
oldState,
VisualState
newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
408
private static Storyboard GenerateDynamicTransitionAnimations(FrameworkElement root, VisualStateGroup group,
VisualState
newState, VisualTransition transition)
579
internal static VisualTransition GetTransition(FrameworkElement element, VisualStateGroup group,
VisualState
from,
VisualState
to)
613
VisualState
transitionFromState = group.GetState(transition.From);
614
VisualState
transitionToState = group.GetState(transition.To);