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