Validation Rules with ViewModel
Hi, I'm trying to make a form with validation. I'm using "ValidationRules" and what I want is to tell the "ViewModel" which must activate / deactivate a button. I tried with IDataErrorInfo, but I could...
View ArticleCan the "Property Get method was not found" error message be ignored?
We're finishing up a WPF app that we've written. It is the basis for other apps we'll build in the future. The app runs fine, but I've noticed this one thing in the Output window which keeps popping up...
View Articlehow to display data in data grid that is from joined tables and table 1 and...
I have a datagrid where I display my data from the itemsource that has joined tables. How can I create a column in a datagrid for fields with the same name? I tried something like Binding="{Binding...
View Articleis there a simple user interface project spec or example that can use mealy...
is there a simple user interface project spec or example that can use mealy machine to practice?MEALY
View ArticleNot able to see the selected value in the combobox
I'm working on a C#/WPF application. I'm invoking ProcessServiceResponse() method in MainViewModel on click of a button. SelectedCountry property value is correctly getting set in this method.The...
View ArticleGet files to textbox from folderdialogbrowser
I've just started to use c++, so I am a beginner. I've setup a windows form in visual studio in c++. I've added a button to open folderdialogbrowser. I also have a textbox with multiple lines. I want...
View ArticleConverterCulture only works on OneWay binding. Why?
We are currently localizing our WPF application for different cultures. Everywhere a date is displayed, we use the format "d MMM yyyy", e.g. 30 Sep 2016. We want the month to be in the localized...
View ArticleText insert in textbox
Hi.My name is humam and i am currently facing a problem in my application. Actually the application i am creating is a calculator application in c# WPF (MVVM) which operates is like a casio scientific...
View ArticleVisual Studios Simulator window problem
Hey guys :)I created a hyperlink on my MainPage.xaml to allow navigation to another page. It works beautifully.Then I created a second page and put another hyperlink on my MainPage to navigate to the...
View ArticleHandling touch events disabled panning in scrollviewer
Hi,If I use the below code snippet I am unable to pan the scroll viewer content in touch mode.private void ItemsControl_TouchDown(object sender, TouchEventArgs e) { e.Handled=true; }Is Handling the...
View ArticleHow to find out horizontal/vertical resolution of screen in WPF
What will be an equivalent of Graphics.DpiX or DpiY in WPF considering that I do not have graphics object as I am using a custom map control hosted on a canvas and rendering graphics using...
View ArticleType universe cannot resolve assembly: System.Runtime
To All,I've a wpf project that compile correctly no errors in vs13, but when I open in vs2015 the xaml designer compliantsType universe cannot resolve assembly: System.Runtime, Version=4.0.0.0,...
View ArticleIs there anything new about the databinding error, "Cannot find source for...
I've been spending my time getting rid of those databinding errors that show up in Visual Studio's Output window. But there's one error which I don't think I can get rid of. Here's that error,...
View ArticleCreate A Report Viewer
how to create a report viewer and RDLC and get the datepicker and generate a report
View ArticleCoverting from WinForm - Runtime error -...
This is an odd issue. When working on this yesterday, the program would stop, highlight the area of code I was working on and present "NullReferenceException," and linked to this...
View ArticleShow Active X page in WPF WebBrowser: Cannot create more than one...
I want to display a website (which is Active app) in WPF WebBrowser.Everything is good when target framework is .NET <= 3.5 but the mandatory is .NET >= 4.0 Then I got...
View ArticleCan't customize rows for custom Datagrid for WPF
i make a custom datagrid that filled manually from mysql database i changed the columns and the background colors but i can't figure out how to change the rows and scrollers colors here what i...
View ArticleWPF TabControl Sliding ContentControl
Hello, I need a little guidance. I created a SlidingContentControl, which I implemented in TabControl. The problem is that the animation is not working. Do you know where my mistake. Thanks a lotpublic...
View ArticleSetting a property of a usercontrol to a static resource...
I have some functionality in my project that, in the interest of speed, I just cut and pasted to the places I needed it. It's a bit of XAML and code that manages a document list. Now that I have a bit...
View ArticleDo I have to bind child View's DataContext in the main xaml?
Say I have the main View, for the convince, I split several components to different child views. Then I compose them in the main View.For example, in the main view. I have<StackPanel...
View Article