1 write to StateTriggers
Microsoft.Maui.Controls (1)
VisualStateManager.cs (1)
607 StateTriggers = new WatchAddList<StateTriggerBase>(OnStateTriggersChanged);
14 references to StateTriggers
Microsoft.Maui.Controls (14)
VisualElement\VisualElement.cs (2)
1459 foreach (var stateTrigger in state.StateTriggers) 1542 foreach (var stateTrigger in state.StateTriggers)
VisualStateManager.cs (12)
435 if (state.StateTriggers.Count > 0) 454 for (var triggerIndex = 0; triggerIndex < state.StateTriggers.Count; triggerIndex++) 456 var trigger = state.StateTriggers[triggerIndex]; 629 foreach (var stateTrigger in StateTriggers) 632 clone.StateTriggers.Add(stateTrigger); 665 if (StateTriggers.Count != other.StateTriggers.Count) 670 for (var i = 0; i < StateTriggers.Count; i++) 671 if (!StateTriggers[i].Equals(other.StateTriggers[i])) 683 for (var i = 0; i < StateTriggers.Count; i++) 684 hash = (hash * 43) ^ StateTriggers[i].GetHashCode();