Advanced Forum Search Results
-
I was able to make it work - I made a couple of small alterations to the SilverlightToolkit project and recompiled Microsoft.Windows.Controls.Theming.dll. It worked really well.
I made two changes to the Toolkit source:
Changed ResourceParser to be a public class, this giving myself a way to use Parse and create a ResourceDictionary ...
-
Is there any way to use the ImplicitStyleManager with a xaml file that is not a resource of the Silverlight project? I would like to create a silverlight application with a 'base' theme compiled with the application, but allow custom themes to be added, as needed, without recompiling the app.
The SL app I'm trying to build ...
-
@Giganoid
If you're using complex items are you using the ComboBox.ItemTemplate element to style the combobox items? If so you shouldn't need the DisplayMemberPath attribute for your combobox.
You should just be able to set ComboBox.ItemsSource = [instanceOfObservableCollection] once and from then on just mess with (add/remove ...
-
Giganoid, if you're seeing empty items, be sure to set the DisplayMemberPath on the combobox to a member of the objects contained in the list that you're using as the backing collection for the ComboBox ItemsSource.
For example (code shortened for readability)
public class Person {
public string Name { get; set; }
public string Address { ...
-
I had a similar issue with a combobox. I'd been stumped on it for a few days, especially because the stack trace was in .Net framework code and didn't reference my code at all. The hint that pointed me in the right direction was "Value does not fall within the expected range".
As it turns out, the issue is one of ...
-
[quote user="sladapter"]
Is the default.aspx your Sivlerlight test page? If yes, have you modified that page (the Silverlight control tag) after you get RC0? I found removing and re-adding Silverlight link and having the VS re-generate your test page works the best.
[/quote]
Thanks for the suggestion. ...
-
[quote user="sladapter"]
Check your all your UserControl Xaml. They might have some invalid Xaml in them. Some property name are either changed or removed in RC0.
[/quote]
Thank you for the suggestion. I'd forgotten to edit my XAML and get rid of the properties that have been removed from SL2B2->RC0.
However, now ...
-
Bart,
[quote user="bartczernicki"]
Make sure your generic.xaml is in the correct folder it was moved to the themes folder in RC0.
[/quote]
Thanks for your reply. However, I'm not using a generic.xaml. Just an app.xaml.
- Jonathan
-
I'm having problems with RC0. I uninstalled my SL2B2 stuff and
also uninstalled Blend 2.5. I then installed Blend 2 SP1 (had to
install the Blend 2 trial to have something to install on top of) and
the Silverlight Tools installer.
After that I opened my project,
removed all styles (and references to them) from App.xaml, as ...
-
Mike,
I'm also having problems with RC0. Uninstalled my SL2B2 stuff and also uninstalled Blend 2.5. I then installed Blend 2 SP1 (had to install the Blend 2 trial to have something to install on top of) and the Silverlight Tools installer.
After that I opened my project, removed all styles (and references to them) ...