WebPropertyGrid supports the following property sorting options:
WebPropertyGrid.PropertySort(PropertySort.Categorized)
With the above option, properties are displayed according to their category in a group.
The categories are defined by the properties themselves.
This setting can be demonstrated in this sample by clicking on the
first "Categorized" button in the WebPropertyGrid title.
WebPropertyGrid.PropertySort(PropertySort.Alphabetical)
With the above option, properties are sorted in an alphabetical list.
This setting can be demonstrated in this sample by clicking on the
second "A - Z" button in the WebPropertyGrid title.
WebPropertyGrid.PropertySort(PropertySort.CategorizedAlphabetical)
With the above option, properties are displayed according to their category in a group.
The categories are defined by the properties themselves.
The properties are further sorted alphabetically within the group.
WebPropertyGrid.PropertySort(PropertySort.NoSort)
With the above option, properties are displayed in the order in which they are retrieved.
Pressing the "Submit" button simulates saving the form data by writing the results below:
Hard Drive = 1 TB
Memory = 4 GB
Operating System = Windows 7
Optical Drive = CD/DVD Burner
Processor = Intel Core i3
Productivity Application = Office Trial
Security Protection = Avast
Video Card = NVIDIA
Click the "Reset" link to restore the default values.