silverlight Questions

5

Solved

is it possible to bind an itemscontrol with canvas as template to multiple DataTemplates? I have 2 collections and depending on the type I would like to display a different control on my canvas. ...
Barstow asked 29/3, 2011 at 13:8

4

Solved

I have a Silverlight application that is building a URL. This URL is a call to a REST-based service. This service expects a single parameter that represents a location. The location is in the form ...
Borrow asked 23/2, 2011 at 18:30

2

I have a silverlight Canvas which holds an image with drawings on it (polygons). I need to develop a control to zoom and pan this canvas within a work area (Border within a Grid cell, as of now) as...
Murdock asked 20/10, 2011 at 22:39

8

Solved

While calling a web service I get the following error: The HTTP request is unauthorized with client authentication scheme 'NTLM'. The authentication header received from the server was 'NTLM'. T...
Arthrospore asked 7/2, 2011 at 9:55

11

Solved

This error seems to be posted all over the place but each one seems to have its own solution, none of which solved my problem. I am getting an error for a Resource Dictionary I am making (and later...
Trochaic asked 22/7, 2011 at 18:29

11

Solved

In my silverlight application I am trying to create a database connection using LINQ. First I add a new LINQ to SQL class, and drag my table called "tblPersoon" into it. Then in my service file I ...
Shiau asked 21/11, 2011 at 17:18

2

Solved

How could I make the content which is put inside WPF Viewbox with Stretch="UniformToFill" be scrollable? For example: <Grid Height="500" Width="1000" > <ScrollViewer VerticalScrollBarVi...
Watery asked 22/3, 2011 at 10:40

3

Solved

If I have a file system path can I open a window in Explorer (on windows) or in Finder (on OS X) displaying the folder that the path leads to? Cookie points for answers that are cross-platform an...
Ethelynethene asked 28/2, 2012 at 16:2

7

Solved

I have an object in my view model that has a bunch of properties, some of them will occasionally be null. I don't want to just show some controls if these particular controls are null. How would I ...
Desalvo asked 16/3, 2011 at 10:16

3

Solved

The verbiage below is from a generated AssemblyInfo file. Does this mean MS is recommending I modify the .csproj file by hand? By a Setting? If it is by a Setting then what use is the NeutralResou...
Sessions asked 15/12, 2011 at 14:58

9

Solved

When we follow localization guidelines we endup with at least a couple of resource files. Resource.resx and Resource.CI.resx which is a specific CultureInfo resource. Lets say we add a hundred str...
Justinajustine asked 8/7, 2011 at 4:26

4

Solved

I recently had an issue with databinding to the Visibility property of a DataGridTextColumn. The confusion arose because this property is a dependecy property in WPF but not in Silverlight. I don'...
Agon asked 28/7, 2011 at 12:30

8

Solved

How does one use a converter with Multiple parameters in a Windows Phone 7 Application?
Whatsoever asked 4/7, 2012 at 5:56

7

Solved

It's recommended to use vector images in WPF application because of its scalability. Where I can find a free icons in vector format?
Cyclopropane asked 9/4, 2010 at 9:7

2

Solved

I have a form and I want to set the focus to a text box when certain user actions happen. I know the MVVM way of doing things is to bind to VM properties, however the TextBox does not have a proper...
Stanchion asked 31/12, 2010 at 17:8

35

Solved

If I call SelectAll from a GotFocus event handler, it doesn't work with the mouse - the selection disappears as soon as mouse is released. EDIT: People are liking Donnelle's answer, I'll try to ex...
Log asked 18/3, 2009 at 23:54

6

Solved

How can I get this error from with in the DownloadStringCompleted Event? Doesn't that mean, it's finished? Is there another event I can fire this from? I get this error extremely rarely, but once ...
Prosthodontics asked 19/3, 2012 at 4:39

8

Solved

I want to have a Button that defines no CornerRadius and two others that do, how can I achieve this? <Style TargetType="Button" x:Key="TabButton"> <Setter Property="Background" Value="Wh...
Leggy asked 16/7, 2013 at 15:40

5

Solved

I started reading the Pro Business Applications with Silverlight 4 and I'm having the following problem here with my visual studio 2010 I can't find the data sources tab page as mentioned here: ...
Squarerigger asked 17/1, 2012 at 14:57

6

Solved

I am currently working on a user control that has white text and a transparent background. Unfortunately because the XAML design view within VS2010 has a white background I cannot see anything that...
Crazyweed asked 3/3, 2011 at 16:49

2

Solved

I hope this isn't a duplicate but I can't find any documentation or examples on how to actually use ScrollToVerticalOffset(). I'm using it in a Windows Phone 8 app, but I think it will still apply ...
Nannana asked 27/2, 2013 at 14:47

8

Solved

I have a Page with an Pivot-control and in some cases I don't want to show a particular PivotItem. Setting the Visibility to collapsed doesn't seem to affect it at all. Any suggestions?
Pylos asked 3/4, 2011 at 18:27

7

Solved

Currently i've got the following code to show a tooltip. <Border BorderBrush="Black" BorderThickness="{Binding Border}" Height="23" Background="{Binding Color}"> <ToolTipService.ToolTi...
Lease asked 6/5, 2011 at 11:51

3

Solved

I'm trying to get the maximum amount a scrollviewer can scroll in the vertical and horizontal direction but I need to be doing this in a layout updated callback. This is what I'm currently doing: ...
Dupondius asked 21/6, 2011 at 1:27

4

Solved

Since you apparently can't create a Silverlight DataTemplate in C#, I'm trying to create one in XAML. I have a converter that I need to refer to, that I have defined in C# in another namespace. I'v...
Musa asked 18/5, 2010 at 19:53

© 2022 - 2024 — McMap. All rights reserved.