PreviewLostKeyboardFocus called repeatedly in Windows 8
Hi please anybody knows reason for this just update here, I've a TextBox control with PreviewLostKeyboardFocus. Inside PreviewLostKeyboardFocus I'm calling a method to throw a custom...
View ArticleHow to block a button in case of 2 empty fields?
This is my XAML:<xctk:DatePicker HorizontalAlignment="Left" Margin="144,50,0,0" VerticalAlignment="Top" Width="155" Name="ctlFrom" SelectedDate="{Binding Path=dtFrom, Mode=TwoWay}"...
View ArticleInput "\" to name property of control wpf.
Hi everyone,I must investigate a client's wpf application.And I used UISpy to identify and research about the kind of wpf controls in that application.As you can see in above image, the name property...
View ArticleWhat is Good / Right approach or way to write a WPF enterprise application ?????
Hello, I have developed many WPF application but they were very small. Not i am going to develop a big enterprise application. I want to know right approach to develop a big application and by...
View ArticleWPF StartupUri with parameters
I am using following code in the app.xaml.cs for OnStartup event.this.StartupUri = new Uri("MainWindow.xaml", UriKind.Relative); TranslationManager.Instance.LanguageChanged += (o, args) => { var...
View Articlelocal:Converter not found error . Please help .
Hi I am having this error Error 1 The type 'local:Converter' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.May i know how to...
View ArticleWPF- MVVM - Listbox databinding and changing the listbox item color and...
hi i am developing wpf application using mvvm pattern. My question is --- in my view i have a button .if i mouse enter on that a pop will show list of applications sharing with other users(i am...
View ArticleWPF datagrid comboboxcolumn with different source than the binding
I want to bind over the comboboxcolumn from 2 ways, one for the entries, and one for the values.Anyone knows how to acheve that?ThanksHere is what I try to do and the bad results.<DataGrid...
View ArticleMicrosoft.Mshtml throws exception in Windows 7 64 bit machine, where as it is...
I have a WPF application, in which we are using webbrowser to render web pages on it.((mshtml.HTMLButtonElement)(element)).type throws below exception when we run on Win7 64 bit machine.Member not...
View ArticleLinecount not increasing in Iwpftextview while word wrap enabled
Hello Friends,I am using IWpfTextView and want to show vertical scrollbar in textbuffer(whenever required)Here is my code private void SetScrollBarVisibilty() {IWpfTextViewMargin...
View ArticleEnlighten some coding questions URGENT !! PLEASE HELP
<Window x:Class="KinectSkeletonViewer.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Skeleton Viewer"...
View ArticleURGENT ! How to set listview color background?
<ListView Margin="6,6,55,6" Name="listViewLegend" Foreground="#FF0C0D0D" Background="White" ItemsSource="{Binding}"><ListView.View><GridView><GridViewColumn Header="Joint Name"...
View ArticleHow to draw circle on Inkcanvas
Dear all,I have an InkCanvas on which I need to draw a circle with finger or mouse. I have read that I need to create a class the inherit from Stroke in order to draw custom shape as stroke but do not...
View ArticleTooltip Error for a DataGridComboBoxColumn
Hi all,I'm developing with MVVM and try to show an error for a DataGridcomboBoxColumn as tooltip:<DataGridComboBoxColumn Header="Waregroup"...
View Articlehow to use this pdf viewer component?
http://wpfpdfviewer.codeplex.com/'The invocation of the constructor on type 'WPFPdfViewer.WinFormPdfHost' that matches the specified binding constraintsthrew an exception.' Line number '10' and line...
View ArticleDynamically displaying UserControls On window and Sending Response to Parent...
Hi I am trying to Load user controls on Window dynamically and using MVVM architecture for this.To load the...
View ArticleHow to get better WPF UI responsiveness while retrieving data in the background?
Tools: Visual Studio 2012 and .net framework 4.5I've made an application which gets wmi and sccm data. Really it's just an application which retrieves relevant information about a specific computer....
View ArticleWPF RadioButton Refreshing Control
hello guys,I am making a simple application for college and if somebody could advice me how to handle many radiobuttons cause I think I am making too much of copy-paste (C# beginner) , the wpf design...
View ArticleReceiving FailFast in FlowDocument w/ certain line indent settings
Developing a desktop WPF (.NET 4) application using VS 2010 SP1, running on Windows 7 Ultimate. We are using the FlowDocument to display formatted data.When the user has finished entering the data in...
View Article