System.Net.Http.HttpClient File Upload Progress in ProgressBar
HiI am writing a program to upload a file from WPF 4.5 application.How can I show a progress bar for upload progress with percentage? (Multipart form data)I read from some post that using...
View ArticleHow to properly render large bitmaps in WPF?
I did not expectRenderTargetBitmap.Render(visual) to have any side effects excerpt changing the bitmap data itself. It looks like it is not true. I am unable to repeat it more than 60 times before...
View ArticleWPF PRISM 5 - View Injection
I want to inject a view dynamically into ContentRegion using View Injection. Prior to this code base below there is another viewTaskDefaultView which is present. I want to replace this view with...
View ArticleReset listview also resets user filter and focus on listview
I am seeing an issue in my code where the refresh listview procedure is having an adverse impact on user interaction. First of all, it is programmed to run every 1 second to maintain real-time updates...
View ArticledateTimePicker controls in C#
I have two dateTimePicker controls like dtpFrom and dtpTo, Initially both controls will have current date and when I change the value dtpFrom , then dtpTo also should change to the selected dtpFrom...
View ArticleDifficulty Printing to Canon PIXMA Printer
Whats up Guys,Having difficulty printing WPF Visual from my app.My code works fine with the Aficio printer on the job, but with the Canon it always give the same exception as...
View ArticleCombobox dropdown appears on top of other controls.
Hello everyone,This may be a trivial UI thing but I want to be sure if it can or can't be fixed.I have a user control which holds a combo box. You can double click on this control to open the combo box...
View ArticleCustom Combo Box ScrollViewer Issue
HI,I am creating a Custom control derived from combo box. I need to add few controls above the normal combo items list in the Popup.I have done it. But whenever I focus on the combo box items using...
View ArticleGenerating reports in WPF using Code Reason Reports
Hi All,I'm in need to generate a simple report from my WPF application. For this I'm using CodeReason.Reports.VS2008.I could able to generate a report using the contents of a data table using their...
View ArticleCount of non empty values in a datagrid column
How can I count the number of non empty values in a particular column of datagrid ?
View ArticleWPF App notification when Windows theme changes
Hi,I have a WPF application with C# for the code behind. For the best user experience, it is recommended for the end user to close and reopen the app when there is a theme change, normal (Aero theme...
View ArticleUnable to find assembly 'EntityFramework, Version=6.0.0.0
Have created a Entity Data Model Database which I have included in my Project. When I run the Xbap (full trusted) after publishing in my machine, it works fine. But when I run it on another machine...
View ArticleColor Names in WPF app
I have gone brain dead! How do I get a list of color names? I want to fill a list box with names of colors. This is a wpf app written in C#.When using System.Windows.Media, Colors are not enumerated,...
View ArticleAndroid Phone to PC Communication with Bluetooth and Socket
I Need to send Data from an Android Phone to a WPF App by Bluetooth. The Java codes ask for a UUID for the Bluetooth Socket (RfComm), but in WPF I do only have a SocketListener with an EndPoint with a...
View ArticleHow to use Resources.resx for multi-language(for example "ms")
To MSDN and all software developer,I would like to use Resources.resx for multi-language or at least two language(English and Malaysia Language). I have...
View ArticleWpf ListView Grouping
Hi all , I want to grouping a list as seen below, how can I show the item "ertugrul ucar" in both favorite list and lastcontact list without creating again . MainUserList = new...
View ArticleMetro problem, no moving when dropping the upper bar
<controls:MetroWindow x:Class="PetClient.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"...
View ArticleCannot get value for first column on a selected row in listview
I'm trying to get the value of a the first column on a selected row that the user double clicks on in a listview found in my WPF application. Unfortunately, I keep getting the following error message:...
View ArticleFont cannot be rendered in WPF
My WPF application is having a front drop-down menu that lists all available fonts, displaying the font name with the fotn itself, as is usual in many applications. In order to avoid crashes, I only...
View ArticleGet outline stroke of a Geometry without polygonal approximation
Hello,I am working in a project where I must create a "widened" path geometry from an existing path geometry.The current solution I have is to use something similar to what Charles Petzold suggested in...
View Article