Apply Themes dynamically for UserControl in Silverlight 4.0 - silverlight-4.0

I want to apply themes dynamically for UserControls in silverlight.
I have created 3 projects.
1) Contains Themes and Images
2) Contains User Controls
3) My project where I have used my themes and User controls
How can I change themes dynamically for user control?
Please suggest me a way.

Dynamically apply and change Theme with the Silverlight Toolkit - Laurent Duveau describes a solution that you could use along with Creating Packs from the Silverlight Application Themes.
Note that these techniques are specific to Silverlight 4, which now supports Implicit Styles. Much of the existing content on the Internet regarding Silverlight and Themes, describe solutions using ImplicitStyleManager (still applicable to Silverlight 3).

Related

Xamarin - How to view rendered Xaml

Our team is working on an effort to improve the accessibility of our mobile application developed with Xamarin. One area we're having trouble tackling is Focus Path (i.e. tab order). Research examples suggest that the focus path should naturally be top down if the layout is created correctly. However, the examples are often simple and not real-world with respect to complex layouts and navigation (or whatever Marketing dreams up). We have several re-usable 'controls' and templates the get injected as part of the layout like main navigation, search, etc. The focus path, or tab order, is all over the place.
Tools that offer live preview/xaml edit only work against the opened xaml file which in many of our cases is just part of the overall xaml that makes up the screen.
Looking for a way to view 'rendered xaml' that makes a up a given screen in a xamarin mobile app. We need to see the final xaml that includes all of the dynamic controls, templates, etc. that get mashed together. This may help us understand what's happening to our focus path.
EDIT: we've found that forcing/setting tabindex does not help.
Is there such a tool or process?
I was using https://www.livexaml.com/ for such a purpose.

Forms API in eclipse rcp4

I'm trying to use FormToolkit for creating components and add them in section widgets for better look n feel in RCP4. But with this nothing is rendered on wizard page at runtime and there is no error also. Questions:
Is it possible to have forms api into Eclipse RCP4?

How do you integrate a RadEditor control into a Sitefinity custom designer?

On Sitefinity 4.x or 5.x CMS, how do you add a RadEditor to a custom widget? I currently have a regular text field and it works fine, however I would like to provide more functionality to the edit text.
I have a working custom widget that includes a working custom designer. No problems, there, just wondering about the specifics in integrating the RadEditor.
in Sitefinity the RadEditor is wrapped in an HtmlField which can be emedded in a control designer to allow rich text input.
Here's some info on creating control designers: http://www.sitefinity.com/blogs/joshmorales/posts/11-09-20/creating_advanced_sitefinity_4_widget_control_designers.aspx
And a blog post that demonstrates a control designer using the HtmlField: http://www.avisra.com/blog/2011/05/22/sitefinity-control-designer-fields
hope this is helpful!

Can we Use masterPage in silverlight4 application

Is it Possible to use masterpage with silverlight4 application?
The Silverlight navigation template project available in VS2010 gives you the equivalent of a master page in the form of MainPage.xaml.
There is no master page concept in silverlight. try using usercontrols and implement the master page. Iframe and silverlight controls should do the trick.
Anyways let us wait and hear from an expert if there is a better work around.

Question regarding how a public SharePoint site is made

I had a look at http://www.westernaustralia.com/au/Pages/Welcome_to_Western_Australia.aspx and I know it's a SharePoint site and I am wondering how it could have been made.
I am mostly interrested in the center column (What's On). Is it an announcement list with thumbnails and Find out more links are pointing to wiki pages? Could it be a custom web part or is it possible to do this sort of thing with SharePoint 2010 out of the box?
Thanks in advance.
You can do this easily with a "What's New" web part. Customize your library view setting and set your webpart to use that view. Add a simple content editor at the bottom of this web part and add those other links like View All etc...
Remember that you can create your own list and make sure to index it so that it can rollback into the What's New webpart.
Looking at the emitted HTML it looks like a custom user control in the page layout to me (hell I could be wrong)
That said though it is possible to do this OOTB and I could build that functionality using the Content Query Web Part and some custom XSL