<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using the PropertyGrid control in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/using-the-propertygrid-control/m-p/10386547#M25446</link>
    <description>&lt;P&gt;No se si realmente es lo que quieres,pero te doy este pequeño script.Espero que te ayude.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="Y2IQFc"&gt;I don't know if it really is what you want, but I give you this little script. Hope it helps you&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 13 Jun 2021 12:01:13 GMT</pubDate>
    <dc:creator>reylorente1</dc:creator>
    <dc:date>2021-06-13T12:01:13Z</dc:date>
    <item>
      <title>Using the PropertyGrid control</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-the-propertygrid-control/m-p/10383755#M25444</link>
      <description>&lt;P&gt;I want to use the PropertyGrid control on a main Settings form to allow the user to configure the add-in and on a few dedicated forms to manage some details of the project. The list of valid settings and their default values are loaded from a json file the first time the Settings form is opened, then stored in a DataStorage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation gives you some guidelines about how to use the &lt;A href="https://help.autodesk.com/view/RVT/2022/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Appendices_API_User_Interface_Guidelines_Dialog_Guidelines_html#property-editor" target="_blank" rel="noopener"&gt;property grid&lt;/A&gt;, but doesn't mention any helper functions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to find a standard property grid, a few helper classes for the common types, like length, angle, material, etc., and I could cycle through my json settings, create one object using one of those classes according to the setting description in the json data and add them one by one to the property grid. Well, I'm posted this because I didn't find the helper classes or any description of how to use the property grid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does it mean that I need to create my own form with my own PropertyGrid control?&lt;/P&gt;&lt;P&gt;And I need to create all the classes required for that thing to work?&lt;/P&gt;&lt;P&gt;Classes that are already complex enough for predefined classes, but reach nightmare level for dynamic classes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please someone tell me that there is an easier way!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 21:18:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-the-propertygrid-control/m-p/10383755#M25444</guid>
      <dc:creator>stefanome</dc:creator>
      <dc:date>2021-06-11T21:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using the PropertyGrid control</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-the-propertygrid-control/m-p/10386456#M25445</link>
      <description>&lt;P&gt;Not come across anything in API that would be helpful to use in that respect. The majority if not all of add-in UI development in down to developer (probably considering Forge that will not change).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think PropertyGrid control was incorporated from Forms to WPF.&lt;/P&gt;&lt;P&gt;In Forms it doesn't appear to have any DataBinding support, which is odd.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With WPF I would probably go down the DataGrid route. You may find custom controls that mimic PropertyGrid such as&amp;nbsp;&lt;A href="https://archive.codeplex.com/?p=wpg" target="_blank" rel="noopener"&gt;WPF Property Grid - CodePlex Archive.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jun 2021 10:43:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-the-propertygrid-control/m-p/10386456#M25445</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2021-06-13T10:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using the PropertyGrid control</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-the-propertygrid-control/m-p/10386547#M25446</link>
      <description>&lt;P&gt;No se si realmente es lo que quieres,pero te doy este pequeño script.Espero que te ayude.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="Y2IQFc"&gt;I don't know if it really is what you want, but I give you this little script. Hope it helps you&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jun 2021 12:01:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-the-propertygrid-control/m-p/10386547#M25446</guid>
      <dc:creator>reylorente1</dc:creator>
      <dc:date>2021-06-13T12:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using the PropertyGrid control</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-the-propertygrid-control/m-p/10398635#M25447</link>
      <description>&lt;P&gt;Thanks for the example, but it looks like the PropertyGrid control is used to show properties of Revit objects, not of dynamically generated data structure. Here is the only use of the SelectedObject property, which uses a Room&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Room &lt;/SPAN&gt;&lt;SPAN&gt;habitacion = elem &lt;/SPAN&gt;&lt;SPAN&gt;as &lt;/SPAN&gt;&lt;SPAN&gt;Room&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;// Rellenar las propiedades&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;prpProperty&lt;SPAN&gt;.&lt;/SPAN&gt;SelectedObject &lt;SPAN&gt;= &lt;/SPAN&gt;habitacion&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 15:40:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-the-propertygrid-control/m-p/10398635#M25447</guid>
      <dc:creator>stefanome</dc:creator>
      <dc:date>2021-06-17T15:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using the PropertyGrid control</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-the-propertygrid-control/m-p/10398648#M25448</link>
      <description>&lt;P&gt;I played with it for one week and I decided that I don't want to waste any more time on it.&lt;/P&gt;&lt;P&gt;I will keep the PropertyGrid only for Revit classes and create my own form for dynamic data structures.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 15:42:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-the-propertygrid-control/m-p/10398648#M25448</guid>
      <dc:creator>stefanome</dc:creator>
      <dc:date>2021-06-17T15:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using the PropertyGrid control</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-the-propertygrid-control/m-p/10398788#M25449</link>
      <description>&lt;P&gt;&lt;STRONG&gt;not of dynamically generated data structure.&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="Y2IQFc"&gt;You also need to show, for example, door, window, etc. Sorry, my English is poor&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Tambien necesitas mostrar ,por ejemplos,puerta ,ventana,etc.Disculpas,mi ingles es pobre&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 16:29:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-the-propertygrid-control/m-p/10398788#M25449</guid>
      <dc:creator>reylorente1</dc:creator>
      <dc:date>2021-06-17T16:29:02Z</dc:date>
    </item>
  </channel>
</rss>

