<?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>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Re: Silverlight Currency (Databinding)</title><link>http://forums.silverlight.net/forums/thread/111966.aspx</link><pubDate>Fri, 17 Oct 2008 14:35:50 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:111966</guid><dc:creator>nosuchthingas2</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/111966.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=111966</wfw:commentRss><description>&lt;p&gt;This workaround makes sense, but I&amp;#39;m curious as to how the SL controls are able to perform currency operations but I can&amp;#39;t.&amp;nbsp; I&amp;#39;m able to easily seutp a master-details databinding scenarios based on an ObservableCollection with a ListBox and a few TextBoxes.&amp;nbsp; It just works.&amp;nbsp; One thing I&amp;#39;d considered doing was to create a custom ICollectionView that would wrap any List (similar to what&amp;#39;d one in the DataGrid internals) and provide currency.&amp;nbsp; If I took that step would all list controls obey the currency of the ICollectionView?&amp;nbsp; I know this works for a DataGrid but would it also apply to ListBox and ComboBox?&lt;/p&gt;&lt;p&gt;&amp;nbsp;EDIT: Apparently I&amp;#39;m wrong!&amp;nbsp; It doesn&amp;#39;t look like I can acheive master-details databinding in SL without manually setting the DataContext for my details controls when the selection changes in the master element.&amp;nbsp; I&amp;#39;m hoping implementing an ICollectionView will fix this (at least as long as I use a DataGrid for the master list). &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Re: Silverlight Currency (Databinding)</title><link>http://forums.silverlight.net/forums/thread/85651.aspx</link><pubDate>Mon, 01 Sep 2008 11:07:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:85651</guid><dc:creator>Yi-Lun Luo - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/85651.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=85651</wfw:commentRss><description>&lt;p&gt;As a simple workaround, you create such a list manually. For example, use an ID property of type int to determine the id of the item in the list. When the user clicks the previous/next Button, you search for the item with the previous/next id in the list, and display it in the ContentControl.&lt;/p&gt;</description></item><item><title>Re: Silverlight Currency (Databinding)</title><link>http://forums.silverlight.net/forums/thread/85633.aspx</link><pubDate>Mon, 01 Sep 2008 10:22:15 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:85633</guid><dc:creator>andyboyne</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/85633.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=85633</wfw:commentRss><description>&lt;p&gt;Ok, so what is the suggested alternative to creating an application with similar functionality to this:-&lt;/p&gt;
&lt;p&gt;&lt;a href="http://inpics.net/tutorials/access2003/forms16.html"&gt;http://inpics.net/tutorials/access2003/forms16.html&lt;/a&gt;&amp;nbsp; (sorry about the poor link, it was one of the first hits that came up in a search!)&lt;/p&gt;
&lt;p&gt;I.e. I have textboxes bound to lists - it is very common to have lists but not display them in ListBox etc.&amp;nbsp; Are we saying that this sort of interface is not possible&amp;nbsp;in Silverlight?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Many thanks,&lt;/p&gt;
&lt;p&gt;Andy&lt;/p&gt;</description></item><item><title>Re: Silverlight Currency (Databinding)</title><link>http://forums.silverlight.net/forums/thread/85569.aspx</link><pubDate>Mon, 01 Sep 2008 07:00:24 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:85569</guid><dc:creator>Yi-Lun Luo - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/85569.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=85569</wfw:commentRss><description>&lt;p&gt;Unfortunately Silverlight doesn&amp;#39;t have a list type that will tell you which item is currently selected. But if you&amp;#39;re using a selectable Control, such as ListBox and DataGrid, you can simply reference the SelectedItem property of the Control. This property will point to an item in your data source.&lt;/p&gt;</description></item><item><title>Re: Silverlight Currency (Databinding)</title><link>http://forums.silverlight.net/forums/thread/85122.aspx</link><pubDate>Fri, 29 Aug 2008 15:15:56 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:85122</guid><dc:creator>andyboyne</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/85122.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=85122</wfw:commentRss><description>&lt;p&gt;I believe you have gotten the wrong end of the stick.&amp;nbsp; I am not talking about currency in the monetary sense, rather the &amp;#39;which item is &amp;quot;current&amp;quot; in a list&amp;#39; sense.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Cheers,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Andy&lt;/p&gt;</description></item><item><title>Re: Silverlight Currency (Databinding)</title><link>http://forums.silverlight.net/forums/thread/85117.aspx</link><pubDate>Fri, 29 Aug 2008 14:57:53 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:85117</guid><dc:creator>chad.campbell</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/85117.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=85117</wfw:commentRss><description>&lt;p&gt;Hi Andy, &lt;/p&gt;
&lt;p&gt;&amp;nbsp;If you want to display currency information, you will probably need to use an IValueConverter (&lt;a href="http://msdn.microsoft.com/en-us/library/system.windows.data.ivalueconverter(VS.95).aspx"&gt;http://msdn.microsoft.com/en-us/library/system.windows.data.ivalueconverter(VS.95).aspx&lt;/a&gt;). You can use the Convert method to customize how your currency is presented when your data is being bound.&lt;/p&gt;</description></item><item><title>Silverlight Currency (Databinding)</title><link>http://forums.silverlight.net/forums/thread/85111.aspx</link><pubDate>Fri, 29 Aug 2008 14:43:05 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:85111</guid><dc:creator>andyboyne</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/85111.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=85111</wfw:commentRss><description>&lt;p&gt;How is currency (of the databinding kind) handled in Silverlight?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I am looking for similar functionality to&amp;nbsp;(Winforms CurrencyManager / WPF&amp;nbsp;ICollectionView etc.).&amp;nbsp; I know there is ICollectionView in Silverlight but the only concrete implementor is internal, and the interface lives in System.Windows.Controls.Data - it seems bit extreme to pull in a 300kb assembly just for one interface.&amp;nbsp; I was hoping for similar behaviour to Wpf, where lists are automatically wrapped in&amp;nbsp;a&amp;nbsp;default&amp;nbsp;ICollectionView - is there a similar mechanism Silverlight?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Cheers,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Andy&lt;/p&gt;</description></item></channel></rss>