System\Windows\Controls\ComboBox.cs (8)
997VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions);
1001VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions);
1005VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions);
1011VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
1015VisualStateManager.GoToState(this, VisualStates.StateFocusedDropDown, useTransitions);
1019VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions);
1025VisualStateManager.GoToState(this, VisualStates.StateEditable, useTransitions);
1029VisualStateManager.GoToState(this, VisualStates.StateUneditable, useTransitions);
System\Windows\Controls\ListBoxItem.cs (7)
199VisualStateManager.GoToState(this, Content is Control ? VisualStates.StateNormal : VisualStates.StateDisabled, useTransitions);
203VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions);
207VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions);
215VisualStateManager.GoToState(this, VisualStates.StateSelected, useTransitions);
224VisualStateManager.GoToState(this, VisualStates.StateUnselected, useTransitions);
229VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions);
233VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
System\Windows\Controls\Primitives\ButtonBase.cs (6)
791VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions);
795VisualStateManager.GoToState(this, VisualStates.StatePressed, useTransitions);
799VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions);
803VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions);
808VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions);
812VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
System\Windows\Controls\Primitives\CalendarDayButton.cs (5)
208VisualStateManager.GoToState(this, VisualStates.StateInactive, useTransitions);
214VisualStateManager.GoToState(this, VisualStates.StateRegularDay, useTransitions);
222VisualStateManager.GoToState(this, VisualStates.StateUnselected, useTransitions);
235VisualStateManager.GoToState(this, VisualStates.StateNormalDay, useTransitions);
245VisualStateManager.GoToState(this, VisualStates.StateCalendarButtonUnfocused, useTransitions);
System\Windows\Controls\Primitives\TextBoxBase.cs (6)
976VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions);
980VisualStateManager.GoToState(this, VisualStates.StateReadOnly, useTransitions);
984VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions);
988VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions);
993VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions);
997VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
System\Windows\Controls\Primitives\Thumb.cs (6)
190VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions);
194VisualStateManager.GoToState(this, VisualStates.StatePressed, useTransitions);
198VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions);
202VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions);
207VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions);
211VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
System\Windows\Controls\TabItem.cs (6)
229VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions);
233VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions);
237VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions);
247VisualStateManager.GoToState(this, VisualStates.StateUnselected, useTransitions);
252VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions);
256VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
System\Windows\VisualStateManager.cs (14)
41IList<VisualStateGroup> groups = VisualStateManager.GetVisualStateGroupsInternal(stateGroupsRoot);
49VisualStateManager.TryGetState(groups, stateName, out group, out state);
54VisualStateManager customVsm = GetCustomVisualStateManager(stateGroupsRoot);
110typeof(VisualStateManager),
111typeof(VisualStateManager),
114public static VisualStateManager GetCustomVisualStateManager(FrameworkElement obj)
118return obj.GetValue(VisualStateManager.CustomVisualStateManagerProperty) as VisualStateManager;
121public static void SetCustomVisualStateManager(FrameworkElement obj, VisualStateManager value)
125obj.SetValue(VisualStateManager.CustomVisualStateManagerProperty, value);
136typeof(VisualStateManager),
154return obj.GetValue(VisualStateManager.VisualStateGroupsProperty) as Collection<VisualStateGroup>;
165return obj.GetValue(VisualStateManager.VisualStateGroupsProperty) as IList;
209VisualTransition transition = useTransitions ? VisualStateManager.GetTransition(stateGroupsRoot, group, lastState, state) : null;