Advanced Forum Search Results
-
Don't make things too complicated.
Do one thing, when u apply first time write this:
bt.Style = (Style)this.Resources["activated"];
And when u want to reapply the style, u can search for the key in Resources and if exists then remove the key and readd the new style. Like following :if ...
-
Question : is there any bug in your program ?
>> No. As I used to do this in different test application, the same problem exists.
It sets the Setter value to null after the style gets applied.
-
Thanks to all for their quick and kind response, the problem is solved!
-
Hi all,
I am using styles in silverlight like this:
<TextBlock x:Name="TB1" Text="text box 1" Grid.Row="0"/>
and style in xaml.cs file like this:
TB1.Style = (Style)Application.Current.Resources["TB1Style"];
but when i place the debugger while running the application then and put it on
TB1.Style ...
-
I want to set the Thread.CurrentThread.CurrentUICulture from the browser setting.
It means if I select any language in the browser then the ML enabled texts in the site which takes the string from the resx files should change according to the culture set in browser.
How can I do that?
-
Hi All,
I have one image control, Currently I am setting the image path as absolute. Since the image is at the server side where the Silverlight application is hosted.The source set as follows:
<Image x:Name="imgMyImage" Source="http://localhost/MyImage.JPG" >
I want to set the relative source from the server in the ...