Silverlight Show Forum General design and XAML discussions Threads http://www.silverlightshow.net/general-design-and-xaml-discussions.aspx Silverlight Show Forum General design and XAML discussions Threads http://backend.userland.com/rss 3D tag cloud in Silverlight Hi guys,<br /> <br /> Do you have any idea how can I create a 3D tag cloud in Silverlight. It sure will be very impressive for the project I am working on. <br /> My approach was to create a custom control having a property which lists all the tags. I managed to arrange them to look like a 3D tag cloud in XAML but I wonder what is the best way to do it in code... so that I can reuse and style my custom control further? And I also had problems running the animation when the mouse is over one of the tags...<br /> <br /> Thanks http://www.silverlightshow.net/Forums/general-design-and-xaml-discussions/3d-tag-cloud-in-silverlight.aspx Bobi 6/16/2011 11:29:10 AM Check box with in the list box. Check box with in the list box. <p><br /> </p> <p><br /> </p> <p>please check the snapshot.</p> http://www.silverlightshow.net/Forums/general-design-and-xaml-discussions/check-box-with-in-the-list-box.aspx anandbprem 6/29/2011 10:16:49 AM XAML designers <p>Hello guys,</p> <p>Do you like the XAML designer in Visual Studio? Do you use it..or you just type in the tags by yourself? Is there any visual designer for XAML except Expression Blend?</p> http://www.silverlightshow.net/Forums/general-design-and-xaml-discussions/xaml-designer-in-visual-studio.aspx lnikolov 8/9/2011 3:37:54 PM Hi friends i am datta <p>i have one query in silverlight Design </p> <p>How can i set background image to stack panel and and how can i repeat image<strong> y axis or x axis </strong></p> <p>if anybody is know please share with me<strong>  <br /> </strong></p> http://www.silverlightshow.net/Forums/general-design-and-xaml-discussions/hi-friends-i-am-datta.aspx dattaraje 9/19/2011 11:15:58 AM Why explicit Style defined in a theme Which had been applied for one control aren't update when change the Theme ?. Why explicit Style defined in a theme Which had been applied for one control aren't  update when change the Theme ?.<br /> <br /> Main.xaml: (This is a resume of main.xaml , to see full have a look the attached file)<br /> <br /> <UserControl><br />     <Grid x:Name="LayoutRoot" Background="White" ><br />         <!--[PROBLEM]: This Border Style doesn't refresh when the Theme changed--> <br />         <Border Style="{StaticResource BorderStyle2}"><br />             <Button Click="Change_to_Dark_Click"<br />                         Height="20">Select Dark Theme</Button><br />         </Border><br />     </Grid><br /> </UserControl><br /> <br /> <br /> Main.xaml.cs : (This is a resume of main.xaml.cs, to see full have a look the attached file)<br />        private void Change_to_Dark_Click(object sender, RoutedEventArgs e)<br />         {<br />             //Cleannig<br />             App.Current.Resources.Clear();<br />             App.Current.Resources.MergedDictionaries.Clear();<br />             Theme.SetApplicationThemeUri(App.Current, null);<br /> <br />             Uri themeUri = new Uri("/Controls.Dark;component/Generic.xaml", UriKind.RelativeOrAbsolute);<br />             Theme.SetApplicationThemeUri(Application.Current, themeUri);<br />         //The theme changed but the style of Border doesn't change.<br />     }<br /> <br /> There is a Controls project "Controls.csproj" (to see full have a look the attached file) with:<br /> Generic.xaml<br /> Style.xaml<br /> ButtonCustomized.xaml<br /> <br /> There are 2 themes projects  created like this "Controls.Dark.csproj" (to see full have a look the attached file):<br /> Generic.xaml<br /> Style.xaml<br /> <br /> Generic.xaml<br /> <br /> <ResourceDictionary<br />     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"<br />                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"<br />                     xmlns:controls="clr-namespace:Controls;assembly=Controls"><br />     <ResourceDictionary.MergedDictionaries><br />         <ResourceDictionary Source="/Controls.Dark;component/Style.xaml" /><br />         <ResourceDictionary Source="/Controls;component/Themes/ButtonCustomized.xaml" /><br />     </ResourceDictionary.MergedDictionaries><br /> <br /> </ResourceDictionary><br /> <br /> Style.xaml<br /> <br /> <ResourceDictionary<br />     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" <br />     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"><br />     <Color x:Key="KeyColor">#FDB800</Color><br />     <Color x:Key="KeyColor2">#FBD8AB</Color><br />     <SolidColorBrush x:Key="KeyColorBrush"<br />                      Color="{StaticResource KeyColor}" /><br />     <SolidColorBrush x:Key="KeyColorBrush2"<br />                      Color="{StaticResource KeyColor2}" /><br />     <br />     <Style x:Key="BorderStyle1"<br />            TargetType="Border"><br />         <Setter Property="Background"<br />                 Value="{StaticResource KeyColorBrush}" /><br />     </Style><br /> <br />     <Style x:Key="BorderStyle2"<br />            TargetType="Border"><br />         <Setter Property="Background"<br />                 Value="{StaticResource KeyColorBrush2}" /><br />     </Style><br /> </ResourceDictionary><br /> <br /> I don't know why the explicit style doesn't are updates when change theme of the application?<br /> <br /> Thanks for the future answers, regards.<br /> <br /> http://silverlight.codeplex.com/workitem/10224 http://www.silverlightshow.net/Forums/general-design-and-xaml-discussions/why-explicit-style-defined-in-a-theme-which-had-been-applied-for-one-control-aren-t--update-when-change-the-theme.aspx jecaestevez 1/25/2012 8:00:49 PM RSS link <p>Hi, new to the windows phone development and wondered if anyone could help. I have an RSS feed working fine, but I don't know who to link to the link webpage. Here is my part of the code if anyone can assist me:</p> <p><span style="text-decoration: underline;">Mainpage.xaml</span> </p> <p><Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"/><br />         <Grid Margin="0,170,0,37" Grid.RowSpan="2"><br />             <ListBox ItemsSource="{Binding Items}" Height="auto" Margin="0,6,0,0" x:Name="listBox1" VerticalAlignment="Top" HorizontalAlignment="Center" Width="450"><br />             <ListBox.ItemTemplate><br />                 <DataTemplate><br />                     <StackPanel Orientation="Vertical"><br />                             <Button HorizontalAlignment="Left"><br />                                 <Button.Content><br />                                 <Image Source="{Binding Image}" Margin="-10,0,0,0" HorizontalAlignment="Left" Width="400" Height="200" /><br />                                 </Button.Content><br />                             </Button></p> <p>                            <StackPanel Width="auto" Margin="0,10,0,10" Orientation="Vertical"><br />                             <TextBlock Text="{Binding Title}" FontSize="26.667" TextWrapping="Wrap" Style="{StaticResource PhoneTextAccentStyle}" DataContext="{Binding}" Foreground="Black" Margin="12,-60,12,0" FontFamily="Calibri" Padding="10,0" VerticalAlignment="Top"/><br />                             <TextBlock Text="{Binding Date}" FontSize="18" TextWrapping="Wrap" Style="{StaticResource PhoneTextAccentStyle}" DataContext="{Binding}" Foreground="#FF3A44DC" Margin="12,-23,12,0" FontFamily="Calibri" Padding="10,0" VerticalAlignment="Top"/><br />                             <TextBlock Text="{Binding Description}" FontSize="18" TextWrapping="Wrap" Style="{StaticResource PhoneTextAccentStyle}" DataContext="{Binding}" Foreground="Black" Margin="12,0,12,0" FontFamily="Calibri" Padding="10,0"/></p> <p> </p> <p>                            </StackPanel><br />                     </StackPanel><br />                 </DataTemplate><br />             </ListBox.ItemTemplate><br />         </ListBox></p> <p><span style="text-decoration: underline;">MainPage.xaml.cs</span></p> <p>public partial class MainPage : PhoneApplicationPage<br />     {</p> <p>        // Constructor<br />         public MainPage()<br />         {<br />             InitializeComponent();</p> <p>            this.Loaded += new RoutedEventHandler(MainPage_Loaded);<br />         }</p> <p>        void MainPage_Loaded(object sender, RoutedEventArgs e)<br />         {<br />             WebClient wc = new WebClient();<br />             wc.DownloadStringAsync(new Uri("<a href="http://www.templatedepot.co.uk/rss/rss.xml">http://www.templatedepot.co.uk/rss/rss.xml</a>"));<br />             wc.DownloadStringCompleted += new DownloadStringCompletedEventHandler(wc_DownloadStringCompleted);</p> <p>        }</p> <p>        void wc_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)<br />         {<br />             if (e.Error != null) return;</p> <p>            XElement xmlItems = XElement.Parse(e.Result);</p> <p>            listBox1.ItemsSource = from x in xmlItems.Descendants("item")<br />                                    select new RSSitem <br />                                    {</p> <p>                                       Date = x.Element("pubDate").Value,<br />                                        Link = x.Element("link").Value,<br />                                        Title = x.Element("title").Value, <br />                                        Description = x.Element("description").Value,<br />                                        Image = x.Element("enclosure").LastAttribute.Value</p> <p>                                   };<br />                     }<br />        }</p> <p> </p> <p>    public class RSSitem<br />     {<br />         public string Title { get; set; }<br />         public string Date { get; set; }<br />         public string Description { get; set; }<br />         public string Link { get; set; }<br />         public string Image { get; set; }</p> <p> </p> <p>    }</p> <p> Would really appreciate any assistance - Thank you.</p> <p> </p> http://www.silverlightshow.net/Forums/general-design-and-xaml-discussions/rss-link.aspx Lynx101 7/19/2012 12:32:37 AM Is it possible to use PathListBox in Silverlight Splash Screen. <span style="background-color: #fafafa; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; color: #333333;">Dear All,</span><br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <span style="background-color: #fafafa; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; color: #333333;">I am using simple PathListBox animation in Silverlight splash screen. But it’s giving me error of missing assembly is as follows;</span><br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <span style="background-color: #fafafa; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; color: #333333;">Error: Unhandled Error in Silverlight Application</span><br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <span style="background-color: #fafafa; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; color: #333333;">Code: 2005</span><br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <span style="background-color: #fafafa; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; color: #333333;">Category: ParserError</span><br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <span style="background-color: #fafafa; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; color: #333333;">Message: Unknown namespace </span><a rel="nofollow" href="http://schemas.microsoft.com/expression/2010/controls" target="_blank" style="color: #417394; text-decoration: initial; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" re_target="_blank">http://schemas.microsoft.com/expression/2010/controls</a><span style="background-color: #fafafa; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; color: #333333;">.</span><br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <span style="background-color: #fafafa; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; color: #333333;">File: </span><a rel="nofollow" href="http://localhost/LDAddonModules.Web/ClientBin/LDAddonModules.xap" target="_blank" style="color: #417394; text-decoration: initial; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" re_target="_blank">http://localhost/LDAddonModules.Web/...donModules.xap</a><br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <span style="background-color: #fafafa; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; color: #333333;">Line: 35</span><br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <span style="background-color: #fafafa; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; color: #333333;">Position: 122</span><br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <span style="background-color: #fafafa; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; color: #333333;">Splash screen coding is as follows;</span> <p><span style="background-color: #fafafa; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; color: #333333;"></span></p> <pre class="bbcode_code" style="margin-top: 0px; margin-bottom: 0px; padding: 6px; line-height: 12px; border: 1px inset; overflow: scroll; direction: ltr; background-color: #f2f6f8; font-size: 12px; width: 800px; color: #333333; height: 372px; background-repeat: repeat no-repeat;"><UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:my="clr-namespace:SilverFlow.Controls;assembly=SilverFlow.Controls" xmlns:ec="http://schemas.microsoft.com/expression/2010/controls" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" x:Class="Silverlight_4_Trial.nMainPage" d:DesignHeight="768" d:DesignWidth="1360" mc:Ignorable="d"> <UserControl.Resources> <Style x:Key="TextBlockStyle1" TargetType="TextBlock"> <Setter Property="Foreground" Value="White"/> <Setter Property="FontFamily" Value="DigifaceWide"/> <Setter Property="FontSize" Value="30.333"/> <Setter Property="Height" Value="35"/> </Style> <Storyboard x:Name="MoveLetters" RepeatBehavior="ForEver"> <DoubleAnimation Duration="0:0:10" To="1" Storyboard.TargetProperty="(PathListBox.LayoutPaths)[0].(LayoutPath.Start)" Storyboard.TargetName="pathListBox" d:IsOptimized="True"> <DoubleAnimation.EasingFunction> <BounceEase EasingMode="EaseIn"/> </DoubleAnimation.EasingFunction> </DoubleAnimation> </Storyboard> </UserControl.Resources> <Grid x:Name="LayoutRoot"> <i:Interaction.Triggers> <i:EventTrigger> <ei:ControlStoryboardAction Storyboard="{StaticResource MoveLetters}"/> </i:EventTrigger> </i:Interaction.Triggers> <Grid.Background> <ImageBrush Stretch="UniformToFill" ImageSource="Splsh_Bck.png"/> </Grid.Background> <Button x:Name="btnOpnPg" Content="Click me" Click="btnOpnPg_Click" Grid.Row="0" Width="100" Height="30" HorizontalAlignment="Right" VerticalAlignment="Top"/> <ec:PathListBox x:Name="pathListBox" Height="112.5" Margin="504,3,511,0" VerticalAlignment="Top" WrapItems="True"> <ec:PathListBox.LayoutPaths> <ec:LayoutPath SourceElement="{Binding ElementName=___PathName_}" Distribution="Even" Capacity="25" FillBehavior="NoOverlap" Orientation="OrientToPath" Start="0.03"/> </ec:PathListBox.LayoutPaths> <TextBlock Text="T" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="H" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="I" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="N" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="K" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text=" " Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="B" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="R" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="O" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="K" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="I" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="N" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="K" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="I" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="G" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text=" " Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="T" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="H" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="I" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="N" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="K" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text=" " Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="L" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text="D" Style="{StaticResource TextBlockStyle1}"/> <TextBlock Text=" " Style="{StaticResource TextBlockStyle1}"/> </ec:PathListBox> <Path x:Name="___PathName_" Data="M500,150 L539,81 L573,50 L610,28 L647,18 L684,18 L728,21 L767,34 L796,52 L818,80 L842,118 L863,161" Height="143" Margin="500,18,497,0" Stretch="Fill" UseLayoutRounding="False" VerticalAlignment="Top"/> <StackPanel Orientation="Horizontal"/> </Grid> </UserControl></pre> <br /> <p><span style="background-color: #fafafa; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; color: #333333;"><span style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;">Kindly guide me how to remove this error</span><br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <span style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;">Thanks & Regards</span><br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <br style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;" /> <br /> <span style="color: #333333; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; background-color: #fafafa;">Anil Kamble</span><br /> </span></p> <p><span style="background-color: #fafafa; font-family: verdana, arial, tahoma, calibri, geneva, sans-serif; font-size: 13px; color: #333333;"><br /> </span></p> http://www.silverlightshow.net/Forums/general-design-and-xaml-discussions/is-it-possible-to-use-pathlistbox-in-silverlight-splash-screen.aspx AnilSKamble 11/27/2012 9:40:55 AM Learning Silverlight as a non .NET developer <p class="post-text" itemprop="description"> </p> <p>There are several people about (myself being one of them) who have been developing RIA for a while now using Flex and AJAX. However Silverlight is now on the scene and worth picking up.</p> <p>Question is, as someone who has never looked at .NET before, should I just dive in Silverlight and try and make up the bits I'm missing, or start somewhere else in .NET in order to get a foundation first?</p> <p> </p> <p><a href="http://www.hitechito.com/technology/microsoft-technologies/net-development/asp-net-development.php">ASP.Net Development Services India</a></p> http://www.silverlightshow.net/Forums/general-design-and-xaml-discussions/learning-silverlight-as-a-non--net-developer.aspx hitechito 5/3/2013 2:22:04 PM