Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sort object properties in a custom order in the WinForms Property Grid.

License

NotificationsYou must be signed in to change notification settings

DevExpress-Examples/winforms-property-grid-custom-sorting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinForms Property Grid - Sort properties in a custom order

The WinForms Property Grid control sorts properties by display name. This example handles theCustomPropertyDescriptors event to sort object properties in a custom order:

voidpropertyGridControl1_CustomPropertyDescriptors(objectsender,CustomPropertyDescriptorsEventArgse){if(allowCustomSorting&&e.Context.PropertyDescriptor==null){e.Properties=e.Properties.Sort(newstring[]{"Property5","Property4","Property3","Property2","Property1"});}}

Files to Review

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Sort object properties in a custom order in the WinForms Property Grid.

Topics

Resources

License

Stars

Watchers

Forks

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp