31 references to PropertySort
System.Windows.Forms (31)
_generated\1\Validation.cs (2)
398public static void Validate(System.Windows.Forms.PropertySort enumToValidate, string parameterName = "value") 402ReportEnumValidationError(parameterName, intValue, typeof(System.Windows.Forms.PropertySort));
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (18)
53private PropertySort _propertySortValue; 236PropertySort = PropertySort.Categorized | PropertySort.Alphabetical; 827[DefaultValue(PropertySort.CategorizedAlphabetical)] 829public PropertySort PropertySort 838if ((value & PropertySort.Categorized) != 0) 842else if ((value & PropertySort.Alphabetical) != 0) 1168internal bool SortedByCategories => (PropertySort & PropertySort.Categorized) != 0; 2270key.SetValue(RegistryStateNames.AlphabeticalSort, PropertySort == PropertySort.Alphabetical ? "1" : "0"); 2282PropertySort = PropertySort.Categorized | PropertySort.Alphabetical; 2291? PropertySort.Alphabetical 2292: PropertySort.Categorized | PropertySort.Alphabetical; 3073_propertySortValue = PropertySort.Alphabetical; 3076_propertySortValue = PropertySort.Alphabetical | PropertySort.Categorized; 3079_propertySortValue = PropertySort.NoSort;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (3)
49protected PropertySort _propertySort; 883PropertySort initialSortType) 1308if ((_propertySort & PropertySort.Alphabetical) != 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
24PropertySort sortType)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.PropertyMerger.cs (2)
17PropertySort sort, 28if ((sort & PropertySort.Alphabetical) != 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (5)
32PropertySort sortType) 219if (((_propertySort &= PropertySort.Categorized) != 0) != sortByCategories) 223_propertySort |= PropertySort.Categorized; 227_propertySort &= ~PropertySort.Categorized; 243if (Children.Count == 0 || (_propertySort & PropertySort.Categorized) == 0)