WPF datagrid filter doesn't work dosen't work
Greetings,I'm trying to have a WPF data grid results filtered and I can't get it to work. The filter event never fires and all the rows remain. <DockPanel.Resources>...
View ArticleConfusing Question About MVVM and Window Closing Event (Setting Cancel to...
Strictly adhering to MVVM, I'd like to cancel the closing of a window when the user clicks the "X" or standard Windows close button.The ViewModel is as follows:private...
View ArticleAbout WPF DataGrid in .net4 (decompiling)
I'm currently working on a company complex code base that use the WPF datagrid. The code is totally coupled to the .net 4 wpf datagrid. I need to implement a transpose feature on this datagrid and...
View ArticleHow to change new row placeholder template in DataGrid when CanUserAddRows=true?
I'm using a WPF DataGrid bound to an ObservableCollection<T> where each row (aka instance of T) contains a browse and a delete button that are bound as commands to methods of T.The problem is...
View ArticleWPF menu mouse over issue
HI,I have menu which automatically takes default border when I do Mouse over. I don't want that gray border on mouse over. How would I do that?Here is code: <Grid> <Menu...
View ArticleConvertBack Problem Binding RadioButtons to an Enum
I'm trying to bind radio buttons to an Enum in WPF 4.0. I don't wish to use the RadioButtons-in-ListBox approach, because, for example, I would like it to work with a nullable Enum with an initial...
View ArticlePulling in a WPF Window from Another WPF Project
Synopsys: I have a WPF class project that defines a <Window> in the xaml. I need to make few if any changes here, and it must stay a class project.I want to start the class library above as a...
View ArticleStoryboard.Completed firing incorrectly?
I'm using visual states to control a block of text, and I'm having difficulty trapping when the storyboard is completed.What I want to do is change the text contents when (and only when) the text is...
View Article"Unable to cast transparent proxy to type" error when calling a third-party...
I'm calling some code from a third-party dll (an interface to an add-in from a partner company that we work with) from my own powerpoint add-in.They have provided a sample solution where the following...
View ArticleIntraViewModel Communication
I'm fairly new to MVVM and can follow it, but have problems tackling problems that stray from the books and tutorials I've read.Is there a source that covers more involved apps?Where I'm stuck is...
View ArticleWPF Listbox with grouping doesn't update group subtotals on addition of new...
Hi, I have a Listbox that is based on the sorting/grouping example as demonstrated on this page. Everything works fine including adding (except the very first item) and removing items through...
View ArticleManipulate DockPanel or some "Panel"
Hi everyoneI've been developing an application (in XAML with C#) with a left menu, like Outlook Office 2007.I declared a TabControl with its TabItem (there are 3 TabItems) in the XAML code.I want to...
View ArticleOpening issue with CustomWindow in wpf.
Hi All, I am developing an application in WPF , in that I made some custom windows. The issue is with opening custom windows ,when we open any custom window it opens at top left most panel of...
View ArticleHow to access child control of template in code behind ?
Hi All, I am using button template in resource dictionary and this template key access in button i want to child control access in code behind (.cs) such as: Template in...
View ArticleWPF app with resize property will crash in Windows 8 OS (0x88980406 )
Dear All Can you help to analysis this issue?WPF app with resize property will crash in Windows 8 OS (0x88980406 )<<Reproduce Step >>Create a Dialog based WPF application with...
View ArticleHow to create menu bar style ?
Hi all, How to create single style for menu bar and sub menu bar items. Thanksaniruddha
View ArticleWPF 4 touch, AutomationPeer, Windows 7 Tablet Input Services memory leak?
Hi,I am creating a WPF 4 touch application and was doing memory profiling for my app with ANTS memory profiler and found that the AutomationPeer feature is holding on and not releasing my...
View ArticleHow to images use in menu bar items ?
Hi all, I want to use images in menu bar items by using converter class for get image source. according to upload image. Thanks aniruddha
View ArticleJSON parsing
Hi, This is json result which got from api, can anybody tell me how i deserialize it and bind to Listbox { "api": "getplayerlist", "status": "success", "message": "Player Details",...
View ArticleHow to findout is there any data change in my Page?
Hi all, I need to find-out is there any change in my page when Clicking Exit Button?Here i have solution, but its not 100% perfect, so that i am expecting some other solutions.so i have used...
View Article