silverlight-toolkit

Where is Silverlight 5 Developer runtime?

≡放荡痞女 提交于 2021-02-18 08:28:14
问题 On our web server I'm trying to install WCF RIA V1 SP2. When I try to install, it prompts me to install "Silverlight 5 Developer Runtime" first. I have already installed "Silverlight 5 Runtime" (Not developer) and Silverlight 5 SDK on the server. So I am searching for Silverlight 5 Developer Runtime, and I could not find any link to download it on Microsoft Web Site. On Stackoverflow, there are similar questions and links are provided. But those links are direct download link, and some are

ItemsSource vs DataContext in binding case

时光总嘲笑我的痴心妄想 提交于 2021-01-21 03:53:33
问题 My main question is about binding case in the scene that we have multiple sources for a control(a combobox inside a datagrid)(or having both datacontext and itemssource). Then how can we know which source the binding will use? (any syntax to clarify that) Assuming a datagrid has an itemssource="List of Players" datacontext="Manager" , and has a combobox as a kind of column. We also assume that each player has an Inventory property which is a collection type. then inside the datagrid.columns:

How to set WrapPanel itemsource to list?

我的未来我决定 提交于 2020-01-29 02:52:22
问题 I want to show in WrapPanel a list of images. How can I do that or maybe I shall use other control ? 回答1: You can absolutely use the WrapPanel to show a list of images, scrolling vertically or horizontally. To get the kind of panoramic tile effect like in People hub with your images, you could do something like this: <controls:PanoramaItem Header="something" Orientation="Horizontal" Margin="0,-15,0,0" > <ListBox Name="SomeList" Margin="0,0,-12,0" ItemsSource="{Binding SomeItemsList}" >

ListBox does not highlight generated items(itemsSource) works fine for ListBoxItems aded during design

独自空忆成欢 提交于 2020-01-16 07:18:10
问题 I have a ListBox in a popup. It’s bound to a simple Dictionary. I also have a ItemContainerStyle to theme listbox highlights. If I add ListBoxItems at design time, the selection style works, but the same style does not work when I assign ItemsSource. To troubleshoot I stripped it to barebones, and problem persists. Below is the code I have, Launch it, and click on ShowPopup to open Popup, first you will see items added in design time, and if you click on “Add ItemsSource” it will show run

Windows Phone Toolkit How to get full Popup ListPicker?

核能气质少年 提交于 2020-01-06 02:22:24
问题 I am wondering how do you make it so the list picker goes to a separate screen when clicked on? I tried <toolkit:ListPicker Margin="155,109,179,0" VerticalAlignment="Top" ItemTemplate="{StaticResource PriceTypesTemplate1}" ItemsSource="{Binding PriceTypes}" FullModeItemTemplate="{StaticResource PickerFullModeItemTemplate}"/> But that crashes the app saying it can't find PickerFullModeItemTemplate 回答1: Did you provide a ressource named PickerFullModeItemTemplate ? Your code specify two

Silverlight Toolkit Modifying October 2009 Source

↘锁芯ラ 提交于 2020-01-05 03:44:09
问题 I have some changes I need to make to the Silverlight toolkit Charting source I downloaded the Silverlight toolkit ... unzipped the source to a new directory Added the Controls.DataVisualization.Toolkit.csproj Project to my Solution Removed The reference in my silverlight application to System.Windows.Controls.DataVisualization.Toolkit and Added A project Reference to The Controls.DataVisualization.Toolkit.csproj Project I then changed the Legend.xaml to <Style TargetType="datavis:Legend">

Colour selection of Silverlight Toolkit Chart Line Series

喜夏-厌秋 提交于 2020-01-04 02:22:12
问题 I'm working with the Silverlight 4 toolkit and using the Charting control, specifically the Line Series. I'm also using one of the Microsoft Silverlight themes, which comes with some default styling for the Chart. I know that in the ToolkitStyles.xaml there's a whole host of colour brushes that get used by the charting toolkit - ChartBrush1, ChartBrush2 etc. etc.. What I don't understand is how they get used by the chart itself. The reason I'm asking this is because I'm trying to change the

Silverlight/WPF charting toolkit. Can I change frequency of tick marks on CategoryAxis?

情到浓时终转凉″ 提交于 2020-01-04 02:09:27
问题 There is Interval property on LinearAxis but none on CategoryAxis. I need to control frequency of tick marks on X axis. The native logic does so many marks that I cant read even if I stretch the chart across 3 wide monitors!! 回答1: A couple of suggestions... 1.) CategoryAxis has a AxisLabelStyle property which you can use to set in a Style with a smaller FontSize, or a more condensed FontFamily 2.) CategoryAxis also has MajorTickMarkStyle which you can use to set the Line Stroke brush or

Prevent DataGridDragDropTarget from Showing “Drag Shadow”

我的梦境 提交于 2020-01-03 02:26:08
问题 Is it possible to prevent the Silverlight Toolkit DataGridDragDropTarget from starting a drag-action? What I whant is to use one DataGrid only as DragSource and another one only as DropTarget. And the DropTarget-only-DataGrid should not show this "StartDragShadow" when pressing and moving the mouse over an item. 回答1: Just set the AllowedSourceEffects attribute of the toolkit:DataGridDragDropTarget control to "None" : <toolkit:DataGridDragDropTarget AllowDrop="true" AllowedSourceEffects="None"

how to add context menu to WebBrowser wp7?

一个人想着一个人 提交于 2020-01-01 18:27:27
问题 Is it possible to add Context Menu to WebBrowser in WP7?(like IE) silverlight toolkit Context Menu not support WebBrowser!!! 回答1: The WebBrowser does not support context menus and doesn't function like other Silverlight controls. Therefore, it's not possible to directly add a ContextMenu. However, there are workarounds possible. One of them is to use the InvokeScript method. You should read this thread. Apparently the code at the bottom of the thread works. Note: GINternet is the WebBrowser