<?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 : PropertyGridItem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : PropertyGridItem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 09:08:45 +0000</pubDate>
  <lastBuildDate>Thu, 02 Mar 2006 09:18:28 +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=3722</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[PropertyGridItem :   Private Sub wndPropertyGrid_InplaceButtonDown(ByVal...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3722&amp;PID=11255&amp;title=propertygriditem#11255</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1812">zetanet</a><br /><strong>Subject:</strong> 3722<br /><strong>Posted:</strong> 02 March 2006 at 9:18am<br /><br /><FONT color=#0000ff size=2><P><FONT face="Arial, Helvetica, sans-serif" size=1><IMG src="http://forum.codejock.com/smileys/smiley19.gif" border="0"></FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=1>Private</FONT></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="http://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><P><FONT face=Arial size=1></FONT>&nbsp;</P><P><FONT face=Arial size=1></FONT>&nbsp;</P>]]>
   </description>
   <pubDate>Thu, 02 Mar 2006 09:18:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3722&amp;PID=11255&amp;title=propertygriditem#11255</guid>
  </item> 
  <item>
   <title><![CDATA[PropertyGridItem : Value is an Object property so...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3722&amp;PID=11253&amp;title=propertygriditem#11253</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 3722<br /><strong>Posted:</strong> 02 March 2006 at 8:03am<br /><br />Value is an Object property so you should be able to store any type you want.<br><br>Maybe you can use the <str&#111;ng style="font-weight: normal;">AfterEdit event or ValueChanged events to manually manuave the value when it is changed.<br><br></strong><str&#111;ng style="font-weight: normal;">The AfterEdit event </strong>occurs after an edit operation, but before the value has been changed.&nbsp; <str&#111;ng style="font-weight: normal;">AfterEdit</strong> allows you to modify the new value before it is applied or you can completely cancel the operation.<br><br>]]>
   </description>
   <pubDate>Thu, 02 Mar 2006 08:03:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3722&amp;PID=11253&amp;title=propertygriditem#11253</guid>
  </item> 
  <item>
   <title><![CDATA[PropertyGridItem : Hello. Im&amp;#039; developping an...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3722&amp;PID=11252&amp;title=propertygriditem#11252</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1812">zetanet</a><br /><strong>Subject:</strong> 3722<br /><strong>Posted:</strong> 02 March 2006 at 7:29am<br /><br /><P>Hello.</P><P>Im' developping an application in VB.NET&nbsp;using <FONT size=2>PropertyGrid ActiveX (9.81).It is possible to customize the PropertyGridItem.Value property and manage the value&nbsp;with a sort of TypeConverter ?.</FONT></P><P>(The DirectoryItem sample is simple becouse the returned data is String <IMG src="http://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp; eg. "C:\" and all works fine.)</P><P><FONT size=2>My idea is to assing a value that is a ArrayList (or another type of VB object).</FONT></P><P><FONT size=2>Only a Dream?.</FONT></P><P><FONT size=2>Thanks for the attention and sorry for my spaghetti english.(ITA)</P></FONT>]]>
   </description>
   <pubDate>Thu, 02 Mar 2006 07:29:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3722&amp;PID=11252&amp;title=propertygriditem#11252</guid>
  </item> 
 </channel>
</rss>