ObservableCollection Foreach
Hi,I am using MVVM in wpf. here is my sample code as below:Model: private string fruit; public string Fruit { get { return fruit; } set { fruit = value; OnPropertyChanged("Fruit"); }...
View ArticleDYNAMIC RESOURCE Performance in RDP
i have button controls used in Usercontrols and windows ,for both of them we are using Dynamic resource styles.my clients connects from RDP ,in this senario which resource is recomnded Static or...
View ArticleClear textbox and Message box in WPF using MVVM
Hi Everbody,I have created a sample application in WPF using MVVM, after the data save into database message box will be appear and clear all textboxes.How to clear all textboxes and Message box in WPF...
View ArticleFax send and receive in WPF MVVM Application
Hi i want to implement fax sending & receive from my WPF application. My application is a healthcare system. How i can implement this feature in my application..? Should i use any third party...
View ArticleHow to create dockable window in wpf c#
Hello,I want to create a dockable message window in my application.When user will click on 'Help' button I want this window to get visible and display related help content.It should be similar to...
View ArticleBest way to handle grid multi controls responding to combobox for which...
Sorry for the obscure title but even after reading it a couple of times , can't think of how to describe my problem in one sentence.I have a window which has two rows. In the top row there is just a...
View ArticleBinding Issue
Hello,Please find AddCustomer.XAML file - <UserControl.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary...
View ArticleAll list value pass to another window using ObservableCollection
Hi folks,I am using mvvm in WPF. Here is my sample code as below:Model: private string fruit; public string Fruit { get { return fruit; } set { fruit = value; OnPropertyChanged("Fruit"); }...
View ArticleCalendar SelectedDates
HelloI would like to customize calendar SelectedDates in WPF.Red Background and White ForegroundHere is my style <Style TargetType="{x:Type Calendar}"><Setter...
View ArticleCompile problem when moving a solution from VS 2013 to 2015
I am using the WindowsAPICodePack in a Library Module. This compiles without error on VS 2013, however, with VS2015 I get an error on this line of...
View ArticleDisplaying customised Item in ItemsControl
I have created a (slightly) extended Checkbox that has an IsError property (basically used to change the colour of the checkbox to red when some condition is not met) as follows:public class MyCheckBox...
View ArticleWhere to store DataTemplates
Hi,quick question :pwhich solution is better please :1 - ONE large ressourcedictionnary File containing all the various datatemplates and referenced in app.xaml2 - 1 ressourcedictionary file per...
View ArticleClick area or hit test for listview on window resize
I have a WPF ListView with a DataTemplate containing a stack panel with image above, and two textboxes below. There is also a transform that allows me to scale the window with the mouse wheel, but I...
View ArticleWindows 10 and RibbonWindow: thick border problem
Hi Folks,anybody else encountered the strange thick borders on the left and right side of a RibbonWindow running Windows 10 ? Seems to me that the template is not applicable to the new window manager...
View Articlescroll based animation in wpf
I Wonder if ifs possible to achieve sole scroll based animation like skollr js Framework or jquery but in wpf ?
View ArticleShow a Universal App in WPF or Windows Forms application
Hello, is there an easy way to show an UniversalApp in an WPF oder WindowsForms Application?Because of the IoT support we are evaluating the use of universal apps for our machine control software. But...
View ArticleHow to get ApplicationView.GetForCurrentView() to work?
Hi guys,How to get ApplicationView.GetForCurrentView() to work?ThanksHave a wonderful weekend.RichardHere is the .xaml<Window x:Class="DisableScreenPrint.MainWindow"...
View ArticleWPF Visual Studio 2015 Designer Crashes
Hi, I'm getting a lot of designer crashes. I can't use the designer at all. Here's on eof themSystem.ArgumentException An item with the same key has already been added. at...
View ArticleOverriding the 'internal' tag in the Resouces.Designer.cs file.
I recently added a project to my solution in the Business Layer to facilitate Localization of the application and thus translate all text values within the solution (mainly used by xaml files and...
View Article