Following the provided information and the refereed forum thread for achieving custom grouping in RadPropertyGrid
I have prepared a sample project. However, after searching in the toolbar, the group names are preserved as expected on my end . When clearing the search text, the group names are indeed back to default.
Note that it is recommended to use the CategoryAttribute
which defines the category to which the property will be grouped when properties are shown categorized. Any property that does not have this attribute will be categorized in the Misc category. When you initialize the PropertyStoreItem
there is a parameter for the category. However, if you need to customize the category names, you can use the ItemFormatting
event. A sample approach is demonstrated in the following code snippet:
sender, PropertyGridItemFormattingEventArgs e)
PropertyGridGroupElement groupElement = e.VisualElement
I am looking forward to your reply.