Autogenerating WPF/Silverlight Views (scaffolding)
Are there any tools out there to autogenerate the different components used to make up a WPF application? Model, View, View Model, XAML form? ...
Are there any tools out there to autogenerate the different components used to make up a WPF application? Model, View, View Model, XAML form? ...
Hi, I have a silverlight application that displays images. These images display fine but I would like to go one step further and let people save an image to disk. I don't want to redownload the image using the WebClient class. I can see the image so I know it's already cached somewhere on my computer. Technically, I don't think it sho...
I currently have a silverlight app designed mainly in expression blend, using a border with a drop shadow effect encircling a rounded rectangle control. When I embed this application into a page, there is a white background around the object. I want to make this background either transparent so the page background color (defined in css) ...
I am trying to port an application from silverlight to wpf. Unfortunatley I am new to both. Is there an equvivalent to the following Silverlight code in WPF? private static Canvas GetCanvas() { var uc = Application.Current.RootVisual as UserControl; if (uc == null) { re...
i try to learn silverlight but i don't understand why silverproject cannot show on SilverlightTest page <UserControl x:Class="SilverlightApplication1.Page" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="400" Height="300"> <Canvas x:Name="...
I created WCF web service, deployed it, and debugged it. I wrote a console app, referenced the web service, and everything works. Now, I'm attempting to consume the web service in a silverlight 3 application. I added the following code to a click event. TagServiceClient client = new TagServiceClient(); Tag[] tags = client.GetTags(); cl...
I have created a simple master-details screen using two DataGrids in SketchFlow, but have been unable to have the child DataGrid update when a row is selected in the master DataGrid. The strange thing is, it works perfectly fine if the child is a ListBox rather than a DataGrid. I have used Blend to create some hierarchical sample data l...
Hey all, Given the data structure { Collection elements; String LocationName; } And a ComboBox that is bound to a collection of such items (described in the structure) with DisplayMemberPath set to LocationName, how do I bind a datagrid to the SelectedItem.Elements of said combo box in XAML? By my understanding the SelectedI...
I have a 2 silverlight projects Dashboard (the main app) Dashboard.Controls (user controls) I have a UserControl in Dashboard.Controls called header which has a grid that references a style <Grid Background="{StaticResource HeaderBackground}" Height="55">...</Grid> I had declared this style in the Dashboard App.xaml (via a resour...
Situation: I have a string that represents the name of a DependencyProperty of a TextBox in Silverlight. For example: "TextProperty". I need to get a reference to the actual TextProperty of the TextBox, which is a DependencyProperty. Question: how do I get a reference to a DependencyProperty (in C#) if all I got is the name of the prope...
In Silverlight3, when a generic Dictionary is iterated with foreach and a KeyValuePair, is the iteration guaranteed to visit the items in the dictionary in the order in which the items were added? That is, the iteration sequence has nothing to do with the key's datatype or its value? The documentation is less than explicit on this: This...
Hi All, I have a typical setup. The solution contains a regular .NET class library for business objects, A WCF project, a silverlight project and supporting web-app project, and some silverlight class libraries. The classes in my business class library are all marked with the "[serializable]" attribute. The WCF service has a method that...
Hi, I'm making layout control deriving from Panel in Siverlight. I want to be able to set the tabbing behavior inside my panel. What I need is something like TabNavigation property of the Control class. For example, if I set: myCustomPanel.TabNavigation = KeyboardNavigationMode.Cycle tabbing will move the focus only through the childr...
I have a Silverlight 3 application. It accesses WCF services that run on IIS. If I let the application sit for a while with no activity, it appears that I lose my connection to the server/login authentication, and my service calls fail. It would appear that I am being logged out for security purposes, but this is not an area that I ...
We've been successfully using clrtype with IronPython 2.6 and Silverlight for databinding, based on the example provided by Lukás(: http://gui-at.blogspot.com/2009/11/inotifypropertychanged-and-databinding.html We create the binding when we create the datagrid columns programatically. Because we are using IronPython some of the static...
I have some trouble getting my head around how to implement more complex operations in a Domain Service in RIA Services. This is all Silverlight 4, VS 2010 and .Net Framework 4 in Beta 2. Goal I wish I could create an operation on my LinqToEntitiesDomainService that would have a signature something like this: public UnwieldyOperation...
I have a form that binds to an ViewModel (MVVM). Inside the form I have an ItemsControl that is bound to an element called projects in my DataContext. When I do a save using a command pattern I save the item and do a retrieve then I want to rebind the ItemsControl to the Projects collection. This part doesn't seem to be working, all m...
As probably everyone knows, MS just released the RC for Visual Studio 2010 (http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx). I'm about to download and install it, but I need to know if the current Silverlight 4 beta bits are supported. Anyone happen to know, or know differently? (If I don't get an answer, I'll post my results b...
Hi, i got some xaml here and what i m trying to do it's simply bind a property call Property (not the real name) on the width of a rectangle and to convert the value of this property with the converter name Conv and it's working perfectly with {TemplateBinding Property} or DataContext={TemplateBinding Property} or with a relative source ...
HI, i need to have a resolution independant UI in silverlight application. Will it support implicitly or should it be taken care in code behind doing ScaleTransform ? will it support multiple browsers as well ? Thanks in advance. ...