How to delete a row from WPF listview datasource (Typed DataTable)
I want to delete a row from a WPF ListView (lstvParts) that is selected and it's itemsSource row which is a typed dataTable (parts).I have tried:parts.Rows.RemoveAt(lstvParts.SelectedIndex)Can anyone...
View ArticleRandom hang-up when showing a dialog on a touchscreen on Win8
Hello,We are developing an application with VS2010, C#, WPF and NET Framework 4.0.The application is having random hang-ups after showing a dialog. This problem only happens on Win8 and with a...
View ArticleChange button color
HI ,There is a way to change the button color when hoover over it.for example assume that the button color is red and when you go with the mouse over itthe color is changing to blue.Thanks,Miley
View ArticleHow to take selected row's controls of listivew
Hi, When i select any one row in WPF-Listview, i want to access particular control, so can any one tell me how to get selected row's controls using helper class, please provide with example.
View ArticleExcel 2013 Task Pane UI
Hi All, I am developing a VSTO add-in and I want my custom task pane to have a look & feel like Excel 2013. So there are couple of things to consider: 1. Task Pane Tab i-e Shape options and Text...
View Articledatabinding datagrid's comboboxes and textboxes to staticresource list
Hi, I've created a WPF vb.net form containing datagrid. Inside of datagrid I have two comboboxes and two textboxes, one combobox textbox pair for articles and another one for services. I should bind...
View ArticleWhat Efficient way to detect a pixel delta touch mouve
Dear all,I have a scenario where I need to know how many pixel a user as moved is finger in a vertical position. What is the best approach to get this information ?The tricky part is that I need to...
View ArticleGetting a ResourceDictionary of Brushes into an ItemsList
I have a number of XAML `Brush` objects defined in my project. Some are relatively detailed. Right now they're all located in Application.xaml, like so: <Application.Resources>...
View ArticleLocate and edit row in Acces Database Table throws "Object Reference not set...
I save data in an Access Database table named TraiteTravail, with it primary key field namedid and want to edit a specific row, but I get this: """An unhandled exception of type...
View ArticleCannot Start Animation from trigger in controltemplate where target is on...
I'm facing with this problem,I defined a custom usercontrol class which contains a controltemplate defined in XAML : this is the class:public class Master : Control { static Master() {...
View ArticleHow to free an IntPtr?
i have following Situation. I'm working on an application, which will Display every Icon inside an arbitrary file. my Problem is , that the application will run out of Memory after i open to much...
View ArticleCheck the source of the drag item
HI I'm using D&D functionality which give you the option to drag text from list box to text box,the problem is that I don't want to allow to drag from text box to other text box ,how can I...
View ArticleMy WPF app when installed says it's running, but I don't see the main window
Now this all his happening because I'm using install shield. It works fine with my click-once web installation, but I'm required to make an MSI. I'm using vs2013, so I'm using that install shield...
View Articled:DesignData isn't recognized in VS2012 WPF project
I have a fairly simple WPF project that I just started in VS 2012. I wanted some design-time data, so I tried adding The following code snippet to both my window and the base grid elements in my...
View ArticleWPF and log4net troubles when Debug Info not Full.
I had posted a problem here tfs 2013 build issues with log4netThey suggested I post here as after further investigation it does seem to be a WPF issue.I am using Visual Studio 2013, .net framework 4.5,...
View Articlecolor code
i am writing simple wpf app, which contains 3 eclipses, and in the background it it calls 3 different functions.Each function return true or false. Based on the return values corresponding eclipse...
View ArticleXaml can be seperated from the resource?
HiCan anyone who is the expert of WPF give me hint about the following issue?We want to make a WPF application because we need to modify the GUI on site as per requirement from customerso we want to...
View ArticleWPF Application Location
Hi,I have a bar application. My problem is, I don't know how to set its location on Center Left screen by choosing in a menu item. I have already the top left, center and right.Furthermore, I'd like...
View ArticleWPF DataGrid Grouped Data gets messy after update to last columns!
Hello,I have a datagrid on a page. It has about 20 columns. When the user groups the data and edits any column after column 11 it all gets messed up. Here is a pic of what it looks like after the...
View ArticleWidth-Height of control - please help?
In my WPF desktop application, I have two UserControls. Both have a canvas which contains a chart. I am placing these two UserControls in a StackPanel within another UserControl.I want the width of...
View Article