How do I use listbox controls to display child data and the associated lookups?
I've got a WPF window bound to a parent table. The parent table has a primary key comprised of ClientNumber and CaseNumber. Associated with the parent table is another table, called Problems. It has a...
View ArticleImporting / generating / modifying Word documents in WPF application?
Hello all. As the title suggests, I'm interested in adding some loading and editing functionality for Word documents within a WPF application. I suspect (hope) Microsoft offers something out there that...
View ArticleSelfmade chart
Hi, I need to create a chart with specific nods behaviour. It's should groups particular way and provide rich context help. So, the WPF Toolkit is a powerful thing, but not suitable to me like other...
View ArticleMicrosoft TechNet Wiki Guru - Winners for August!!
The results for August's TechNet Guru competition have been posted!http://blogs.technet.com/b/wikininjas/archive/2013/09/11/technet-guru-awards-august-2013.aspx Congratulations to all our new Gurus for...
View Articledatepicker problems?
please how can substruct two datepickers for example (datepicker1 - datepicker2) ?how can i calculate total price(txt_total.Text) by Multiplying the result of the subtruction of the two datepickers and...
View Articleextension function return wrong confirm button when too many data can not...
refer from http://social.msdn.microsoft.com/Forums/vstudio/en-US/85fe1e60-f369-41cc-918f-e0839cc839ce/how-to-enable-button-in-specified-cell-for-datagrid-programmaticallyinsert and edit the confirm...
View ArticleUnhandled exception in PenThreadWorker
Our WPF application experiences random crashes when run on a machine that is configured with a Perceptive Pixels touch display. These exceptions occur during times when the touch device is not being...
View ArticleHow does binding xpath=... work to wire up data from a source data page to...
I have been working on a WPF walkthrough tutorial athttp://msdn.microsoft.com/en-us/library/ms752299.aspxI don't understand how the ExpenseReportPage reads data from the ExpenseItHome page. The source...
View ArticleExpression Blend 2012 and Vs 2012
Hello,I've got opened at the same time my solution for both applications.When I create an UserControl or just a XAML view from VS 2012 and then I gonna back Blend, I cannot see how can I refresh the...
View ArticleImage control combined with BitmapSource can't display some big images
I have developed a full-trust browser hosted application to display images contained in a specific folder. This application uses only classes from System.Windows.Media.Imaging namespace.I have some big...
View ArticlePassword Box Binding Helper
use like that:<PasswordBox ui:PasswordHelper.Password="{Binding Password,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />usefull:public static class PasswordHelper { public static readonly...
View Article2 related combo in DataGrid WPF MVVM
Dears,i want to know how can i implement 2 related comboboxes in a datagrid in mvvm pattern,something like that lets say i have a combobox binded to countries and another is binded to cities,i want to...
View ArticleWPF UserControl flickering when moving mouse outside during command processing
I have written a WPF UserControl (let's called it ContainerUserControl), inside it it uses other UserControl (let's call it OstUserControl) which I build from another project. Within the...
View ArticleConfusing " openFileDialog.FileOk += openFileDialogFileOk;" statement
In the following example I'm confused about what is occurring with the highlighted statement. Everything works fine but I just don't get what is going on here with the compound assignment.Thanks for...
View ArticleObservableCollection replace item SelectedIndex bug when bound to DataGrid
It seems that when an item in an ObservableCollection is replaced, the SelectedIndex of the bound DataGrid is set to -1.//Here SelectedIndex is 4 obColl[4] = newItem; //Here SelectedIndex is -1Someone...
View ArticleListbox Mouseover selected item... in MVVM WPF
Hi Guyz,I have a listbox with control template modified to display delete button for each listboxitem. In MVVM i need to bind this button to viewModel which is pretty easy but how do i detect which...
View ArticleCan anyone give me the sample code for Treeview c# wpf program?
I am developing a c# wpf application.It needs a treeview to display the names of students according to their courses.For Example i have 10 courses(1-10 courses) and i have database with the student...
View ArticleLegacy VB6 application keeps less memory than WPF
Hi,I want to know why legacy vb6 application keeps low memory than WPF.When i run vb6 application, it takes 22mb of memory, while WPF application takes 50 mb.So I want to know reason behind...
View ArticleMany to Many (Students , classes example) DataGridComboBoxColumn binding...
I have a WPF / entity framework application, my model have student , class entities there is a many to many association/relation between student and class (student can have many classes and class have...
View ArticleWPF Serialization with Multibinding
Hi friends,I have very confused to Serialize the control tooltip with multibinding. Initially Binding did not work while serialize the Button control , then i have searched some blogs and finally found...
View Article