Category Archives: Resources

Publish resources of a CustomControl from an external library in Silverlight

Sometimes it’s useful to add a Style programmatically to a CustomControl. This part is very easy. You just have to allocate the Style in the Constructor of that Control: [code lang="csharp"]Style = (Style)Application.Current.Resources["BrowserWindowStyle"];[/code] This Style is placed in the Current … Continue reading

CustomControl, Resources, Silverlight , ,