MVVM bind listbox and link second listbox if the first listbox is changed
Hello,I am encountering a problem when binding value to WPF ListBox control by using MVVM.I have three ListBoxes, first ListBox should be filled when window initialized. second ListBox should be...
View ArticleSet focus of an element from its lost focus
For some reason focus a text box is need, so the focus is again set to the text box from its lost focus. This leads to stack over flow in the lost focus event. Say, A Textbox and a button, now the...
View Articleproblem in datagrid in wpf
Hi, In my datagrid has makedefault(column name) column...in that column contains button(Default)..i want to change button image based on makedefault values in database, if make default 'yes' means...
View ArticleBinding data on demand in WPF
Hi All,I am using a combobox in a window and it’s itemsSource Property is binded to a property called list.Now the problem is , when combobox is initializing itemssource is getting data from list...
View ArticlePathFigureCollectionConverter Issue
Hello,In a previous post, I was trying to clone a PathGeometry wpf object without sucess. Then I read somewhere about the PathFigureCollectionConverter class. Then I decided tring it out. The ideia is...
View ArticleHow to access a Storyboard TargetName within a Completed Event
I am setting the TargetNameProperty of a StoryBoard in my Resources within code behind and then starting it with Begin(). I also have a Completed event defined withing the XAML. I refer to the...
View ArticleWPF forms Datagrid Highlight row with Checkbox
I have a datagrid with a column of checkboxes and when I select a checkbox I would like to have the row containing the checkbox show its default select row highlightedThe checkbox when selected...
View ArticleMVVMLight command CanExecute not firing after async call
I'm using MVVMLight in a WPF4 project, and have set up an ApplyCommand and an UndoCommand, which are bound to buttons on the view. All standard stuff, done many times. When the user clicks a button, a...
View ArticleWhats new planned for WPF in Next (2013-2014) Visual Studio
Hello. Could someone answer what new is planning for WPF on next VS release? I didn`t find any info about that. Or MS would not update WPF anymore?
View ArticleBug: Dispatcher and WriteableBitmap
I think I found a bug. It is a little complicated to set up, but here goes. Have only tested on Windows 8.Create new WPF project. Insert an Image control and name it "ImageControl". Insert following...
View ArticleExpander header expand in wpf
Hi, I m newer in wpf design .., i m used some styles in my expander...but in my expander when i click the toggle button that time only it will expand.... now i want to expand my expander both i...
View Articlecrystal report
how can i join 4 similar parameter from 4 diffrent tables in crystal report
View ArticleListboxitem text scrolling horizontally wpf mvvm
hi i have a listbox(data-template as textblock)(listlox width as 150) with 10 items ----- and in that 2nd and 5th items text length is 25. in starting the text should end with "..." and when user...
View Articleneed to create only one tab item not both of them
Hello, I created both tabs as listed below and showing only one Tab at any time (buy using the variables listed below). This is causing stack overflow because I am creating two components but showing...
View ArticleAnother question about System.Exception: The component "componentname" does...
I am getting exception 'The component "componentname" does not have a resource identified by the URI' in my sample WPF project.Here is the scenario:I have a WpfControlLibrary where I added one WPF...
View ArticleI need a chart in WPF
i have created a chart in winform like below with stacked column. but i cannot fount that in WPF toolkit
View ArticleViewModel update issue between three ListBox
Hello,This is not a complex question, but not for the question description. :) Description:I have three ListBox in WPF window and a ViewModel.1. When first time the window is loaded, first ListBox is...
View ArticleRecover column from ListView in another windows (formulary) (VB.NET
Regards,CONTEXT:I'mmaking aWPFapplicationin which there are2 windows ,Windows1 andWindows2.Inthe Windows1, I havea ListView,while in the Windows2 I havea ListBox.Now,I need to retrievethe first column...
View ArticleListview column and per row color question .
<ListView x:Name="myListView" ItemsSource="{Binding Tabs}"><ListView.View><GridView><GridViewColumn Header="Column 1" DisplayMemberBinding="{Binding Name}"/><GridViewColumn...
View ArticleHow can to change listview particular row and column color?
I am using WPF and binding the data up.How can I change the Jointcolor = "Red"that row and column to the color RED? Thanks !! listViewLegend.Items.Add(new { JointName = "Head", JointColor = "red" });...
View Article