wpf synchronize calls to the Dispatcher.Invoke
Do I need to synchronize calls to the Dispatcher.Invoke if accessing from multiple background threads? I know the Dispatcher.BeginInvoke automatically synchronizes calls...
View ArticleOrder In Chaos Of Control Initalization Steps
I would like to know when is actually what happening inside initalization process of controls when I start a WPF application?When are DP initalized? When Binding? When does DataContext get set? Is...
View ArticleWPF and Location Services
I'm new to WPF but I managed to build a rather simple project that displays a map with a route for a delivery truck driver. The application will run on a Microsoft Surface Pro with Windows 8.I now...
View ArticleHighlight a datagrid cell when the value is modified and is different from...
I am using MVVM pattern to display a ID and Name as DataGrid.ID Name1 ABCD2 BCDA3 XYZAWhat has been done so farA validation has been performed and when the value of "Name" becomes...
View ArticleBinding problem for my ListBox GroupStyle Expander
Items in the listbox are nicely grouped but I don't see the title for the expander:<ListBox Name="Files1" ItemsSource="{Binding FileCollection}"><ItemsControl.GroupStyle><GroupStyle...
View ArticleCanceling changes in a datagrid bound to an observable collection
So I have a datagrid bound to an OC and I make some changes in the grid and if I click save those changes are saved to the database, but if I click Cancel I want all the changes I made to be canceled...
View ArticleWPF .NET 4.5 RibbonTab Template
Hello, I have tried for a long time to solve this problem. But now I gave up and search for help.So I can not solve how to display the RibbonGroupBox'es. Anyone how could give me a lending hand? , but...
View ArticleVS Add Properties with combo?
Hello,It's possible to create custom controls (WPF) (User Controls, or other if exist) and on properties of my control have a combo for select like cursor...
View ArticleI have a custom scrollable Popup. I need popup to automatically scroll to...
Scroll the popup to Selected item in wpf.
View ArticleExcel Formal to C# Conversion
Hi ,I have very complex formula in Excel ,i want to convert in C#, if we dont manual may be chance towrong, and this is very common process here , we do get always excel formula.any one know how to...
View ArticleController properties in Viewmodel
i have a border in View and i need to get it height in ViewModel i have create view object and try with controller name but its return 0 and i have try this way also object.FindName...
View ArticleBinding Class inside Static Class
Hello,I have an xml with some tranlations:<?xml version="1.0" encoding="utf-8"?><Lista> <Idioma nome="PT"> <Traducao src="Rede" mean="Rede" /><Traducao src="Perfil"...
View ArticleBind to Custom Web Service Object
We have an asmx web service which contains several custom objects which we would like to return to our application via a web method call and bind to a datagrid. Getting the data and displaying it in...
View ArticleDynamically add different items in datagrid WPF datagrid combobox column.
Hi, I have some doubts related with WPF Datagrid. I have created a class of observablecollection in which I have some properties. After assigning values to these properties dynamically, I set the...
View ArticleCombining columns of a dataview bound to a listbox
Hi all,in my application I have created a database access layer with the Visual Studio database designer which created classes for my tables. One of the tables is called "Members" and has properties...
View ArticleQuestion about rendering WPF Canvas containing multiple Images
Hello Devels,I want to save the Content of a WPF Canvas (which is in a ScrollViewer, so not all Content is visible) to a png. With the following code I get it working.void SaveUsingEncoder(Canvas...
View ArticleHow to change background color of a combobox in disabled mode ?
Hi all.I'm quite new to WPF,now struggling with trying to change the background of a combobox when disabled.It should be transparent and not white.I went over all the examples here and nothing solved...
View Articleload datagrid ItemsSource from a Page to a Window
I am developing an application which uses NavigationWindow as follows1. NavigationWindow as Mainwindow2. Page0.xaml which has a 2 datagrid's (dgMaster and dgDetail) in Master Detail scenairo....
View ArticleRounded Corner RadContextMenu Style for Submenu
I couldn't able to apply rounded corners to the SubMenu's in the RadContextMenu. I do like to know how to set the minwidth for submenu just like in the TopLevelMenu. Any help would great. Thank you in...
View ArticleBind to Style.TargetType Property
When we create a Style for CellValuePresenter that contains Triggers for specific edit templates to suppress Tooltips app wide for those editors e.g.<Style.Triggers> <DataTrigger...
View Article