Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > PropertyGrid > RadPropertyGrid and UITypeEditor

Not answered RadPropertyGrid and UITypeEditor

Feed from this thread
  • Radoslaw avatar

    Posted on Nov 22, 2011 (permalink)

    Hi,

        It is possible to get RadPropertyGrid instance from EditValue function (from UITypeEditor class) ?

    Regards
    Radek

    Reply

  • Ivan Petrov Ivan Petrov admin's avatar

    Posted on Nov 24, 2011 (permalink)

    Hello Radoslaw,

    Thank you for writing.

    You can get the RadPropertyGrid from inside the EditValue method using the following code snippet:

    PropertyGridItem item = context as PropertyGridItem;
    if (item != null)
    {
      RadPropertyGrid grid = item.PropertyGridTableElement.ElementTree.Control as RadPropertyGrid;
    }

    I hope this will help. Should you need further assistance, I would be glad to provide it.
    Kind regards,
    Ivan Petrov
    the Telerik team

    Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > PropertyGrid > RadPropertyGrid and UITypeEditor