MediaElement high cpu
I'm facing an increase on cpu usage when using MediaElement. The weird is that in one screen I use 4 small MediaElements and the cpu doesn't increase.When I move to another screen where MediaElement is...
View ArticleWPF Bitmap image constructor Error IE10
As We installed IE10 on windows 7 SP1 we started to get error while we are creating bit map image by passing URI to constructor. Below is stack trace of error.{System.IO.FileNotFoundException: The...
View ArticleIn WPF, how do you bind a ComboBox to an observable collection and selected...
In my VM I have an observable collection of strings. This is bound to the ComboBox's ItemsSource and this works just fine, the ComboBox's dropdown list is populated with the string. However, I'm not...
View ArticleDatagrid template column combobox background is always grey... How can I...
Hello..I have a datagrid and one of the columns has a combobox inside a template. I really don't like the background color of the combobox but can't change it!! Here is my code:<!--Vehiculo...
View ArticleChanging the value in a DataGridComboBox doesn't save
I'm working with the DataGridComboBox for the first time, and found some odd behavior. I'm using entity framework as the source. It is binding fine to the backend data and displaying it fine. I...
View ArticleHeaderTarget?? I lose my key strings in MenuItem..
hi there,When I run my app I don't see the value for the key resources instead of that I see just the name of the key:By default the contents of my resources keys are not found...I suffered one similar...
View ArticleCan't read the tag
Hi, I have Combobox with the city names. In Tag of each ComboboxItem I store the index to read it after selection made.I'm using this code:Dim TempItem As New ComboBoxItem TempItem = City.SelectedItem...
View ArticleFrame control load new copy of page every time
Hello,I have a problem with my WPF app. I use listbox with items which is pages names and frame with pages. I have few huge pages (near 20-25 MB in memory after loading) and when I switch between pages...
View ArticleListbox Scrolling bug.
I came across this crazy scrolling bug in wpf. Please fix this issue or let me know where I can log this bug.http://screencast.com/t/5t25NJPaci0Here is the reproduction...
View ArticleWPF datagrid - database not updating after cell change
(the underlines are for my benefit only. It's hard to keep the data-thingy's straight)I cannot get the database to update after a cell changed in a wpf datagrid. Can someone tell me what I'm doing...
View ArticleHelp Creating a Custom Splash Screen?...
Hi,Need help trying to get my custom splash screen working based on this example from Channel 9 "Improving perceived WPF app startup performance with MEF and a Splash Screen".I can't get any of the...
View ArticleIn Prism/Unity/MVVM regions, how to display a region's controls in a 'stack...
I'd like to define a region in such a manner as to allow it to contain multiple views but only display one view at a time. In CAB, this would have been done using a stack of cards container....
View ArticleRow in GridView (of a ListView) won't select when a GridViewColumn that has...
I have a ListView with GridViewColumns. One of the GridViewColumns is templated out (CellTemplate = ...). I placed a simple TextBox there (via a DataTemplate). However, if I click on the TextBox, the...
View ArticleWPF Treeview : Get a notification everytime a Treeviewitem is clicked.
In a TreeView , the SelectionChangedEvent fires only when the selected item in the Treeview changes. I have a requirement that even if the user clicks on the same TreeViewItem multiple times , an event...
View ArticleXBAP Deployment
hi all,thanks in advancei have a problem with deployment of XBAP application as i am newbie in XBAP.We have Web Application developed in XBAP. we want to deploy it one of our server, and accessed it...
View ArticleDoes Multi-core JIT works on WPF(.NET 4.5)?
My PC's configurations: Windows 7 Pro 64 Bits, CPU is XEON E3 1225 and 8GB RamAfter I run the following codes in public App(), the Profile Root folder doesn't appear and the Profile File...
View ArticleNullReferenceException in Window.Show
Hi,when starting-up my WPF application a splash screen in a separate thread is shown. Calling 'splash.Show()' (see code below) sometimes causes a NullReferenceException (see stack trace below). This...
View ArticleWPF app fails to start second time ?
We have a WPF app with about 400 users. One user, who has a high end machine ( 2 gig of RAM, good video card, etc ), reports that if he starts the app on boot, closes it and restarts it, it blows up....
View ArticleStackoverflow exception when adding row to datatable
I'm getting a stackoverflow trying to add one row to a datatable bound to a WPF datagrid. Code:Private Sub Fill_XXX_Datagrid(sFillSQL As String) Dim Management = New DatabaseManagement()...
View ArticleRemoving the sign from a double when displayed in a textblock
Is there any format string in the StringFormat property which can be used to remove the sign from a double when it is displayed in a TextBlock e.g.<TextBlock Binding="{Binding SomeProp,...
View Article