silverlight

Silverlight Guidance - How to do this from Telerik? (reference attached image)

I really like a certain Silverlight feature that I've seen in a couple of sites. I would like to know what this "concept(s)" is/are so I can do more research and implemented it on my own. If you see the attached image, I like those expandable sections, reference (1) and (2) sections. They are circled in red and the features that I lik...

How to translate lists in a MVVM model to ObservableCollections in the View-Model?

I am writing a sample app in WPF and I'd like the Model to be easily reusable in a WinForms app so I'd like to keep WPF specific stuff like INotifyChanged and DependencyObjects out of it. If a Model class has a List of some other Model class, how do I implement the corresponding ObserveableCollection in the View-Model so I can keep my b...

Silverlight (4?) How to implement a 3d sitemap control?

I would like to alter the following control (link) to represent the nodes in a 3D space. Are there any libraries which would enable such an alteration or are there any other controls available which do basically that? ...

How to read pixel values in Silverlight Image control?

Is it possible to read pixel values from an Image control in Silverlight 4 without copying Image pixels into a WritableBitmap? I know how to do that with the WritableBitmap. I would like to read the value of a pixel my mouse is over. I can track my mouse move over the loaded image in the Image control reading relevant XY coordinates. ...

Silverlight xaml TextBlock.Text with CDATA not showing up at runtime?

The following xaml causes the text "Activate a test to the left." to be visible at run-time and at design-time (in Vs2010): <TextBlock TextWrapping="Wrap"> <TextBlock.Text>Activate a test to the left.</TextBlock.Text> </TextBlock> The following shows nothing at run-time, but the text IS visible at design-time: <TextBlock TextWrap...

How do you bind menu items to a ContextMenu in silverlight, including the icon

I have a context menu and i want its menu items populated via a binding. The following code works <Button> <controlsInputToolkit:ContextMenuService.ContextMenu> <controlsInputToolkit:ContextMenu ItemsSource="{Binding MenuItems}"> <controlsInputToolkit:ContextMenu.ItemTemplate> <DataTemplate> ...

Analysing Paths and Glyphs graphics in Silverlight

I have built a WPF application that does some OCR type stuff on graphics objects from XPS documents. I want to port it to Silverlight (out of browser app) so it can run on Macs, not just Windows. I can open and display XPS documents in a Silverlight (SL) app quite nicely. My problem is that so much of the useful graphics library is miss...

Invoking UI thread from BeginGetResponse in Silverlight

Hi guys I know how to do this in everyday .NET, but mucking round with WP7 development and Silverlight is driving me mad. An HttpWebRequest response must be done async, cool with that, but how can I invoke the UI thread from the async method? i.e. HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create('http://stackoverflow.com...

Drawing a horizontal line in Silverlight

Possible Duplicate: Horizontal Rule in Silverlight/XAML Hi there, is there a way to draw a horizontal line in Silverlight? I'm thinking of a line to be used as a separator, much like the HTML element <hr />. Is there a quick and easy equivalent in Silverlight? Thanks very much! ...

Manipulate Silverlight in automated-tests (possible?)

Is manipulate Silverlight in automated-tests possible? If yes - How can I do that? Alternatively can I find anywhere helpful information? thanks ...

Telerik Silverlight RadGridView - need to click buttons twice

I have a Silverlight UserControl with a Telerik RadGridView control and a handful of button controls. The problem is that when I edit a cell in the grid view and then click any of the buttons the button command does not execute until; the button is selected a second time. The first press seems to remove the focus from the RadGridView a...

What is the Disadvantage of VirtualizingStackPanel?

What is/are the main disadvantage of VirtualizingStackPanel? If it doesn't have any, then why it is not made as a default panel behavior/template in ItemsControl? ...

tabitem hide show in silverlight

Tabitem hide show in silverlight ...

MVVM Light EventToCommand doesn't work inside WP7 Pivot DataTemplate

Hi everybody, I have very strange issue. In my WP7 app I have a pivot control and an item template defined inside it(or in the resources, I have tried both ways, but still same issue). In the template I have a regular button with EventToCommand defined(EventName="Click"). I also have the same copy-pasted button outside the Pivot. The pr...

What are the tools available for troubleshooting WPF and Silverlight Databinding issues?

In general, what are the best practices to debug a Silverlight or WPF application, especially when you get errors with Databinding? Are there free tools available? I am not getting any errors as such, but I am interested in figuring out the approaches that you take as Silverlight and WPF experts. Thanks! ...

Save html page with Silverlight

How can i save html page with silverlight object within? I need to be able later to reopen page and to view sl content. Thanks. ...

Install Silverlight app out-of-browser with local HTML file browsable using the Webbroser control

Hi, We developed a SL4 application wich feature also an integrated online help. This help is built as HTML files containing links to each other and shown in the Webbrowser control just within the application. Everything works just perfect when running the app inside the browser. Now we also need to support out-of-browser. So far no pro...

[Silverlight] Storyboard in custom control

Hi all, I have an usercontrol in silverlight that I'm trying to convert to custom control. The usercontrol is working. The customcontrol is working BUT has its storyboard not working. the control is : public class MyControl : Control { public MyControl() { DefaultStyleKey = typeof(MyControl); } public static r...

click on map control makes a crash

hi all, I need your help :-) I'm developping a windows phone 7 application. In this application, I have a Pivot Control. In this Pivot Control, I've PivotItem (of course ^^). In one of those pivot item I have a map control. So here is the hierarchy in XAML : <Grid x:Name="LayoutRoot" Background="Transparent"> <!--Pivot Control-...

Problem Styling SL Toolkit Accordion with Jetpack Theme

I am trying to use the newly released Jetpack theme for a Silverlight 4 application. TabControl and buttons style nicely, but I cannot get the Accordion control to pick up the Jetpack style. I have created a default 'Silverlight Navigation (JetPack Theme)' VS project and added the following definitions to the XAML file xmlns:sdk="http:...