<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Installation and Setup</title><link>http://forums.silverlight.net/forums/13.aspx</link><description>All about installing and getting Silverlight running on your system</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: ComboBox Binding</title><link>http://forums.silverlight.net/forums/thread/155895.aspx</link><pubDate>Mon, 05 Jan 2009 09:53:35 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:155895</guid><dc:creator>rajeshkumar.a@gmail.com</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/155895.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=13&amp;PostID=155895</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;It seems that your question is not clear. If you are looking for Display text and its id for each item in combo box, you can following :&lt;/p&gt;&lt;p&gt;DisplayMemberPath=&amp;quot;&amp;quot; // UserName&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Tag=&amp;quot;&amp;quot; // UserId&lt;/p&gt;&lt;p&gt;You can use any collection &amp;lt;IEnumerable&amp;gt; like List, DataTable etc to bind values to combo box. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ComboBox Binding</title><link>http://forums.silverlight.net/forums/thread/155839.aspx</link><pubDate>Mon, 05 Jan 2009 05:22:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:155839</guid><dc:creator>wish.nikhil</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/155839.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=13&amp;PostID=155839</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;All I am saying is that, can I have an extra property in comboBox which works just like Selected Value in WPF. As using selected Item is a tough&amp;nbsp; task while developing&amp;nbsp; a business application.&lt;/p&gt;&lt;p&gt;And since I want to create a custom control&amp;nbsp; for ComboBox specially for Databinding in which I am creating some dependency properties like Table Name Binding Column Name so that I can bind the comboBox accordingly.&lt;/p&gt;&lt;p&gt;For Example :- If a comboBox is inside a Grid which is its Parent and the ComboBox has an ItemsSource . Now the Grid has a DataContext, and suppose there is one ID property in that DataContext. Now according to that ID I want to display the Data in the ComboBox.&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;p&gt;The problem is that , since it is a custom control so I do not know the ItemsSource and DataContext type and thus I can&amp;#39;t use Selected Item Property. Had the selected value and selected Value Path been there in Silverlight just like WPF the work would have been easier. &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: ComboBox Binding</title><link>http://forums.silverlight.net/forums/thread/153843.aspx</link><pubDate>Tue, 30 Dec 2008 07:30:08 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:153843</guid><dc:creator>preishuber</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/153843.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=13&amp;PostID=153843</wfw:commentRss><description>&lt;p&gt;i am not shure what you are looking for in detail. Bind like that&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;ComboBox&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt; BorderThickness&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;0&amp;quot;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt; ItemsSource&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;{&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Binding&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt; Path&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=Field1}&amp;quot;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt; SelectedIndex&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;{&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;Binding&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt; Path&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=Field1}&amp;quot;&amp;gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>ComboBox Binding</title><link>http://forums.silverlight.net/forums/thread/153799.aspx</link><pubDate>Tue, 30 Dec 2008 05:16:28 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:153799</guid><dc:creator>wish.nikhil</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/153799.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=13&amp;PostID=153799</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;Just like WPF where we have Selected Value for ComboBox can&amp;#39;t we have the same here in silverlight where only selected item is present as I am creating a custom control basically to interact with the DataBase and I do not know the name of the class to which the comboBox will bind.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;&lt;p&gt;nikhil&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>