how can i replace vb6 color picker with wpf color picker
Hi Everyonetoday i have a Problem i have my old desktop application developed with vb6 ,and i want to convert it to .net platform ,so i Tried to convert it to WPF applicationbut i got a problem .My...
View ArticleWPF datagrid row height changed event
Hi,I am using WPF DataGrid. Is there an event that fires after a row height changed.When I edit datagrid cell, that textbox supports multiline. When I hit enter text box height is getting increased...
View ArticleIssues in installing VB 2008 Professional Edition
hi, I have downloaded the setup file for vb.net 2008 professional edition from Microsoft and while installing i got the following error message:your current security system doesn't allow this file to...
View ArticleHow to adjust size wpf parent window same as it's child window size
hello,I have an empty parent window, in runtime i add the child user control to it.i want to resize my parent window according to the different child contents, i have used SizeToContent but it does not...
View ArticleBinding a WPF DataGrid to an ObservableCollection of arrays or am I lost here?
Hi!Im trying to make a DataGrid show an observable collection. The problem is that the item class, lets call it Person cant look like in all the examples on the web ie. with a bunch of public propertys...
View ArticleObservableCollection and Selected Item(s)
I am trying to wrap my head around some more advanced binding. This is in part an example for others, so I left out some uneeded stuff (like the check if properties really change) for better...
View ArticleUserControl in the same Project
Hello everyone:I have a Project where there is a Folder with UserControls. The idea is call each UserControl in a Main Panel. By the way, i have a WPF Browser Application.This is the Page1.xaml code....
View ArticleMeasure Control with double.PositivInfinity WPF
Aloha guys, I am working on a custom control that has a custom panel and I really need alot of help. As example inside the custom panel I have a small and simple MeasureOverride method that passes the...
View ArticleIssue in Triggering event when multiple values changed in View Model
Hi there, I am creating an animation where I have to rotate a needle. So in the XAML, I have 2 bindings. One for the angle to be rotated and second is the duration. (Duration is the one I load from...
View ArticleWPF Toolkit Datagrid ColumnHeader Style Override issues
Hi,I have posted the same question in the below link.I tired the solution in the below link but didn't help.Need your...
View ArticleGetting Checked Value of Checkbox on TreeViewItem
I have a treeview, where in I am using stackpanel to bind a checkbox to the treeviewitems. I am doing it like this:TreeViewItem tvi =newTreeViewItem(); tvi.Header= createStackPanel();...
View ArticleGrid - Column width and ScrollViewer
HiI am having a problem with the width, high and the ScrollViewerI am defining<Grid><Grid.ColumnDefinitions><ColumnDefinition Width="*"...
View ArticleWPF Textbox Phone Number Formatting
I have a phone number textbox. I want to create a format as 0012 34 567 89 01 instead of 0012345678901. How can I make a solution for this in WPF. That would be good if I solve in c# side. Thank you in...
View ArticleHow to open DatePicker on clicking the cells of a DataGrid column
Hi,I want to add DatePicker to a particular column in my databound DataGrid to conveniently select valid dates. As suggested on this forum in another thread, I used the following article to add...
View ArticleModal window isn't preventing access to parent window.... what is happening??
Hello,In my main window, when I have a lengthy process to run, I use a background worker so that the UI thread can display a "processing" window with a spinning wheel to let the user know something is...
View ArticleTextBox validation same as Excel Datavalidation
Hi I have List box with template , so i have 2 columns using texbox , i want to do validation like Excel does, but dont know how to save Validation and how to implement.any help..?ThanksA-Ashok
View ArticleCannot enter text into the CommandParameter field of the Properties Editor...
Hi, I've just installed VS2012 and noticed that the Properties Editor in the WPF Designer behaves a bit differently to the VS2010 version. One thing I was curious about is that I can't enter text into...
View ArticleDataTemplate? Resource? not sure what?
i have the following usercontrol defined<UserControl x:Class="ucReport" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"...
View ArticleResize WPF Listview content on WPF Window resize
I have a WPF ListView with ItemsPanel as below. The Listview holds a collection of images. When I resize/sizechanged the window, I want the images to shrink/expand until the next image fit. My goal is...
View Articleshow new or modified selected listview item
Hi All.I have huge ListViewItems list. How to scroll to display new or modified item in this list. I will appreciat for sample.Thanks.
View Article