I've noticed that in .Net 4, WPF FrameworkElements are able to bind to IDynamicMetaObjectProvider binding sources. Will this also be the case for Silverlight 4?
I have a silverlight application that is set to use 100% browser height.
As I dynamically add controls to a canvas (which can be dragged around), I would like the expand the canvas vertically.
Ideally show the browser scrollbar so the user can move up or down, if that can't be done, use the scrollbar control. I would also need to handle the user changing the size of the browser. Any suggestions on how to do this ?
Cheers,
I'm working on my first WPF project and would like to use one of the themes that I see in the Silverlight Tool Kit.
All the help I've found is for Expression 2 and they show a different version of the Asset Tab. Can someone advise me how to do this. It looks like it should be simple, but I'm not seeing it.
Hi, I am trying to access session information within a Silverlight 4 project with RIA Service enable.
I wan to be able to read and write to the session, as well as reading the IP Adress of the client.
How do we do that?
thanks
Hello friends. I have WPF Application. Is it possible to quickly convert WPF app to Silvelight application, if not which technic I have to use to transform my WPF app to Silverlight. And also I want to know about limitations of Silvelight app.
Thank you in advance.
I want to be able to create an interactive type program where a user can pin point plots on a graph, so if a user clicks anywhere on the map a dot of some sort will be plotted. I just need a helpful tutorial on silverlight to help me do this sort of thing. I have tried looking up google but I am not finding exactly what I want.
****I am using expression blend******
Thanks
I'm trying to access a MySQL database through Silverlight, and I know you can't do it directly, but the only way I know of is to use a WCF service. This won't run on the server I have, is there any other way to access the database (through PHP maybe)?
i want to do a screen capture of a running silverlight 3 application, from within the app, and then i want to present this to the user as a thumbnail, say in an Image control.
am i dreaming?
In an application in Silverlight I'm working on, I need to track the moves of the mouse. My problem is that using the MouseMove event, I don't have a continuous set of points if the user moves the mouse fast enough (if I add each point in a list I can have (10,10) en then (20,20)...)
I'd like to have ALL points where the mouse has been during the move.
Do you have any idea ?
Hi all,
I tried to create a custom tabitem on Silverlight, but when i run it, it's complaining Unable to cast CustomTab to TabItem.
I am not sure how to fix that, any idea?
Thanks alot
I have been using the NavigationService's Navigate method to navigate to other pages in my WP7 Silverlight app:
NavigationService.Navigate(new Uri("/Somepage.xaml?val=dreas", UriKind.Relative));
From Somepage.xaml, I then retrieve the query string parameters as follows:
string val;
NavigationContext.QueryString.TryGetValue("val", out val);
I now need a way to pass a complex object using a similar manner. How can I do this without having to serialize the object every time I need to pass it to a new page?
Hi,
I need to use a two dimensional grid with headers in the left and the top on Silverlight.
Is it possible to configure a grid for that or I need to use an other control ?
Best regards.
Narglix
I have a list of strings displayed by a Silverlight ItemsControl. The DataTemplate is a Border control with a TextBlock as its child. How can I access the border control corresponding to an item? For example, I might want to do this to change the background color.
Silverlight's Navigation Application template seems promising, however, I can't seem to find any tutorials (particularly video tutorials). Whatever I did find was from the beta and is inconsistent with the released version.
Has anyone seen any non-beta tutorials (particularly video)?
Guys,
I want to customize the look of a TextBlock. (I want a rounded rectangle border around it).
But I'd like to be able to set it's template via the app.xaml
But I see that TextBlock doesn't have a Template property. I'd use Label (which does have a Template property) but I guess silverlight doesn't support a Label control.
So what can I use to do this? Thanks in advance.
I do Silverlight MVC project on VWDEE2010
when I do
private void button1_Click(object sender, RoutedEventArgs e)
{
MessageBox.Show("I am a button");
}
Message shows on BlackScreen on background and only when I click OK it returnts me to my page. Why black page and what ways to avoid ?
Thank you.
How would you structure the code for calling a wcf service in silverlight application?
Using only-once instanciated wcf service-proxy (aka singleton) and using it across the whole SL app?
If so, how did you solve the unsubscribing controls from ws-call-completed event?
or
creating the wcf service-proxy for each ws-call? Where do you close the proxy then?
Simple question,
SilverLight 3 application (no toolkit).
I want to use an image and a slider.
The image is displayed fit to screen on load, and then the slider has to zoom-in and out the image when its value changes. I don't want to use anything else, like deepzoom. How can this be done?
Urgent, Thanks in advance,
Can someone direct me to an example or explanation that will help me either:
Extend the SilverLight AutoComplete Box to allow watermarks.
Extend the Watermark TextBox to allow AutoComplete functionality.
It strikes me that option 1 would be easiest, but I'm open.
Thanks in advance.
For example,
I have a collection of integers 1 - 10.
I want to dynamically display 4 (can be 5, 6, 7) columns in the datagrid in silverlight.
How can I bind the collection to the datagrid to achieve the following?
C1 C2 C3 C4
R1 1 2 3 4
R2 5 6 7 8
R3 9 10
Cheers
Hi All,
In my silverlight project I have a Context Menu (right click menu) that I want to close it if I click anywhere outside it. I add handler to the click event on App:
AddHandler App.Current.RootVisual.MouseLeftButtonDown, AddressOf HideMenu
But the problem that: it does not enter the Handler when I click on any other command, or click on the same control that have the context menu, it is enter only when I click on an empty area outside the menu.
Thanks.