SilverlightShow: Silverlight 2 Toolkit Overview Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples SilverlightShow.net http://www.rssboard.org/rss-specification Argotic Syndication Framework 2008.0.2.0, http://www.codeplex.com/Argotic en-US estoychev@completit.com (Emil Stoychev) RE: Silverlight 2 Toolkit Overview <p>Just what I was looking for. And I have been googling for a while.</p> <p>Thanks a lot</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment5562 OddAtWork http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Tue, 22 Feb 2011 23:06:47 GMT RE: Silverlight Toolkit 2 Overview How do I click on a datapoint on a line chart and delete it, that is reference the datapoint, I am using a collection of 2 doubles for x and y. http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment4414 Mike http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Tue, 07 Sep 2010 15:29:37 GMT RE: Silverlight Toolkit 2 Overview <p>Hi ss,</p> <p>Please look at this article:</p> <p><a href="http://forums.silverlight.net/forums/p/65786/161859.aspx">http://forums.silverlight.net/forums/p/65786/161859.aspx</a></p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment3421 nikolayraychev http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Thu, 15 Apr 2010 12:04:42 GMT RE: Silverlight Toolkit 2 Overview How Can I change Each Bars Color, with Silverlight 2? http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment3284 ss http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Mon, 22 Mar 2010 15:40:22 GMT RE: Silverlight Toolkit 2 Overview The article is really helpful. Thanks a lot http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment3088 Ram Prawesh(BMSCE) http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Tue, 16 Feb 2010 08:54:01 GMT RE: Silverlight Toolkit 2 Overview Superb ! Explianation http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment2322 mohtarahul http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Tue, 08 Sep 2009 08:22:38 GMT RE: Silverlight Toolkit 2 Overview great work http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment2261 kumar naidu http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Wed, 19 Aug 2009 09:45:20 GMT RE: Silverlight Toolkit Overview <p>Nikolay, </p> <p> </p> <p>Thanks for the tips!</p> <p> </p> <p>Bradford</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment872 Bradford http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Sat, 27 Dec 2008 22:07:27 GMT RE: Silverlight Toolkit Overview <p><strong>Venugopal Anthana</strong>, there is no installer for Silverlight Toolkit. It is shiped as several <em>dll</em> files and also some <em>xaml</em> files which are for the themes. But you can easily add the controls to your toolbox following these steps:</p> <ol> <li>Go to your toolbox, right click and then click on "Choose items...".</li> <li>Choose "Silverlight Components" tab.</li> <li>Click "Browse" and navigate to a <em>dll</em> file</li> <li>Click "Open", then "OK".</li> <li>All <em>Silverlight </em>controls contained in the <em>dll</em> which you have chosen are already in your toolbox.</li> </ol> <p> </p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment850 nikolayraychev http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Thu, 18 Dec 2008 03:54:23 GMT RE: Silverlight Toolkit Overview <p>How the Silverlight toolkit will integrate with VS2008? Can you send me the install process</p> <p>Thanks,</p> <p>Venugopal Anthana</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment845 Venugopal Anthana http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Wed, 17 Dec 2008 08:36:24 GMT RE: Silverlight Toolkit Overview <p><strong>Monika</strong>, Silverlight and ASP.NET are completely different technologies. They can not be "imported" in one another but can be used together.</p> <p><strong>Dkelley725</strong>, it seems that chart series are using some default colors. I tried the following code with no effect:</p> <div> <div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"> <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"> ( ( ColumnSeries )<span style="color: #0000ff">this</span>.chartColumn.Series[ 0 ] ).Background = <span style="color: #0000ff">new</span> SolidColorBrush( Colors.Red );</pre> </div> </div> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment849 nikolayraychev http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Tue, 16 Dec 2008 03:28:33 GMT RE: Silverlight Toolkit Overview <p>Can you provide a code behind example showing how to set the series background color, thanks.</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment777 Dkelley725 http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Sun, 30 Nov 2008 20:25:08 GMT RE: Silverlight Toolkit Overview <p>How we can import silverlight toolkit in asp.net3.5</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment776 Monika http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Sat, 29 Nov 2008 04:44:02 GMT RE: Silverlight Toolkit Overview <p>Hi Donald,</p> <p>The aim of this article was just to make a quick sample for every control, not to make a detailed example with all the possible uses. It's up to you whether you prefer making the things in XAML or the code behind.</p> <p>About the TreeViw, I'll check if it's possible to load nodes on demand.</p> <p>Additionaly we are working on separate articles about each control. Here you can see an article about the <a href="http://www.silverlightshow.net/items/Using-the-DockPanel-in-Silverlight-2.aspx">DockPanel</a>. There will be more articles soon.</p> <p>Nikolay</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment705 nikolayraychev http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Tue, 18 Nov 2008 09:52:56 GMT RE: Silverlight Toolkit Overview <p>I'm confused.  This is a great set of controls but why are the examples so focussed on xaml?  Unless I'm missing something xaml can't be stepped through in a debugger and is very messy after Blend gets through with it so why is the sample code so focussed on xaml.  I just want to arrange a treeview on a page and then make WPF service calls to fetch portions of the data hierarchy as needed, in other words, when a category is expanded, and delete those items when it's collapsed. Can you put together some more code behind samples for those of us who shiver at the thought of complex functional relationships defined in a markup language.  No offense to the xaml guys.</p> <p>Thanks, Donald</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment677 dgearey http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Thu, 13 Nov 2008 15:45:20 GMT RE: Silverlight Toolkit Overview <p>Hi anthrax,</p> <p>Yes, this is a good workaround for that issue.</p> <p>Congratulations.</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment648 iiordanov http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Mon, 10 Nov 2008 09:17:38 GMT RE: Silverlight Toolkit Overview <p>hi,</p> <p>I have build and relese a silverlight application and map the HTML page in to a web control in a windows form. works fine. any comments?</p> <p>regards.</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment646 anthrax http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Mon, 10 Nov 2008 04:15:58 GMT RE: Silverlight Toolkit Overview <p>Hi iiordanov,</p> <p>Isn't  there any way i can use charts with a windows application?</p> <p>regards</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment645 anthrax http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Mon, 10 Nov 2008 04:07:37 GMT RE: Silverlight Toolkit Overview <p>hi <span id="ctl00_ContentPlaceHolderContent_itemComments_dlstComments_ctl14_lblCommentAuthor">anthrax,</span></p> <p><span>No, it is not possible to use the charts from Silverlight controls toolkit in WPF applications. The reason for that is the fact that both SDKs Silverlight and WPF are different.</span></p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment639 iiordanov http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Thu, 06 Nov 2008 10:10:54 GMT RE: Silverlight Toolkit Overview <p>hi,</p> <p>tried to create a WPF application. as the Microsoft.Windows.Controls.DataVisualization.dll refarance included, the InitializeComponent(); function underlines saying "does not exist in the current context". cant i use this silverlight charts in a windows app?</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment638 anthrax http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Thu, 06 Nov 2008 09:48:49 GMT RE: Silverlight Toolkit Overview <p>sorry, </p> <p>thanking is for you <a href="../../Profile.aspx?userId=1a982c84-be38-49b1-ba01-c22220b71dd5" id="ctl00_ContentPlaceHolderContent_itemComments_dlstComments_ctl08_hlnkCommentAuthor">nikolayraychev</a> .</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment636 anthrax http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Thu, 06 Nov 2008 07:53:56 GMT RE: Silverlight Toolkit Overview <p>hi Joseph,</p> <p>Thanks for the help. it works.</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment635 anthrax http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Thu, 06 Nov 2008 07:51:17 GMT RE: Silverlight Toolkit Overview <p><strong><span id="ctl00_ContentPlaceHolderContent_itemComments_dlstComments_ctl02_lblCommentAuthor">Joseph</span></strong><span id="ctl00_ContentPlaceHolderContent_itemComments_dlstComments_ctl02_lblCommentAuthor">, </span></p> <p><strong><span><span id="ctl00_ContentPlaceHolderContent_itemComments_dlstComments_ctl06_lblCommentAuthor">anthrax</span></span></strong><span><span id="ctl00_ContentPlaceHolderContent_itemComments_dlstComments_ctl06_lblCommentAuthor"> is right, you can put more lines with adding more <em>LineSeries</em> and defining their <em>ItemsSource</em>.</span></span></p> <p><span><span><span><span id="ctl00_ContentPlaceHolderContent_itemComments_dlstComments_ctl06_lblCommentAuthor"><strong>anthrax</strong>, </span></span></span></span></p> <p><span><span><span><span id="ctl00_ContentPlaceHolderContent_itemComments_dlstComments_ctl06_lblCommentAuthor">try this:</span></span></span></span></p> <p><span><span><span><span>ls.DependentValueBinding = new System.Windows.Data.Binding( "Value" );         <br /> ls.IndependentValueBinding = new System.Windows.Data.Binding( "Key" );</span></span></span></span></p> <p><span><span><span><span>I hope that this will help. </span></span></span></span></p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment632 nikolayraychev http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Thu, 06 Nov 2008 07:17:36 GMT RE: Silverlight Toolkit Overview <p>RE: Hi, how can i pu more than one line in one LineSeries</p> <p>add another keyValuePair array</p> <div style="border: 1px solid gray; margin: 20px 0px 10px; padding: 4px; overflow: auto; font-size: 8pt; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"> <div style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: white;"> ( ( LineSeries )<span style="color: rgb(0, 0, 255);">this</span>.chartLine.Series[ 1 ] ).ItemsSource = <span style="color: rgb(0, 0, 255);">new</span> KeyValuePair<DateTime, <span style="color: rgb(0, 0, 255);">int</span>>[]</pre> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"> {</pre> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: white;"> <span style="color: rgb(0, 0, 255);">new</span> KeyValuePair<DateTime,<span style="color: rgb(0, 0, 255);">int</span>>(DateTime.Now, 1),</pre> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"> <span style="color: rgb(0, 0, 255);">new</span> KeyValuePair<DateTime,<span style="color: rgb(0, 0, 255);">int</span>>(DateTime.Now.AddDays(1), 7),</pre> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: white;"> <span style="color: rgb(0, 0, 255);">new</span> KeyValuePair<DateTime,<span style="color: rgb(0, 0, 255);">int</span>>(DateTime.Now.AddDays(2), 2),</pre> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"> <span style="color: rgb(0, 0, 255);">new</span> KeyValuePair<DateTime,<span style="color: rgb(0, 0, 255);">int</span>>(DateTime.Now.AddDays(3), 5),</pre> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: white;"> <span style="color: rgb(0, 0, 255);">new</span> KeyValuePair<DateTime,<span style="color: rgb(0, 0, 255);">int</span>>(DateTime.Now.AddDays(4), 3)</pre> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"> };</pre> </div> </div> <p>and add another charting series</p> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: white;"> <charting:LineSeries</pre> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"> Title=<span style="color: rgb(0, 96, 128);">"Line2"</span></pre> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: white;"> DependentValueBinding=<span style="color: rgb(0, 96, 128);">"{Binding Path=Value}"</span> </pre> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: rgb(244, 244, 244);"> IndependentValueBinding=<span style="color: rgb(0, 96, 128);">"{Binding Path=Key}"</span>></pre> <pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: white;"> </charting:LineSeries></pre> <p>hope that helps</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment631 anthrax http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Thu, 06 Nov 2008 06:06:03 GMT RE: Silverlight Toolkit Overview <p>I've been trying to edit the line chart sample to bind the data fields from C# code. what i've done was</p> <p>            List<KeyValuePair<DateTime, int>> MyPointSeries= new List<KeyValuePair<DateTime, int>>();<br />             LineSeries ls;</p> <p>            .<br />             .<br />             .<br />             ls.DependentValueBinding.Path=MyPointSeries[].Key;            <br />             ls.IndependentValueBinding.Path=MyPointSeries[].Value;</p> <p>It says value expected for the array. Could you please tell how to bind those properties from C# code insted doing</p> <p>                    DependentValueBinding="{Binding Path=Value}" <br />                     IndependentValueBinding="{Binding Path=Key}"</p> <p>in xaml page.</p> <p>thanx</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment630 anthrax http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Thu, 06 Nov 2008 06:01:56 GMT RE: Silverlight Toolkit Overview <p>Hi, how can i pu more than one line in one LineSeries</p> <p>tks</p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment629 Joseph http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Thu, 06 Nov 2008 06:00:11 GMT RE: Silverlight Toolkit Overview <p>hi, Excellent work. thanks for the guide. </p> http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx#comment627 anthrax http://www.silverlightshow.net/items/Silverlight-Toolkit-Overview.aspx Thu, 06 Nov 2008 02:24:02 GMT