Unplanned
Last Updated: 16 Feb 2024 12:30 by Martin

I know that there is a RadRange Attribute but using it creates a dependency on Telerik.

Consider the scenario that the object to be configured via RadPropertyGrid is defined in a library that is used by multiple projects.

Unplanned
Last Updated: 16 Feb 2024 12:27 by ADMIN
Created by: n/a
Comments: 1
Category: PropertyGrid
Type: Feature Request
2

How to create a PropertyGrid and initialize it like this,modify the 'segments' arraies as I modify the 'count'

Unplanned
Last Updated: 23 Apr 2020 14:52 by ADMIN

Currently, the ExpandableObjectConverter is the appropriate solution for adding nested properties in RadPropertyGrid. Using TypeConverters is quite a flexible mechanism that RadPropertyGrid offers: https://docs.telerik.com/devtools/winforms/controls/propertygrid/type-converters

It would be nice to have a more flexible and easy approach, e.g. PropertyStoreItem .Items collection that allows you to add nested properties.

 
Completed
Last Updated: 19 Sep 2018 14:16 by Dimitar
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: PropertyGrid
Type: Feature Request
2
When you have  a property that is bool? or ToggleState, it would be good to have three-state functionality for the PropertyGridCheckBoxItemElement.
Unplanned
Last Updated: 25 May 2018 14:24 by ADMIN
ADMIN
Created by: Dimitar
Comments: 0
Category: PropertyGrid
Type: Feature Request
1
This should work similar to RadGridView. Once should be able to manually set the height of on individual rows as well.
Completed
Last Updated: 15 Aug 2017 10:54 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 1
Category: PropertyGrid
Type: Feature Request
1
RadSpinEditor now supports null values. This functionality is relevant for the PropertyGridSpinEditor as well  http://docs.telerik.com/devtools/winforms/editors/spineditor/null-value-support
Completed
Last Updated: 25 Apr 2016 06:36 by ADMIN
Until the new feature is officially released please use the implementation in the attached project.
Completed
Last Updated: 08 Oct 2021 10:14 by ADMIN
Release R3 2021 SP1
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 6
Category: PropertyGrid
Type: Feature Request
11

			
Unplanned
Last Updated: 15 Aug 2017 10:02 by ADMIN
Workaround:

public class CustomPropertyGrid : RadPropertyGrid
{
    public override string ThemeClassName  
    { 
        get 
        { 
            return typeof(RadPropertyGrid).FullName;  
        }
    }

    protected override PropertyGridElement CreatePropertyGridElement()
    {
        return new CustomPropertyGridElement();
    }
}

public class CustomPropertyGridElement : PropertyGridElement
{
    protected override Type ThemeEffectiveType     
    { 
        get    
        { 
            return typeof(PropertyGridElement);     
        }
    }

    protected override PropertyGridSplitElement CreateSplitElement()
    {
        return new CustomPropertyGridSplitElement();
    }
}

public class CustomPropertyGridSplitElement : PropertyGridSplitElement
{
    protected override Type ThemeEffectiveType     
    { 
        get    
        { 
            return typeof(PropertyGridSplitElement);     
        }
    }

    protected override PropertyGridTableElement CreateTableElement()
    {
        return new CustomPropertyGridTableElement();
    }
}

public class CustomPropertyGridTableElement:PropertyGridTableElement
{
    protected override Type ThemeEffectiveType     
    { 
        get    
        { 
            return typeof(PropertyGridTableElement);     
        }
    }

    public override bool ProcessKeyDown(KeyEventArgs e)
    {
        if (e.KeyData == Keys.Enter && ((PropertyGridItem)this.SelectedGridItem).PropertyType == typeof(bool))
        {
            PropertyGridItem item = this.SelectedGridItem as PropertyGridItem;
            item.Value = !(bool)item.Value;
            return true;
        }
        return base.ProcessKeyDown(e);
    }
}
Completed
Last Updated: 26 Nov 2014 10:28 by ADMIN
Here is the code that should be used for custom sub-properties

private void OnCreateItem(object sender, CreatePropertyGridItemEventArgs e)
{
    e.Item = new MyPropertyGridItem((PropertyGridTableElement)sender, e.Parent);
}

As visual studio would be happy of you only provide a constructor with one argument when you inherit from PropertyGridItem you have no way of knowing that you need a second one where the parent should be the second argument.

The proper way to handle this would be to set the parent internally.
Completed
Last Updated: 20 Oct 2014 14:20 by ADMIN
Completed
Last Updated: 01 Oct 2014 13:01 by ADMIN
Workaround: 

  class MyRadPropertyGrid : RadPropertyGrid
    {
        protected override void WndProc(ref Message m)
        {
            switch (m.Msg)
            {
                case 0x7b:
                    Point point;
                    int x = Telerik.WinControls.NativeMethods.Util.SignedLOWORD(m.LParam);
                    int y = Telerik.WinControls.NativeMethods.Util.SignedHIWORD(m.LParam);
                    if (((int)((long)m.LParam)) == -1)
                    {
                        point = new Point(this.Width / 2, this.Height / 2);
                    }
                    else
                    {
                        point = this.PointToClient(new Point(x, y));
                    }

                    this.PropertyGridElement.PropertyTableElement.ProcessContextMenu(point);
                    return;
            }

            base.WndProc(ref m);
        }
    }
Completed
Last Updated: 03 Jul 2014 08:24 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: PropertyGrid
Type: Feature Request
1

			
Completed
Last Updated: 18 Aug 2015 12:49 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: PropertyGrid
Type: Feature Request
0

			
Completed
Last Updated: 30 Oct 2013 09:58 by Jesse Dyck
Extend the sorting functionality in order to support custom sort order.
Completed
Last Updated: 23 Jul 2013 06:40 by ADMIN
ADMIN
Created by: Georgi I. Georgiev
Comments: 0
Category: PropertyGrid
Type: Feature Request
1
More specifically the behavior when the combobox editor is double clicked it changes its current item to the next one.
Completed
Last Updated: 25 Jan 2013 09:32 by ADMIN
Currently users can only specify a UITypeEditor. They should be able to specify which BaseInputEditor to be used for a given property when they edit it:
[Editor(typeof(PropertyGridBrowseEditor), typeof(BaseInputEditor)]
public string FilePath { get; set; }
Completed
Last Updated: 09 Feb 2015 07:58 by ADMIN
Currently when expanding an item in RadPropertyGrid the order of the sub items changes on every start.
Completed
Last Updated: 15 Nov 2012 07:56 by ADMIN
The RadPropertyGrid editing mechanism can be improved by adding ValueChanged/ing events similar to those in RadGridView.
Completed
Last Updated: 03 Sep 2012 05:07 by ADMIN
RadPropertyGrid should not invalidate the properties when the help bar is resized.
1 2