11 writes to Name
Microsoft.Maui.Controls (11)
RadioButton\RadioButton.cs (4)
573 common.States.Add(new VisualState() { Name = VisualStateManager.CommonStates.Normal }); 574 common.States.Add(new VisualState() { Name = VisualStateManager.CommonStates.Disabled }); 580 VisualState checkedVisualState = new VisualState() { Name = CheckedVisualState }; 605 VisualState uncheckedVisualState = new VisualState() { Name = UncheckedVisualState };
Shell\BaseShellItem.cs (2)
393 normalState.Name = "Normal"; 397 selectedState.Name = "Selected";
TitleBar\TitleBar.cs (4)
452 var activeVisualState = new VisualState() { Name = TitleBarActiveState }; 461 var inactiveVisualState = new VisualState() { Name = TitleBarInactiveState }; 567 var visualVisibleState = new VisualState() { Name = visibleState }; 577 var collapsedState = new VisualState() { Name = hiddenState };
VisualStateManager.cs (1)
622 var clone = new VisualState { Name = Name, TargetType = TargetType };
12 references to Name
Microsoft.Maui.Controls (11)
VisualStateManager.cs (11)
87 if (group.CurrentState?.Name == name) 196 if (!_names.Add(group.States[stateIndex].Name)) 420 if (string.Equals(state.Name, name, StringComparison.Ordinal)) 547 VisualStateManager.GoToState(VisualElement, newStateTrigger.Name); 554 if (states.Any(state => string.IsNullOrEmpty(state.Name))) 600 [RuntimeNameProperty(nameof(Name))] 622 var clone = new VisualState { Name = Name, TargetType = TargetType }; 659 if (Name != other.Name) 680 var hash = (Name, TargetType).GetHashCode(); 716 if (group.States[j].Name == name)
Microsoft.Maui.Controls.Compatibility (1)
iOS\CollectionView\TemplatedCell.cs (1)
215 if (state.Name != VisualStateManager.CommonStates.Selected)