toolkit

Allow a user to create a line series on a wpf chart by clicking on the chart

江枫思渺然 提交于 2019-12-06 12:45:59
问题 I have a WPF chart currently displaying an Area series. I need to allow a user the ability to click on the chart and add a new point for a Line series. The problem I'm having is I can't seem to find a way to convert the point from a MouseButtonEventArgs to a LineDataPoint. private void chtPowerFlowMap_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { Point p = e.GetPosition(chtPowerFlowMap); points.Add(p); //Issue here is this will return a point in screen coordinates and

WPF Toolkit doesn't get displayed in the toolbox

折月煮酒 提交于 2019-12-06 11:17:26
I installed the wpftoolkit.msi and added a reference to it, but it doesn't get dipslayed in the toolbox, is there anything else that needs to be done? I followed the instructions from the code plex site , I can access some of the controls from code, only a few, I added WPFToolkit as a reference, does any other reference need to be added for the chart controls and so that they can be accessed from the toolbox? EDIT: I added all dlls in the folder and still cannot access the chart control. Answer: I provided an answer bellow you neeed to include a different namespace for the charts the default

syntax error: identifier 'DXGI_RGBA in file dxgi1_2.h

送分小仙女□ 提交于 2019-12-06 05:03:56
Trying to integrate the Directx toolkit into my game. I followed the steps here: https://github.com/Microsoft/DirectXTK/wiki/Adding-the-DirectX-Tool-Kit and everything went great. When trying to include one of the headers (SpriteFont.h) I get these errors : I've refactored the project to 8.1 to match my game, and rebuilt the imported project and it works great. It's when rebuilding my project that I get these error. (I've already made sure windows.h is being included before my directx headers. Help! More than likely you are mixing the legacy DirectX SDK headers with the Windows 8.x SDK headers

Extended WPF Toolkit RichTextBox display text vertically

馋奶兔 提交于 2019-12-06 03:03:15
I'm trying to bind a rich content (RTF format) to a rich text box (of Extended WPF Toolkit) via its Text property like this <extToolkit:RichTextBox x:Name="rtbKIContent" Margin="8,8,8,8" IsEnabled="{Binding IsEditable}" Text="{Binding Content}"> <extToolkit:RichTextBox.TextFormatter> <extToolkit:RtfFormatter></extToolkit:RtfFormatter> </extToolkit:RichTextBox.TextFormatter> <extToolkit:RichTextBoxFormatBarManager.FormatBar> <extToolkit:RichTextBoxFormatBar /> </extToolkit:RichTextBoxFormatBarManager.FormatBar> </extToolkit:RichTextBox> Sometimes it works just fine, but there are circumstances

Custom collection crashes DataGrid on Edit

微笑、不失礼 提交于 2019-12-06 01:27:12
问题 Im currently trying to bind the DataGrid.ItemsSource to a custom RowCollection, which implements IList and INotifyCollectionChanged: Public Class RowCollection(of T) Implements IList(Of T) Implements INotifyCollectionChanged Private _List As New List(Of T) ... (Sorry for the VB code, I'll be translating all my code to C# soon.) Notice the class does not derive from any existing CLR collection. I created my own class because I need to override GetItemAt, in order to implement record paging.

Eclipse/Nsight (7.0) and C++11 support

给你一囗甜甜゛ 提交于 2019-12-06 00:34:27
TL;DR: How can I persuade Nsight that I'm using C++11? In other words, where do I set the relevant discovery options? Building with -std=c++11 is working, even from within Eclipse. I'm talking about the Indexer having troubles with defines. Longer version: C++11 functions are marked as unresolved in the Nsight editor, because the __cplusplus define is 199711L, instead of something >= 201103L. When I made the project, in Project Properties > Build > Discovery Options the Automate discovery of Path and Symbols option was checked for every language and every Build Configuration. There was a note

WPF toolkit charting : Customize datapoint label

陌路散爱 提交于 2019-12-05 14:05:48
I have create a simple LineSeries chart using WPF toolkit. By default, on mouse over a datapoint, it display a label with YAxis value. (if I put my mouse on the X=3,Y=45 datapoint, it will display a label with "45" inside) I want to change this default behavior to display both X and Y axis value. (if I put my mouse on the X=3,Y=45 datapoint, it will display a label with "3, 45" inside) If somebody have a suggestion, it could be great ! Thank you and best regards, PY Here you can find the XAML style of a LineSeries DataPoint and by default the tooltip is defined as <ToolTipService.ToolTip>

What are prime commercial choices for iPhone game development kits/platforms?

家住魔仙堡 提交于 2019-12-05 06:00:51
问题 I'm looking to get into (as everyone else) the iPhone game development business. I've been programming for a while but have only recently forayed into the Mac development world, although since I've been working with Java for a while learning Objective-C wasn't that big of a deal other than learning memory allocation. From this, you can safely assume I am not looking for a "teach me basic programming" engine, I want a fully fleshed out engine that can create commercial quality games. Some of

Allow a user to create a line series on a wpf chart by clicking on the chart

穿精又带淫゛_ 提交于 2019-12-04 19:01:44
I have a WPF chart currently displaying an Area series. I need to allow a user the ability to click on the chart and add a new point for a Line series. The problem I'm having is I can't seem to find a way to convert the point from a MouseButtonEventArgs to a LineDataPoint. private void chtPowerFlowMap_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { Point p = e.GetPosition(chtPowerFlowMap); points.Add(p); //Issue here is this will return a point in screen coordinates and not in chart coordinates ls.ItemsSource = points; //ls is an existing lineseries and points is a List

Extendscript Toolkit debugger fails: Can't start debug session

拜拜、爱过 提交于 2019-12-04 17:34:36
问题 Not a programming problem per se, but rather a programming environment problem that I have been unable to find a solution to. The problem relates to Adobe's Extendscript Toolkit (both 3.5 and 4), but so far I haven't been able to solve the problem, so here I am... The error I get has appeared more or less over night. I didn't experience this problem yesterday, nor this morning. But exactly WHAT has happened is beyond me. I have removed preferences, I have uninstalled, reinstalled, created a