WPF Webbrowser control throwing System.NotSupportedException: Exception from...
I am using a WPF webbrowser control placed inside usercontrol and this usercontrol is inside avalondock, and have implemented the webbrowser event sink as below with other methods as well. I am trying...
View ArticleHow make a program that able to create an executable app in wpf
hello guysI really don't know what doI choose title for my question. I'm trying to make a software that able to provide anenvironmentwith objects (like button, label and etc) to design and create an...
View Articleto colour listbox row in c# when clicked on a checkbox control inside it
to colour listbox row in c# when clicked on a checkbox control inside it
View ArticleWPF: how can I set focus of treeview node after clicking out of that node?
Hi, I am using WPF: TreeView.Here textbox is editable, but I am trying to give a message for avoiding duplicate entries.My code works fine for checking duplicate entries after pressing "Enter" key it...
View ArticleMoving to a specific item in CollectionViewSource?
Hi, I'm new at WPF and I'm trying to use MVVM. I'm using CollectionViewSource in my view-model against a SQL database using Entity Framework. So let's say I have this class:public class People { public...
View ArticleLoop Through TabItem CheckBoxes
I have a group of 50 CheckBoxes that are placed inside a TabItem. On a button click, I need to loop through theCheckBoxes and based upon whether the CheckBox.Ischecked is true or false, it's relevant...
View ArticleWPF Combobox Style - Apply Trigger on IsEditable and IsFocused Property values
Hi, I have a specific requirement of changing the Backcolor of Combox, when it is Focused, while IsEditable is set to False. With the current style code that i have, it's working fine when IsEditable...
View ArticleAnimate UserControl on removing in wpf
Hello FriendsI using this XAML Code for my UC (UserControl) to animate it on startup:<UserControl.Triggers><EventTrigger...
View ArticleVisual Advice
I appreciate that UI's have changed significant, I am after some advice with records to record screens, for example take a customer, for each customer there are multiple sections which need to be...
View ArticleWinForm UserControl is clipped in WPF
Hello,I have a WinForm UserControl with many controls that are anchored for top, bottom, left and right. So the controls in the UserControls will resize as the host form resizes.Now, because of some...
View Article3D WPF rotation
If there are multiple models how to make each model has a rotation axis
View ArticleAsynchronous DbContext
I am trying to figure out how to create the DbContext asynchronously. This is in a desktop app using Prism Unity, MVVM, WPF and a local database. I would like to create (and afterwards dispose of)...
View ArticleEditable expander header, all through style only !
Hi all,I have a window which loads a list box which in turn loads expanders, which themselves load a few buttons (all depending on a xml file)Something like :I want the expander header to be editable...
View ArticleHow to indent the first line of each paragraph in a bound TextBlock?
Hi guys,How to indent the first line of each paragraph in a bound TextBlock?Here is the .xml<?xml version="1.0" encoding="UTF-8"?><dataroot xmlns:od="urn:schemas-microsoft-com:officedata"...
View ArticleWPF radio button binding with MVVM
Has anyone have experience with binding RadioButton's IsChecked property using MVVM?Jonathan DeMaagd
View ArticleWhat is the benefit of applying frame.NavigationService.Navigated?
Hi guys:Magnus showed me a code snippet to unload a page.It works perfectly. See below: private void Button_Click(object sender, RoutedEventArgs e) { frame.NavigationUIVisibility =...
View ArticleHow to unload a page
Hi Guys,Here are the code snippets to load a page (pls see below).I am wondering how to unload the page. Thanks, Richard.Here is .xaml<Window x:Class="WpfApplication1.MainWindow"...
View Articleget selected observable collection from datagrid(may be one or more rows...
I have a observable collection bind to datagrid.I need to get selected observable collection from datagrid(may be one or more rows selected by checkbox) on some button click event and pass it another...
View ArticleIntegration to Google MAP APi
Does anyone have any experience of using the API with regards to radius (+ 5 miles etc), I am writing a applicant matching element and ideally would like to incorporate this feature.
View ArticleCustomizable Validation and Columns
Not sure if this is two question but I am assuming the approach to both may be the same, in the application that I am converting we allow the user to define their own columns for grids, we also allow...
View Article