11 writes to Name
Microsoft.Maui.Controls (11)
RadioButton\RadioButton.cs (4)
580 common.States.Add(new VisualState() { Name = VisualStateManager.CommonStates.Normal }); 581 common.States.Add(new VisualState() { Name = VisualStateManager.CommonStates.Disabled }); 587 VisualState checkedVisualState = new VisualState() { Name = CheckedVisualState }; 612 VisualState uncheckedVisualState = new VisualState() { Name = UncheckedVisualState };
Shell\BaseShellItem.cs (2)
393 normalState.Name = "Normal"; 397 selectedState.Name = "Selected";
TitleBar\TitleBar.cs (4)
438 var activeVisualState = new VisualState() { Name = TitleBarActiveState }; 447 var inactiveVisualState = new VisualState() { Name = TitleBarInactiveState }; 553 var visualVisibleState = new VisualState() { Name = visibleState }; 563 var collapsedState = new VisualState() { Name = hiddenState };
VisualStateManager.cs (1)
622 var clone = new VisualState { Name = Name, TargetType = TargetType };
13 references to Name
Microsoft.Maui.Controls (13)
Handlers\Items\iOS\TemplatedCell.cs (1)
250 if (state.Name != VisualStateManager.CommonStates.Selected)
Handlers\Items2\iOS\TemplatedCell2.cs (1)
159 if (state.Name != VisualStateManager.CommonStates.Selected)
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)