App.config and corresponding .exe files needs to be in different locations
Hi All,My question is regarding the app.config file that ships with the exe. How do I make it possible for these two files to be in two different locations?Reason for asking is that the app should...
View ArticleHow to get Row index for selected Row in WPF Datagrid.
Hi ,i have problem to get row index for all selected rows in data grid,i have method which i can get CurrentRow index, but i am not able to get all Rowindex for all seleced , so problem for selected...
View ArticleGenerating the name of each control in XAM automatically??
Hi all of you,How can I do that? I've got a bunch of controls around my view and I'd like to assign name automatically taking other properties already defined like "Content". So this way I'll avoid...
View ArticleHow to call Web API in Microsoft Surface 2.0 (Pixelsense) apps
Hi all, I am working on an application of pixelsense device(OS window 7) using tools Microsoft surface 2.0, WPF 4.0in C#. I wants to use web API to request & response which will able to get...
View Articledatagrid template column visibility binding (silverlight)
I know DataGridTemplateColumn it's not in the visual tree etc. But is not there some way to do this?I found many examples (can't post link) but they don't work for me!Thing where i try to do is: I have...
View Articlescrollviewer problem with vertical scroll bars visibility
Hi All,I have scrollviewer which is placed in * sized row of grid, them problem is when the window is in Maximized shown then the vertical scroll bars should not come ,but here in this case i see...
View ArticleHow to add Page to Navigation queue without displaying
I would like to pre-populate my WPF Navigation queue with Pages, so that in code I just need to call.GoForward() and .GoBack() (in this case I will only have 2 Pages to deal with) on myFrame and not...
View ArticleConditional Binding
I have a TextBox that I want to conditionally bind to another TextBox. I am using a CheckBox to control whether or not the TextBox is bound.Thus: If the CheckBox is checked, TextBox1.Text should be...
View ArticleHow to display an array of bytes in an editable fashion?
The basic function to be created is pretty simple in concept - using MVVM architecture, display an array of bytes such that each byte is displayed as a pair of hexadecimal digits, clearly...
View ArticleWPF: Tabcontrol freezes when retrieving data in a mvvm object
Currently using .net framework 4.5.I've written a WPF application which retrieves information from different systems, to create an overview of a specific computer or the computers a specific user has...
View ArticleWPF MVVM -(Alternate way for DataContext Binding)
Hi in mvvm pattern we encapsulate viewmodel in to view and exposing it as DataContext and doing binding for controlsIs there another way than this type of binding (without calling the DataContext)pls...
View ArticleSave Video with shader effects from webcam
Hello, I am working on a application which is having features to save Images and videos from webcam with shader effects. I am using WPFMediakit for the same. I have done Saving Images with effects,...
View Articlehow to create IP address control in wpf with binding
how to create IP address control in wpf with binding
View ArticleUI Unit Testing with Prism
Hello ,we have implemented prism application but not finding any proper way to test the Application [with UI Unit Test]i want to know about , how can i do unit testing for Prism Application ,when i run...
View ArticlePRISM handling SubscriptionToken
The PRISM event aggregator is awfull on my point of view. Well, I'm trying to call SubscriptionToken.Dispose without too much code in the every ViewModel, so what I'm trying to do is the...
View ArticleCannot re-initialize ResourceDictionary instance, When ResourceDictionay...
I have a wpf assembly project that, I am using as a global sytle library (i.e. Windows.Styles.dll). So far it contains 2 files CommonStyles.xaml the root class is a resourceDictionary and...
View ArticleAfter running convert function in IsEnabled got Specified argument was out of...
Specified argument was out of the range of valid valuesfinal row is to add new row, want to disable delete button and confirm button as this row is only for adding new row<DataGrid...
View ArticleIn WPF,Use DrawingContext of the DrawingGroup draw, how can I do to clear the...
I use DrawingContext of the DrawingGroup after the drawing, including straight lines, geometric shapes, pictures, like in this container has 1000*1000 pixels, I'm going to clear the shapes in the...
View ArticleConverting a PDF to XPS
Hi,my client wants to see PDF documents in the same application (instead of playing with them from Acrobe app)I usually convert .DOC/.DOCX documents into XPS but I have not idea how to do that.Does VS...
View ArticleRetrieve and store data in Database in wpf
Hi, I am working on a WPF application using Model First EF. In my Database, I have a table named "Client" which has several columns includingClientName and AccountEndDate. Now I want to add a User...
View Article