Container null value
When my Bootstrapper executes the methodprotected override void InitializeModules() { base.InitializeModules(); }program stops at base.InitializeModules();stating that my container has the null...
View Articlecapture and control web cam
Dear all,I have a customer request on building a WPF application which needs to do the following :1- When clicking on a button named Capture I should Open in full screen the web cam in order that the...
View ArticleHow to set IsHitTestVisible Property from code behind?
Hi everyone. I am trying to get/set the IsHitTestVisible property from code behind. Looking over http://msdn.microsoft.com/en-us/library/system.windows.uielement.ishittestvisible(v=vs.110).aspx, I know...
View ArticleCreating a Calendar Scheduler in WPF
Hi guys,I'm relatively new to WPF and programming as a whole and I have been given a task to create an application that incorporates a scheduling calendar, to enable users to add an event. I managed to...
View ArticleCustom format for tab control headers.
Can anyone please explain how I can get my tabcontrol tab item headers to expand across the entire window evenly?I do not want all the white space after the last tab item?I understand there is a way to...
View ArticleHierarchicalDataTemplate for multiple collection in TreeView
Hello,In my application, I have a ViewModel classes which is having two ObservableCollectionproperties (say Students & Teachers). This viewModel class is binded to a grid which contain a treeview...
View ArticleRefresh TreeviewItems
I have a treeview with HierarchicalDataTemplate I filled with a collection class .. data from a database. On my form, there is a button that allows me to add an entry. To click, I open another window...
View ArticleDifferent ways to do it
Hi all of you, I'm writing one WPF Desktop application.I'm trying to call one XAML page from one Window but placing this page inside a Frame in the same window but I do not know how can I do it if I've...
View ArticleTooltip causes modal dialog box to disappear on Windows 8 and WS2012
I have a Microsoft Management Console (MMC) application that liberally uses ElementHost to allow WPF controls to be used instead of WinForms. That is, almost all of the forms and dialogs presented by...
View ArticleRichTextbox math function
I am attempting to write a wfp application for math graphing. This application will real-time superscript when input x2 in RichTextbox. Just like this web .My problem is : I can only superscript the...
View ArticleHow to check printing process successful or not.
I have a application where i need to print label in A4 Size page. The application is in WPF with C#.Is there any way where i can track successful process of printed label. Actually i need to mark...
View Articlebluetooth getting started info
Dear all,I need to build a wpf application where I need to implement blutooth communication with mobile phone for exchanging data or control blutooth device.Using that technology is new for me, and I...
View Articlehow can i bind Typed Dataset to DataGrid and make My datagrid Two way
My case is :I have 1 TabConrtrol in my form,My tabe contains 5 Tabitem,every tabitem contains List of controlsNow i want user to Add/Edit /delete then press Save Button All data saved Is that any...
View ArticleMouseDouble click or singleClick on datagrid in MVVM how can I do that?
Hi guysI am sort of new to wpf.It should be something very basic to achieve but I am struggliing.I have a datagrid and when I user preferably single click or double click on a datagrid row should...
View ArticleThree ways to make Thumbnail browser… help me choose
I have 3 ways get thumbnails for image browser. Each seems to me like a good way to make it but which route would you as an experienced WPF developer recommend? 1. The easiest is IValueConverter which...
View ArticleChanging tabs cleans values of DataGridComboBoxColumn
I have TabControl with two items.<Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"...
View ArticleXAML set an indexed property at the object
normaly in xaml we set a property at object like this:<my:MyObject Prop1="hello" /> but what about the Prop2 is indexed property? <my:MyObject Prop2[0] = "hello" /> ... doesn't work, xaml...
View ArticleUp button for data grid not working when using sort
HII have data grid and user can select one row and press on button to change the order of the selected rowin the grid ,this is working fine (Im using the code from the following link) the problem is...
View ArticleCannot set Name attribute value
I have a user control. I have defined a ContentTempalte for it:<UserControl x:Class="MyUc"...> <UserControl.ContentTemplate> ... <StackPanel> <ContentPresenter...
View ArticleDatatable content synchronization
Hello!I have a trouble working with Database in WPF.To display my datatable from database I dragged icon (table) from the Data Sources window into my Form. It came as DataGrid control. It displays...
View Article