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