<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : PropertyGrid [2]</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : PropertyGrid [2]]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 18:52:53 +0000</pubDate>
  <lastBuildDate>Thu, 02 Mar 2006 10:59:54 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=3724</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[PropertyGrid [2] :  Private Sub wndPropertyGrid_InplaceButtonDown(ByVal...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3724&amp;PID=11256&amp;title=propertygrid-2#11256</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1812">zetanet</a><br /><strong>Subject:</strong> 3724<br /><strong>Posted:</strong> 02 March 2006 at 10:59am<br /><br /><P><FONT face="Arial, Helvetica, sans-serif" size=1><IMG src="https://forum.codejock.com/smileys/smiley19.gif" border="0"></FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=1>Private</FONT><FONT size=1><FONT face="Arial, Helvetica, sans-serif"> <FONT color=#0000ff>Sub</FONT> wndPropertyGrid_InplaceButtonDown(<FONT color=#0000ff>ByVal</FONT> sender <FONT color=#0000ff>As</FONT> <FONT color=#0000ff>Object</FONT>, <FONT color=#0000ff>ByVal</FONT> e <FONT color=#0000ff>As</FONT> AxXtremePropertyGrid._DPropertyGridEvents_InplaceButtonDownE vent) <FONT color=#0000ff>Handles</FONT></FONT><FONT face="Arial, Helvetica, sans-serif"> wndPropertyGrid.InplaceButtonDown</FONT></FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=1>UIDebug.Write("Inplace button down. Item.Caption = " + e.item.Caption)</FONT></P><P><FONT size=1><FONT face="Arial, Helvetica, sans-serif"><FONT color=#0000ff>Dim</FONT> x <FONT color=#0000ff>As</FONT> <FONT color=#0000ff>New</FONT></FONT><FONT face="Arial, Helvetica, sans-serif"> UIConverterSpecifiche</FONT></FONT></P><P><FONT face="Arial, Helvetica, sans-serif"><FONT size=1><FONT color=#0000ff>If</FONT> x.ShowDialog() = DialogResult.OK <FONT color=#0000ff>Then</FONT></FONT></FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=1>e.item.Value = x.Value</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=1>Debug.Write(x.Value.GetType.ToString &amp; " " &amp; e.item.Value.GetType.ToString)</FONT></P><P><FONT face="Arial, Helvetica, sans-serif"><FONT size=1><FONT color=#0000ff>End</FONT> <FONT color=#0000ff>If</FONT></FONT></FONT><FONT face="Arial, Helvetica, sans-serif"><FONT size=1><FONT color=#0000ff></P></FONT></FONT></FONT><P><FONT face="Arial, Helvetica, sans-serif"><FONT size=1><FONT color=#0000ff>End</FONT> <FONT color=#0000ff>Sub</FONT></FONT></FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=1>Sorry. SuperMario. <IMG src="https://forum.codejock.com/smileys/smiley19.gif" border="0"></FONT></P><P><FONT face=Arial size=1>Code is very simple...</FONT></P><P><FONT face=Arial size=1>My Dialog return a System.ArrayList value type.</FONT></P><P><FONT face=Arial size=1>After assign the returned value at e arguments</FONT></P><P><FONT face=Arial size=1>e.item.Value = x.Value</FONT></P><P><FONT face=Arial size=1>the result is ...&nbsp;typeof variable x is System.ArrayList&nbsp; while e.Item.Value type is System.String.</FONT></P><P><FONT face=Arial size=1>WHY? </FONT></P><P><FONT face=Arial size=1>n.b. System.String is the same type which i use for add the <strong>PropertyGridItem</strong> to the grid.</FONT></P><FONT face=Arial size=1><FONT size=2><P></FONT><FONT color=#0000ff>Dim</FONT> ItemDirectory <FONT color=#0000ff>As</FONT> PropertyGridItem = Category.AddChildItem(PropertyItemType.PropertyItemString, "TEST", value)</P><P>ItemDirectory.Flags = PropertyItemFlags.ItemHasExpandButton</P><P>&nbsp;A possible BUG ? or how can i ovverride the problem?</P><P>Thanks Super. </P></FONT>]]>
   </description>
   <pubDate>Thu, 02 Mar 2006 10:59:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3724&amp;PID=11256&amp;title=propertygrid-2#11256</guid>
  </item> 
 </channel>
</rss>