26 references to GoToState
Microsoft.Maui.Controls (17)
Button\Button.cs (1)
366 VisualStateManager.GoToState(this, ButtonElement.PressedVisualState);
CheckBox\CheckBox.cs (1)
47 VisualStateManager.GoToState(this, IsCheckedVisualState);
ImageButton\ImageButton.cs (1)
140 VisualStateManager.GoToState(this, ButtonElement.PressedVisualState);
IndicatorView\IndicatorStackLayout.cs (1)
123 VisualStateManager.GoToState(visualElement, isSelected
RadioButton\RadioButton.cs (4)
346 VisualStateManager.GoToState(this, CheckedVisualState); 349 VisualStateManager.GoToState(_templateRoot, CheckedVisualState); 354 VisualStateManager.GoToState(this, UncheckedVisualState); 357 VisualStateManager.GoToState(_templateRoot, UncheckedVisualState);
Switch\Switch.cs (2)
68 VisualStateManager.GoToState(this, SwitchOnVisualState); 70 VisualStateManager.GoToState(this, SwitchOffVisualState);
TitleBar\TitleBar.cs (2)
273 VisualStateManager.GoToState(this, stateGroup); 277 VisualStateManager.GoToState(_templateRoot, stateGroup);
VisualElement\VisualElement.cs (4)
1574 VisualStateManager.GoToState(this, VisualStateManager.CommonStates.Disabled); 1578 VisualStateManager.GoToState(this, VisualStateManager.CommonStates.PointerOver); 1582 VisualStateManager.GoToState(this, VisualStateManager.CommonStates.Normal); 1590 VisualStateManager.GoToState(this,
VisualStateManager.cs (1)
547 VisualStateManager.GoToState(VisualElement, newStateTrigger.Name);
Microsoft.Maui.Controls.Compatibility (9)
iOS\CollectionView\CarouselViewController.cs (6)
59 VisualStateManager.GoToState(element, CarouselView.DefaultItemVisualState); 437 VisualStateManager.GoToState(itemView, CarouselView.CurrentItemVisualState); 441 VisualStateManager.GoToState(itemView, CarouselView.PreviousItemVisualState); 445 VisualStateManager.GoToState(itemView, CarouselView.NextItemVisualState); 449 VisualStateManager.GoToState(itemView, CarouselView.DefaultItemVisualState); 464 VisualStateManager.GoToState(itemView, CarouselView.DefaultItemVisualState);
iOS\CollectionView\TemplatedCell.cs (1)
298 VisualStateManager.GoToState(element, Selected
iOS\Renderers\UIContainerCell.cs (2)
114 VisualStateManager.GoToState(View, "Selected"); 116 VisualStateManager.GoToState(View, "Normal");