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