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