toolkit

how to get string value entered in numericupdown silverlight control?

心已入冬 提交于 2019-12-02 04:21:23
I am using silver-light numeric up-down control. Control is set for decimal numbers. Maximum limit 28 and minimum limit is -28 Increment steps are 0.25 using this control in dutch culture so it accept value in the form 1,2 and converts it in to 1.2 3,5 and converts it in to 3.5 10,3 and converts it in to 10.3 27,5 and converts it in to 27.5 Now my issue is that when try to enter value 1.2 it converts it into 12,00 ( I want 1.2 should reflect to 1,2 ) How do I achieve it? or How do I get string value entered in the NumeriCupDown control as string. so I can act on string as I want? I tried using

Using Datagrid within RowDetailsTemplate of another Datagrid

ぃ、小莉子 提交于 2019-12-02 01:56:48
问题 I would like to use a DataGrid within the RowDetailsTempalte of another Datagrid. This inner Datagrid should have its columns bound to a property of the current object in the outer Datagrid. For example, if the outer Datagrid is displaying all contacts by first name and last name, if I select a row I should be able to see another Datagrid containing all phone numbers associated with that contact. What I am most interested in is how the data of the inner Datagrid binds to the data of the outer

Using Datagrid within RowDetailsTemplate of another Datagrid

余生颓废 提交于 2019-12-01 21:25:00
I would like to use a DataGrid within the RowDetailsTempalte of another Datagrid. This inner Datagrid should have its columns bound to a property of the current object in the outer Datagrid. For example, if the outer Datagrid is displaying all contacts by first name and last name, if I select a row I should be able to see another Datagrid containing all phone numbers associated with that contact. What I am most interested in is how the data of the inner Datagrid binds to the data of the outer Datagrid. Here is some XAML that I have so far to start with: <data:DataGrid MinHeight="700" x:Name=

WPF Toolkit DataGrid Checkbox Issues

随声附和 提交于 2019-12-01 09:31:24
I'm really hoping someone can help me out here. I have a DataGrid in my program that has a checkbox column. The ItemsSource for the DataGrid is a DataSet loaded programmatically. When I select a couple of items in the DataGrid and then scroll it, I get some very odd behavior. For example, when I check two of the CheckBoxes, it tells me that I have "2 selected", but then if I scroll up or down in the DataGrid, the number changes. If I scroll back to the initial position it goes back to the "2 selected". As odd as it sounds, it seems like it's calling the Checked/Unchecked events when I scroll

WPF Toolkit DataGrid Checkbox Issues

筅森魡賤 提交于 2019-12-01 07:59:41
问题 I'm really hoping someone can help me out here. I have a DataGrid in my program that has a checkbox column. The ItemsSource for the DataGrid is a DataSet loaded programmatically. When I select a couple of items in the DataGrid and then scroll it, I get some very odd behavior. For example, when I check two of the CheckBoxes, it tells me that I have "2 selected", but then if I scroll up or down in the DataGrid, the number changes. If I scroll back to the initial position it goes back to the "2

API vs Toolkit vs Framework vs Library

风格不统一 提交于 2019-11-29 03:59:19
My question is very simple, and I want a clear answer with a simple example. What's the main difference between API, Toolkit, Framework, and Library? This has always been my understanding, you will no doubt see differing opinions on the subject: API (Application Programming Interface) - Allows you to use code in an already functional application in a stand-alone fasion. Framework - Code that gives you base classes and interfaces for a certain task/application type, usually in the form of a design pattern. (Though not always) Library - Related code that can be swapped in and out at will to

Change Silverlight Chart Legend Item Layout

强颜欢笑 提交于 2019-11-29 03:53:37
I am working on customizing the layout of a Silverlight Toolkit Chart. I have two requirements: 1) Move the Legend area to the bottom of the chart (solved). 2) change the layout of elements within the legend to be displayed next to each other, ie. {legend 1},{legend 2},{legend 3}, rather than the default column format. 1) was easy to solve with a ControlTemplate (see below). 2) How do I change the layout of legend items? Can it be done by further customizing the Chart's ControlTemplate, or does the Legend need its own ControlTemplate? The Chart itself is defined as: <chartingToolkit:Chart Name

Dojo and unregistering widgets

淺唱寂寞╮ 提交于 2019-11-28 19:13:13
I am new to the Dojo Toolkit. I'm getting the error Tried to register widget with id=myButton but that id is already registered whenever I try to load dojo content twice (meaning I load HTML content through jQuery.Load into a container div). Is there a way of unregistering already registered widgets in dojo? I've seen some examples, but I don't really get them working. My button: <button dojoType="dijit.form.Button" id="myButton">button</button> Jez If you're looking to unregister specific widgets, you can use their destroy() or destroyRecursive() methods. The second one destroys any widgets

How can I make something like this? (Tiles inside the app) Windows phone

ε祈祈猫儿з 提交于 2019-11-28 17:57:06
I'm sorry if the question title wasnt clear, but I'm trying to make something like this, I dunno if they are tiles or images inside a WrapControl: I was thinking of making such thing with a wrap panel and each one of those blocks as a stackpanel. but I'm not sure if thats the right approach. is there a control to do such thing? Justin XL You are on the right track. WrapPanel is the way to go :) To make each block more interesting, you can take a look at the HubTile control from the latest windows phone toolkit . Whatever controls/panels you are using, just remember the size should be 173*173.

MVVM Light Toolkit samples [closed]

家住魔仙堡 提交于 2019-11-28 16:03:36
Does anyone know opensource WPF applications created using MVVM Light Toolkit? Or any samples? Well I wrote a note taking app using mvvm light, if you wanna check the code: ApuntaNotas It's true that MVVM Light is lacking of big examples... We need to create that examples :) There are not many public applications using the MVVM Light Toolkit. I know a few applications that use it, but I cannot always talk about it unfortunately. Probably it is just too new. I am currently very busy writing a Silverlight book, but my plan is, as soon as I will be done writing, to create a reference application