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

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 Article


Image may be NSFW.
Clik here to view.

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


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

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

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


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

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

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


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


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

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

Grid - Column width and ScrollViewer

HiI am having a problem with the width, high and the ScrollViewerI am defining<Grid><Grid.ColumnDefinitions><ColumnDefinition Width="*"...

View Article

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


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

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


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

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


DataTemplate? 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 Article

Image may be NSFW.
Clik here to view.

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

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


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>