Exception when getting an Instance of the ModuleManager
I've been trying to write a WPF application using PRISM and MEF and I've been able to get the Shell up and running. I want to be able to load Modules on demand so I need an instance of IModuleManager...
View ArticleCanvas Horizontal Line Background is antialiased
Hello together,I have a Problem using a VisualBrush Tile Background on a Canvas. I want to draw horizontal and vertical helplines in black Color. But all the time, the lines are antialiased (the...
View ArticleWinFormsHost DataGridView rendering problems in WPF .NET 4.0
Hello,I have a windows forms datagrid hosted in a WPF application using the windows form host. I originally wrote my application using .NET 3.5/VS2008 and everything worked very well. When I upgraded...
View ArticleWhich IDE should I now use to develop a .Net Web App ?
HiI work in IT but I only have time to learn how to program at home - when I get chance to. So far I've been learning how to program in c# using MS Visual Studio 2010/2012.I've heard of ASP, WPF,...
View ArticleHow to avoid flickering in WPF datagrid while calling Grid.Items.Refresh()
Hi, I have a WPF datagrid with checkbox column, I am getting flickering issue in datagrid while refreshing the datagrid usingGrid.Items.Refresh(),How can i avoid this issue? Thanks in...
View Articlehow cascading filling comboboxes in datagrid(wpf) with datatable and dataset
I have three tables in sql server statesincountries(countryid, stateid) countries(countryid,countryname) states(stateid,statename) correspondingly three tables in dataset created in C#(WPF). the data...
View ArticleMake start a storyboard on a event from ViewModel (MVVM)
I have a storyboard that should start anytime a certain event - from another object - is called.So far, I solved using a trick like this<DataTrigger Binding="{Binding IsUpdating}"...
View ArticleMVVM Entity Data Model. How to change EDM DB connection parameters at runtime
hi,I created a MVVM project with a EntityDataModel (MyDataModel.edmx) and a related DataContext (MyDataContext), bound to a given DB schema. The resulting connection string in App.config is the...
View Articlerefresh datagrid items without losing selected row - XAML
I have two datagrid's ( Master/detaiL). I refresh my window using DispatcherTimer for every 5 secs. when I select any row on my Master grid, the focus on the selected row stays only for those 5 secs,...
View ArticleXML-Bound Controls not Refreshing
I have a WPF application with various controls, both native and UserControls, bound to an XML object. Here is a snippet of the XAML.<Window.Resources><XmlDataProvider x:Name="MyData"...
View ArticleWPF Widnow not visible when Show after multiple Hide/Show
.Net 3.5 sp1I have a wpf window which after 3000 Hide and show is not visible after invoking Show. The logic is executed - but it just isnt visible.Anybody knows the reason - should hotfixes described...
View ArticleHow GP knows when to apply
Can someone tell me how Group Policy knows when to get applied? If I make a ploicy to install Java and test it, it works,. But then if I manually uninstall Java and run it again, it does not install....
View ArticleLookup value using data binding relation in DataGrid
I have a dataGrid which is bound to a contact table. The contact table has an ID value (integer) but the company name is stored in a second parent table called company. As it is a parent relation it...
View ArticleHow to get at a TextBox when user clicks an Image?
I have a pretty simple test app, here is the XAML that is relevant:<DataTemplate><StackPanel Orientation="Horizontal" Tap="StackPanel_Tap_1"><Image Source="{Binding Path=IconURL}"...
View ArticleExtra column will be shown in default WPF customized data grid
I have developed the customized data grid,that grid last column is showing empty always.how can i resolve the issue.please find the screen short.
View ArticleAdd controls with XML data
I have a user control that I have in a StackPanel within my MainWindow and I want to add X number of these controls using an XML file.<StackPanel DataContext="{Binding Source={StaticResource...
View ArticleCustom ValidationRule throws ArgumentOutOfRangeException
Hi there.I've been developing a custom ValidationRule, following the MS example by the letter but it is throwing an ArhumentOutOfRangeException during the validation process.I have the following...
View ArticleHow can I drag-and-drop items into table cells in order to fill up the table?
Hello,I've been asked to design a UI that would allow users to drag selections from a column on the left to a table-like structure on the right. I've found some very useful tutorials but I have not...
View ArticleVisual Studio Express2010 multitouch using Windows XP
Hello to everybody,I've just downloaded Visual Studio Express 2010 on my WindowsXP computer and I would like to know how and whether I can develop and compile a multitouch application which I'll use on...
View ArticleNeed Easy Thread Safe Control Binding Method (XML not working for me)
I'm still fairly new to WPF, but learning. I have a new application which needs to display values of many data items, potentially hundreds. Since each item is of a particular type (integer, boolean,...
View Article