2 writes to CurrentState
Microsoft.Maui.Controls (2)
VisualStateManager.cs (2)
110
group.
CurrentState
= target;
513
var clone = new VisualStateGroup { TargetType = TargetType, Name = Name,
CurrentState
= CurrentState, VisualElement = VisualElement };
6 references to CurrentState
Microsoft.Maui.Controls (6)
VisualStateManager.cs (6)
39
if (group.
CurrentState
is { } state)
87
if (group.
CurrentState
?.Name == name)
101
if (group.
CurrentState
!= null)
103
foreach (Setter setter in group.
CurrentState
.Setters)
513
var clone = new VisualStateGroup { TargetType = TargetType, Name = Name, CurrentState =
CurrentState
, VisualElement = VisualElement };
542
var oldStateTrigger =
CurrentState
;