12 references to Sort
System.Windows.Forms (5)
System\Windows\Forms\ComponentModel\COM2Interop\Com2PropertyDescriptor.Com2PropDescMainConverter.cs (1)
58
properties = properties.
Sort
();
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (1)
154
return props.
Sort
([nameof(Start), nameof(Length)]);
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
176
return props.
Sort
(["Start", "End"]);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (1)
103
return props.
Sort
([nameof(TableLayoutPanelCellPosition.Column), nameof(TableLayoutPanelCellPosition.Row)]);
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdges.cs (1)
21
return props.
Sort
(["All", "Left", "Top", "Right", "Bottom"]);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2144
PropertyDescriptorCollection properties = GetFilteredProperties(manager, value, filter).
Sort
();
System.Windows.Forms.Design.Tests (5)
System\Windows\Forms\Design\WindowsFormsDesignerOptionServiceTests.cs (5)
36
Assert.Equal(new string[] { "EnableInSituEditing", "GridSize", "ObjectBoundSmartTagAutoShow", "ShowGrid", "SnapToGrid", "UseOptimizedCodeGeneration", "UseSmartTags", "UseSnapLines" }, childCollection.Properties.
Sort
().Cast<PropertyDescriptor>().Select(p => p.Name));
60
Assert.Equal(new string[] { "EnableInSituEditing", "GridSize", "ObjectBoundSmartTagAutoShow", "ShowGrid", "SnapToGrid", "UseOptimizedCodeGeneration", "UseSmartTags", "UseSnapLines" }, childCollection.Properties.
Sort
().Cast<PropertyDescriptor>().Select(p => p.Name));
77
Assert.Equal(new string[] { "EnableInSituEditing", "GridSize", "ObjectBoundSmartTagAutoShow", "ShowGrid", "SnapToGrid", "UseOptimizedCodeGeneration", "UseSmartTags", "UseSnapLines" }, childCollection.Properties.
Sort
().Cast<PropertyDescriptor>().Select(p => p.Name));
84
Assert.Equal(new string[] { "EnableInSituEditing", "GridSize", "ObjectBoundSmartTagAutoShow", "ShowGrid", "SnapToGrid", "UseOptimizedCodeGeneration", "UseSmartTags", "UseSnapLines" }, childCollection.Properties.
Sort
().Cast<PropertyDescriptor>().Select(p => p.Name));
100
Assert.Equal(new string[] { "EnableInSituEditing", "GridSize", "ObjectBoundSmartTagAutoShow", "ShowGrid", "SnapToGrid", "UseOptimizedCodeGeneration", "UseSmartTags", "UseSnapLines" }, childCollection.Properties.
Sort
().Cast<PropertyDescriptor>().Select(p => p.Name));
System.Windows.Forms.Primitives (1)
System\Windows\Forms\PaddingConverter.cs (1)
115
return properties.
Sort
([nameof(Padding.All), nameof(Padding.Left), nameof(Padding.Top), nameof(Padding.Right), nameof(Padding.Bottom)]);