From ea6a7d528298f7d1546a73d17a7efd9193bac6ad Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Tue, 3 Feb 2026 15:31:07 +0400 Subject: [PATCH 1/5] autogenerate VB --- VB/Form1.Designer.vb | 4 ++-- VB/Form1.vb | 6 ++++++ VB/Program.vb | 6 ++++-- VB/Properties/AssemblyInfo.vb | 1 + VB/PropertySorting.vbproj | 7 ++++--- 5 files changed, 17 insertions(+), 7 deletions(-) diff --git a/VB/Form1.Designer.vb b/VB/Form1.Designer.vb index e0f264f..6f8d482 100644 --- a/VB/Form1.Designer.vb +++ b/VB/Form1.Designer.vb @@ -37,7 +37,7 @@ Namespace PropertySorting Me.propertyGridControl1.Name = "propertyGridControl1" Me.propertyGridControl1.Size = New System.Drawing.Size(627, 490) Me.propertyGridControl1.TabIndex = 0 - AddHandler Me.propertyGridControl1.CustomPropertyDescriptors, New DevExpress.XtraVerticalGrid.Events.CustomPropertyDescriptorsEventHandler(AddressOf Me.propertyGridControl1_CustomPropertyDescriptors) + Me.propertyGridControl1.CustomPropertyDescriptors += New DevExpress.XtraVerticalGrid.Events.CustomPropertyDescriptorsEventHandler(AddressOf Me.propertyGridControl1_CustomPropertyDescriptors) ' ' button1 ' @@ -47,7 +47,7 @@ Namespace PropertySorting Me.button1.TabIndex = 1 Me.button1.Text = "Toggle Sorting" Me.button1.UseVisualStyleBackColor = True - AddHandler Me.button1.Click, New System.EventHandler(AddressOf Me.button1_Click) + Me.button1.Click += New System.EventHandler(AddressOf Me.button1_Click) ' ' Form1 ' diff --git a/VB/Form1.vb b/VB/Form1.vb index a142a76..7e499e5 100644 --- a/VB/Form1.vb +++ b/VB/Form1.vb @@ -1,8 +1,14 @@ Imports System +Imports System.Collections.Generic Imports System.ComponentModel +Imports System.Data Imports System.Drawing +Imports System.Linq +Imports System.Text Imports System.Windows.Forms Imports DevExpress.XtraVerticalGrid.Events +Imports System.Collections +Imports System.Globalization Namespace PropertySorting diff --git a/VB/Program.vb b/VB/Program.vb index bd18adf..aa55dd1 100644 --- a/VB/Program.vb +++ b/VB/Program.vb @@ -1,4 +1,6 @@ Imports System +Imports System.Collections.Generic +Imports System.Linq Imports System.Windows.Forms Namespace PropertySorting @@ -10,9 +12,9 @@ Namespace PropertySorting ''' Sub Main() - Call Application.EnableVisualStyles() + Application.EnableVisualStyles() Application.SetCompatibleTextRenderingDefault(False) - Call Application.Run(New Form1()) + Application.Run(New Form1()) End Sub End Module End Namespace diff --git a/VB/Properties/AssemblyInfo.vb b/VB/Properties/AssemblyInfo.vb index 7b2aadd..05fe2de 100644 --- a/VB/Properties/AssemblyInfo.vb +++ b/VB/Properties/AssemblyInfo.vb @@ -1,4 +1,5 @@ Imports System.Reflection +Imports System.Runtime.CompilerServices Imports System.Runtime.InteropServices ' General Information about an assembly is controlled through the following diff --git a/VB/PropertySorting.vbproj b/VB/PropertySorting.vbproj index af8ac63..64bc6ee 100644 --- a/VB/PropertySorting.vbproj +++ b/VB/PropertySorting.vbproj @@ -1,4 +1,4 @@ - + On @@ -9,7 +9,8 @@ {CD050711-697A-4811-B40C-BF63E3EB7BBC} WinExe Properties - + + PropertySorting v4.7.2 Client @@ -123,4 +124,4 @@ --> - + \ No newline at end of file From 6ac05a5f1476cfde9c01018ddc250339c6dd6661 Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Tue, 3 Feb 2026 15:31:13 +0400 Subject: [PATCH 2/5] Created a new file CODEOWNERS [skip ci] --- CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 CODEOWNERS diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..a88e69e --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1 @@ +* @DevExpressExampleBot \ No newline at end of file From 6a07f6ead54c7fa079c58a23d8de407b1c75cbc1 Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Tue, 3 Feb 2026 16:34:14 +0400 Subject: [PATCH 3/5] README auto update [skip ci] --- Readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Readme.md b/Readme.md index 085874a..66a8aa5 100644 --- a/Readme.md +++ b/Readme.md @@ -1,5 +1,4 @@ -![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/128639072/24.2.1%2B) [![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/E2263) [![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183) [![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives) From 96fc5e58413d3b4acff5e9480312c0876d609603 Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Fri, 13 Feb 2026 15:07:47 +0400 Subject: [PATCH 4/5] Normalize README phrase [skip ci] --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 66a8aa5..cb92dd3 100644 --- a/Readme.md +++ b/Readme.md @@ -21,7 +21,7 @@ void propertyGridControl1_CustomPropertyDescriptors(object sender, CustomPropert * [Form1.cs](./CS/Form1.cs) (VB: [Form1.vb](./VB/Form1.vb)) -## Does this example address your development requirements/objectives? +## Does This Example Address Your Development Requirements/Objectives? [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=winforms-property-grid-custom-sorting&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=winforms-property-grid-custom-sorting&~~~was_helpful=no) From 87979b76240309c132dfd2e14645807e28969d24 Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Fri, 13 Feb 2026 17:12:38 +0400 Subject: [PATCH 5/5] README auto update [skip ci] --- Readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index cb92dd3..656e039 100644 --- a/Readme.md +++ b/Readme.md @@ -21,9 +21,9 @@ void propertyGridControl1_CustomPropertyDescriptors(object sender, CustomPropert * [Form1.cs](./CS/Form1.cs) (VB: [Form1.vb](./VB/Form1.vb)) -## Does This Example Address Your Development Requirements/Objectives? - -[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=winforms-property-grid-custom-sorting&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=winforms-property-grid-custom-sorting&~~~was_helpful=no) - +## Does This Example Address Your Development Requirements/Objectives? + +[](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=winforms-property-grid-custom-sorting&~~~was_helpful=yes) [](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=winforms-property-grid-custom-sorting&~~~was_helpful=no) + (you will be redirected to DevExpress.com to submit your response)