73 references to GoToState
PresentationFramework (73)
System\Windows\Controls\ComboBox.cs (8)
991VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions); 995VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions); 999VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions); 1005VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions); 1009VisualStateManager.GoToState(this, VisualStates.StateFocusedDropDown, useTransitions); 1013VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions); 1019VisualStateManager.GoToState(this, VisualStates.StateEditable, useTransitions); 1023VisualStateManager.GoToState(this, VisualStates.StateUneditable, useTransitions);
System\Windows\Controls\Control.cs (3)
658VisualStateManager.GoToState(this, VisualStates.StateInvalidFocused, useTransitions); 662VisualStateManager.GoToState(this, VisualStates.StateInvalidUnfocused, useTransitions); 667VisualStateManager.GoToState(this, VisualStates.StateValid, useTransitions);
System\Windows\Controls\DataGridCell.cs (4)
323VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions); 343VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions); 353VisualStateManager.GoToState(this, VisualStates.StateRegular, useTransitions); 363VisualStateManager.GoToState(this, VisualStates.StateDisplay, useTransitions);
System\Windows\Controls\DataGridRow.cs (1)
246if (VisualStateManager.GoToState(this, storyboardName, useTransitions))
System\Windows\Controls\DatePicker.cs (1)
764VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions);
System\Windows\Controls\ListBoxItem.cs (7)
192VisualStateManager.GoToState(this, Content is Control ? VisualStates.StateNormal : VisualStates.StateDisabled, useTransitions); 196VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions); 200VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions); 208VisualStateManager.GoToState(this, VisualStates.StateSelected, useTransitions); 217VisualStateManager.GoToState(this, VisualStates.StateUnselected, useTransitions); 222VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions); 226VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
System\Windows\Controls\PasswordBox.cs (2)
416VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions); 425VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
System\Windows\Controls\Primitives\ButtonBase.cs (6)
780VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions); 784VisualStateManager.GoToState(this, VisualStates.StatePressed, useTransitions); 788VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions); 792VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions); 797VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions); 801VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
System\Windows\Controls\Primitives\CalendarButton.cs (3)
120VisualStateManager.GoToState(this, VisualStates.StateUnselected, useTransitions); 130VisualStateManager.GoToState(this, VisualStates.StateInactive, useTransitions); 140VisualStateManager.GoToState(this, VisualStates.StateCalendarButtonUnfocused, useTransitions);
System\Windows\Controls\Primitives\CalendarDayButton.cs (5)
205VisualStateManager.GoToState(this, VisualStates.StateInactive, useTransitions); 211VisualStateManager.GoToState(this, VisualStates.StateRegularDay, useTransitions); 219VisualStateManager.GoToState(this, VisualStates.StateUnselected, useTransitions); 232VisualStateManager.GoToState(this, VisualStates.StateNormalDay, useTransitions); 242VisualStateManager.GoToState(this, VisualStates.StateCalendarButtonUnfocused, useTransitions);
System\Windows\Controls\Primitives\CalendarItem.cs (2)
244VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions); 248VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions);
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
1054VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions); 1072VisualStateManager.GoToState(this, VisualStates.StateUnsorted, useTransitions);
System\Windows\Controls\Primitives\DataGridRowHeader.cs (1)
495if (VisualStateManager.GoToState(this, storyboardName, useTransitions))
System\Windows\Controls\Primitives\RangeBase.cs (2)
347VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions); 356VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
System\Windows\Controls\Primitives\TextBoxBase.cs (6)
969VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions); 973VisualStateManager.GoToState(this, VisualStates.StateReadOnly, useTransitions); 977VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions); 981VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions); 986VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions); 990VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
System\Windows\Controls\Primitives\Thumb.cs (6)
176VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions); 180VisualStateManager.GoToState(this, VisualStates.StatePressed, useTransitions); 184VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions); 188VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions); 193VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions); 197VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
System\Windows\Controls\Primitives\ToggleButton.cs (2)
267VisualStateManager.GoToState(this, VisualStates.StateChecked, useTransitions); 271VisualStateManager.GoToState(this, VisualStates.StateUnchecked, useTransitions);
System\Windows\Controls\ProgressBar.cs (2)
282VisualStateManager.GoToState(this, VisualStates.StateDeterminate, useTransitions); 286VisualStateManager.GoToState(this, VisualStates.StateIndeterminate, useTransitions);
System\Windows\Controls\TabControl.cs (1)
296VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions);
System\Windows\Controls\TabItem.cs (6)
225VisualStateManager.GoToState(this, VisualStates.StateDisabled, useTransitions); 229VisualStateManager.GoToState(this, VisualStates.StateMouseOver, useTransitions); 233VisualStateManager.GoToState(this, VisualStates.StateNormal, useTransitions); 243VisualStateManager.GoToState(this, VisualStates.StateUnselected, useTransitions); 248VisualStateManager.GoToState(this, VisualStates.StateFocused, useTransitions); 252VisualStateManager.GoToState(this, VisualStates.StateUnfocused, useTransitions);
System\Windows\Controls\ToolTip.cs (2)
428VisualStateManager.GoToState(this, VisualStates.StateOpen, useTransitions); 432VisualStateManager.GoToState(this, VisualStates.StateClosed, useTransitions);
System\Windows\Controls\VisualStates.cs (1)
423if (VisualStateManager.GoToState(control, name, useTransitions))