11 writes to PropertySort
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (3)
234PropertySort = PropertySort.Categorized | PropertySort.Alphabetical; 2284PropertySort = PropertySort.Categorized | PropertySort.Alphabetical; 2292PropertySort = value is not null && value.ToString()!.Equals("1")
System.Windows.Forms.Tests (7)
System\Windows\Forms\PropertyGridTests.cs (7)
2322PropertySort = value 2329control.PropertySort = value; 2347control.PropertySort = value; 2355control.PropertySort = value; 4052propertyGrid.PropertySort = PropertySort.Alphabetical; 4055propertyGrid.PropertySort = PropertySort.Categorized; 4059propertyGrid.PropertySort = PropertySort.Alphabetical;
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
278_propertyGrid.PropertySort = PropertySort.Alphabetical;
20 references to PropertySort
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
1166internal bool SortedByCategories => (PropertySort & PropertySort.Categorized) != 0; 2272key.SetValue(RegistryStateNames.AlphabeticalSort, PropertySort == PropertySort.Alphabetical ? "1" : "0");
System.Windows.Forms.Tests (16)
System\Windows\Forms\AccessibleObjects\PropertyGridToolStripButton.PropertyGridToolStripButtonAccessibleObjectTests.cs (11)
83Assert.Equal(PropertySort.CategorizedAlphabetical, propertyGrid.PropertySort); 89Assert.Equal(PropertySort.Alphabetical, propertyGrid.PropertySort); 95Assert.Equal(PropertySort.CategorizedAlphabetical, propertyGrid.PropertySort); 111Assert.Equal(PropertySort.CategorizedAlphabetical, propertyGrid.PropertySort); 117Assert.Equal(PropertySort.Alphabetical, propertyGrid.PropertySort); 123Assert.Equal(PropertySort.CategorizedAlphabetical, propertyGrid.PropertySort); 139Assert.Equal(PropertySort.CategorizedAlphabetical, propertyGrid.PropertySort); 145Assert.Equal(PropertySort.CategorizedAlphabetical, propertyGrid.PropertySort); 161Assert.Equal(PropertySort.CategorizedAlphabetical, propertyGrid.PropertySort); 167Assert.Equal(PropertySort.Alphabetical, propertyGrid.PropertySort); 173Assert.Equal(PropertySort.CategorizedAlphabetical, propertyGrid.PropertySort);
System\Windows\Forms\PropertyGridTests.cs (5)
135Assert.Equal(PropertySort.Categorized | PropertySort.Alphabetical, control.PropertySort); 2325Assert.Equal(value, control.PropertySort); 2330Assert.Equal(value, control.PropertySort); 2348Assert.Equal(value, control.PropertySort); 2356Assert.Equal(value, control.PropertySort);
System.Windows.Forms.UI.IntegrationTests (2)
PropertyGridTests.cs (2)
276_propertyGrid.PropertySort.Should().Be(PropertySort.CategorizedAlphabetical); 279_propertyGrid.PropertySort.Should().Be(PropertySort.Alphabetical);