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

ICollectionView grouping and data virtualization

I'm working on a project where we need to group a WPF DataGrid which is bound to a virtual IList<T> (virtual meaning the IList<T> uses data virtualization, where only a small subset of...

View Article


ElementHost won't render WPF User Control

With VS 2008 SP1 and a C# Windows Forms application, ElementHost will not render a WPF UserControl at design time or run time.  I have created the simplest possible project to demonstrate the problem....

View Article


Issues with DynamicResource, Width and Height

I have a skinnable application where everytime I change my skin new merged resource load itself and old skin is removed.Every seems to works fine until I have some issues on Width / Height of my...

View Article

how to show a usercontrol on MainWindow from another UserControl

I have two Usercontrol (CreationNouveauCas_uc and uc_TraiteTravail)and obviously one MainWindow and a grid inside it<Grid x:Name="CreationNouveauCasGrid" HorizontalAlignment="Left" Height="653"...

View Article

Data binding

Is it possible to bind the IsEnabled Button property to the load/unload of a FlowDocument?VM

View Article


Printing FixedDocumentSequence without using the XPS infrastructure.

Hi there,I'am currently experiencing big problems (OutOfMemory stuff) while trying to print a huge FixedDocumentSequence on Windows 8. It is no problem to construct the sequence from our Visuals and...

View Article

I have a textbox in wpf in which i want it should validate on key press,only...

I have a textbox in wpf in which i want  it should validate on key press,only two integers to be entered how can we do that..

View Article

Touch Move events not working for child when Touch Move event of parent is...

When Moving touch on Window Touch Move of Window is called but when touch move reaches Child (Ellipse)Touch Move event is not fired But I atleast I want to identify if the Touch is on Ellipse or not....

View Article


Using resource dictionary from xaml

HI ,Im using the following code in User control which applied to text boxes I have two question1. Since I use it in the user control all the text boxes in the user control have the same behavior ,if...

View Article


What event would I use that's analogous to the old VB6 Activate event?

We've got a new WPF application recently released. We've got to refresh some data on 2 user controls whenever those controls come back into focus.Right now we have the user controls placed onto a...

View Article

Is there a way to make a DataGrid expand a new row, when clicking on it?

We've just spent the last several months working on a new WPF application, to replace an old VB6 app (thank God that's gone!) We use the DataGrid, along with the DataGridComboxBoxColumn to specify a...

View Article

Urgent: Changing in runtime ItemsSource property

Hi all of you,I would like to alter in runtime the dataset assigned to one Grid. Idea here is receiving a parameter which will force to show one Sql table or other..XAML:<DataGrid...

View Article

Cacheing for textBox

HI,I have text box and I want to support Cacheing ,threre is a way to do it in WPF?For example if user type some string and than delete it and write diffrent string ,if user press space he will get the...

View Article


DictionaryKeyProperty attribute does not appear to be usable.

I'm trying to add a special class to be used in a ResourceDictionary. It's using a custom key, and as per the WPF documentation I  am using the DictionaryKeyPropertyAttribute on my new class type to...

View Article

How to serialize MapPolyline in WPF Bing map?

Hi everyone, I want to serialize a MapPolyline on WPF Bing map to a file, close the program, then start the program again and load the file in order to restore that MapPolyline on the map. I couldn't...

View Article


Blocking all the WPF controls in XAML view

hi,something like.. when you used to use Visual Basic desktop project and blocked some or all the controls in a FormPrimary platform is Windows 7 Ultimate 64 bit along with VS 2012/Sql2k8 for...

View Article

Problem with D&D from list box to the screen

HI,Im using the following code to D&D from list box to textBox which is working great,currently I got problemwhen I drag item from the list box and by mistake drop it into the screen but not in...

View Article


GUI WPF Buttons and Controls in C#

Hello, I'm a New To Creating WPF GUI ApplicationsI want to Know How to Remove the Default Button Hover Image And Replace it With A Custom Icon I Made in Photoshop.Also I want to Know how to Enable...

View Article

Is WPF dead or going to be

I read this article and not sure if its worth learning WPF in case its not used in future - anyone got any thoughts?http://www.theregister.co.uk/2010/09/09/microsoft_html_5/ 

View Article

How to get tree view node's name in parent page -Routed bubble event.

In our application we are having a user control that has tree view and this user control has been called in the main page.Code is mentioned below.How can i get the tree view clicked node name in the...

View Article
Browsing all 18858 articles
Browse latest View live


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