Skip to main content
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit Theme hide the listbox items in silverlight 3
5 replies. Latest Post by jahusain on June 30, 2009.
(0)
mehtapratik
Member
269 points
302 Posts
06-23-2009 2:01 AM |
Hi all,
I just upgrade my application to silverlight 3 and I am facing following issue.
here is my listbox.
<ListBox x:Name="lboxCity" Height="300"> <ListBox.ItemTemplate> <DataTemplate> <Border Cursor="hand"> <TextBlock Text="{Binding City}"></TextBlock> </Border> </DataTemplate> </ListBox.ItemTemplate> </ListBox>
and I am applying themes with the following code.
Uri uri = new Uri(item.ThemeXamlPath, UriKind.Relative); ImplicitStyleManager.SetResourceDictionaryUri(this, uri); ImplicitStyleManager.SetApplyMode(this, ImplicitStylesApplyMode.Auto); ImplicitStyleManager.Apply(this);
All the controls styles properly but in listbox items are not displayed... any suggestions..
thanks
06-25-2009 4:02 AM |
any idea ?
jahusain
342 points
52 Posts
06-25-2009 8:27 PM |
This is caused by a bug in the public version of Silverlight 3. This issue will be fixed when the final version is released.
06-27-2009 4:58 AM |
Hi jahusain,
Thanks for the information, do you know any temporary solution for this?
Thanks
06-30-2009 6:21 AM |
Any idea?
06-30-2009 12:38 PM |
I'm afraid you'll have to wait for the official release of Silverlight 3 to style items controls. ZD.NET claims that Silverlight 3 will be released July 10th.