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

WPF MVVM pattern to CSV file

Hi All,I am new to MVVM pattern and WPF also. If i have designed to generate 100 queries to display in the Grid and it needs to be converted as CSV format. Is this possible to do it ?SaranRam

View Article


Play .MP3 file using MVVM

Hi All,I want to play .MP3 file but with out having any interface just like SoundPlayerAction class. I don't want to use any events because I want my application to be totally following the MVVM design...

View Article


Image may be NSFW.
Clik here to view.

Page Effects like in iBook app of iPhone

Hi All,You are familiar with the iBook application in iPhone and I want to use same Page Effects. Any Idea how to do it. Thanks,AttiqeAttiqe Ur Rehman

View Article

System.OutOfMemoryException: Insufficient memory to continue the execution of...

Hi everyone,I'm getting System.OutOfMemoryException when my WPF application runs for long time (~4-5 days). Application is written using .NET 4.0 and running on Windows7 embedded 64 bit. But...

View Article

Why doesn't specifying some property values at the window level affect...

I'm experimenting with putting more of my design code into either the App.Config file, or a resource dictionary. In a small test app I've got the following in the...

View Article


XAML Numeric Format in TextBox

I have a UserControl to offer users a numeric up-down control.  I am now trying to figure out how to format the entered or incremented value properly.  Here is what I have so far:<TextBox...

View Article

Xaml 2009 in Compiled Xaml for generic types

I have a project that I need to upgrade to .net 4 and now my serialized xaml that contained generic types is broken when I call xamlreader.Because of the upgrade I am now using...

View Article

Image may be NSFW.
Clik here to view.

TableCell split after page break : remainder split part looses original cell...

I have an issue regarding TableCell splitting strategy on WPF FlowDocument Table. Here is a simple code allowing to reproduce the issue :MainWindow.xaml/// <summary> /// Interaction logic for...

View Article


Hang in unknown location in a very complex WPF application when windows...

I have a WPF application with a very complex XAMLs, I need a way to know the point that my application hang on, when I try to pause the execution, the application seems to not be hanging, the pointer...

View Article


sort ComboBox with RadioButtons

The first sort procedure below, after "InitializeComponent()", works just fine and sorts the items in my ComboBox; however, the other two identical commands which are supposed to key off the...

View Article

mousescroll of combobox scrolls the page as well

I have a WPF form , in that I have a combobox, when I  Scroll down using the Mouse scroll wheel -> it will scroll the page as well as scrolls the drop down(combo box). what should I do so that the...

View Article

Get a particular cell value in the WPF datagrid row when a different cell is...

Hi, using Visual C# 2010 Express, in WPF datagrid I have SelectionUnit="CellOrRowHeader" The datagrid is populated by a datatable from a database query Now, 1) when the user selects any cell in the...

View Article

Does richtextbox provide feature to wrap code like Visual Studio editor?

Hi, I create editor using richtextbox in which I want features to wrap code into a line like Visual Studio editor wrapping code for function and region. I'd like to know if richtextbox provides...

View Article


update status and progress bar on popup from VM

I have a simple UserControl that has a textblock and a progress bar.  The textblock and bar are bound to some values in the ViewModel.I have defined this control as a popup like this.<Popup...

View Article

Image may be NSFW.
Clik here to view.

How to drag multiple list view item in listview ?

Hi all,          How to drag  list view items in "List View".When i select any  one or more than one items in list view and drag this items than not drag this items.This is my actual issue....

View Article


How do I use ElementFlow?

I'm relatively new to WPF, I come from a WinForms background, I'm trying to implement a coverflow, and I don't fully understand the example, from I what I see, I add the paths to my images to a...

View Article

Image may be NSFW.
Clik here to view.

Do not again open same view of my computer explorer window

Hi all,           I want to do not again open my computer explorer window.When i opened  my computer explorer window(C: ,D: drive) then don't show again same view  of my computer explorer window (C: ,...

View Article


Animation for removed listview item

Hi guysDoes anyone has any samples or suggestion how to play storyboard when a item remove from listview?i create two Triggers and storyboard , one for when item loaded and one for item unloaded. when...

View Article

Pakaging custom fonts in a different library

Hi all,I want to package fonts in a different library and i want to use the library in my application exe.I got a Microsoft article 'http://msdn.microsoft.com/en-us/library/ms753303.aspx'But this...

View Article

Image may be NSFW.
Clik here to view.

Weird behavior of WPF Menu [Windows 8]

Can some one tell me whats wrong ?!(menu sub-item always appears outside of window!)CODE :<Menu Height="22" VerticalAlignment="Top"><MenuItem Header="File"><MenuItem...

View Article
Browsing all 18858 articles
Browse latest View live


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