Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Browsing all 18858 articles
Browse latest View live

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 Article


Set 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 Article


problem 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 Article

Binding 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 Article

PathFigureCollectionConverter 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 Article


How 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 Article

WPF 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 Article

MVVMLight 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 Article


Whats 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 Article


Bug: 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 Article

Expander 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 Article

crystal report

how can i join 4 similar parameter from 4 diffrent tables in crystal report

View Article

Listboxitem 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 Article


need 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 Article

Another 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 Article


I 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 Article

ViewModel 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 Article


Recover 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 Article

Listview 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 Article

How 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
Browsing all 18858 articles
Browse latest View live