src\Framework\System\Windows\Controls\ComboBox.cs (8)
999VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions);
1003VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions);
1007VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions);
1013VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
1017VisualStateManager.GoToState(this, VisualStates.StateFocusedDropDown, useTransitions);
1021VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions);
1027VisualStateManager.GoToState(this, VisualStates.StateEditable, useTransitions);
1031VisualStateManager.GoToState(this, VisualStates.StateUneditable, useTransitions);
src\Framework\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);
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (6)
785VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions);
789VisualStateManager.GoToState(this, VisualStates.StatePressed, useTransitions);
793VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions);
797VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions);
802VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions);
806VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
src\Framework\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);
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (6)
999VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions);
1003VisualStateManager.GoToState(this, VisualStates.StateReadOnly, useTransitions);
1007VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions);
1011VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions);
1016VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions);
1020VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (6)
187VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions);
191VisualStateManager.GoToState(this, VisualStates.StatePressed, useTransitions);
195VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions);
199VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions);
204VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions);
208VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
src\Framework\System\Windows\Controls\TabItem.cs (6)
230VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions);
234VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions);
238VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions);
248VisualStateManager.GoToState(this, VisualStates.StateUnselected, useTransitions);
253VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions);
257VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
src\Framework\System\Windows\VisualStateManager.cs (14)
43IList<VisualStateGroup> groups = VisualStateManager.GetVisualStateGroupsInternal(stateGroupsRoot);
51VisualStateManager.TryGetState(groups, stateName, out group, out state);
56VisualStateManager customVsm = GetCustomVisualStateManager(stateGroupsRoot);
118typeof(VisualStateManager),
119typeof(VisualStateManager),
122public static VisualStateManager GetCustomVisualStateManager(FrameworkElement obj)
129return obj.GetValue(VisualStateManager.CustomVisualStateManagerProperty) as VisualStateManager;
132public static void SetCustomVisualStateManager(FrameworkElement obj, VisualStateManager value)
139obj.SetValue(VisualStateManager.CustomVisualStateManagerProperty, value);
150typeof(VisualStateManager),
171return obj.GetValue(VisualStateManager.VisualStateGroupsProperty) as Collection<VisualStateGroup>;
185return obj.GetValue(VisualStateManager.VisualStateGroupsProperty) as IList;
236VisualTransition transition = useTransitions ? VisualStateManager.GetTransition(stateGroupsRoot, group, lastState, state) : null;