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

XMLParseException on startup from COM class

I have a wpf Net v4.0 program that integrates with QuickBooks using the Interop.QBFC12 library.I use the built-in publisher in VS2012 to create an install program for clients.Everything runs fine when...

View Article


Setting ScrollViewer Thumb Color dynamically by Template Binding

I got a lot of working examples to create my own ScrollViewer, but no one explains, How can I dynamically change Thumb Color.I want to set Thumb color from where I will be using it.Can anyone help me...

View Article


Can't Load All Images into listview. Please help

Hi there, I am trying to loop through all my user controls and add a thumbnail image of them to a list view....Here is a quick example of what i am trying to acheive...For each userControl in...

View Article

How to use the Click event in a GridViewColumn on a WPF TreeView/ListView?

Hi,I have a list view with 4 columns 2 with data and 2 with image representing EDIT and DELETE.This is what i did.<Window.Resources><ResourceDictionary><DataTemplate...

View Article

Visual Studio Just-in-Time Debugger Exception

I'm getting a just-in-time debugger exception when opening Excel.  The window says:Visual Studio Just-In-Time DebuggerAn unhandled Microsoft .NET Framework exception occurred in Test1.exe...

View Article


Unchangeable Dependency Property That Supports Binding

Hi guys,I need to have an dependency property on my control which holds an action and that dependency property may not be changed but I may set binding on it, no matter if onewaytosource or twoway, the...

View Article

How to Open modal window/dialog in XBAP Application?

Hi,In WPF, if i want to open a modal/response window then i write code likeWindow1 _windowObj1 = new Window1(); _windowObj1.Owner = mainWindowObject; _window1Obj.ShowDialog();How to do the same in...

View Article

Display a dialog in a xbap?

It seems a dialog box could not be shown in a xbap?Thanks!

View Article


Show a WPF window as a modal dialog in XBAP application

Hi there,   I am developing an XBAP based application (Full trust) in which I need to show a modal dialog. For this, I created a window in xaml and designed my own MessageBox. I expose few APIs like...

View Article


WPF Toolkit Chart Bound to XMLDataProvider

I am trying to chart some data which is in an XML file.  I have downloaded and installed the 2010 WPF Toolkit.  Here is a snippet of the XML file.<Profiles xmlns="" ActiveProfile="3"><Profile...

View Article

How to add a Chart in Flow document.

hi,i need to add a wpf Chart to a flow document for generating XPS report. but in flow-document we can add only Block type controls like(Table,Paragraph) and the  chart is a visual type object so how...

View Article

Class System.Printing.PrintCapabilities not found

Hi!I use the Framework 4.0And now i Need the funktion System.Printing.PrintCapabilities capabilities = printDlg.PrintQueue.GetPrintCapabilities(printDlg.PrintTicket); Now VS 2010 say that he not can...

View Article

How to use navigation inside a tab control

Hello,I'm working on a simple communications program that uses a tabbed document interface. Each tab represents a connection to the outside world. Inside the tab, there is a view for the configuration...

View Article


DataGrid height in WPF Grid Row with star height

I have searched the net like crazy to try and find a solution to this issue, but nothing I have tried works.Here's my XAML (I am using the MVVM Light framework):<UserControl...

View Article

Image may be NSFW.
Clik here to view.

How to draw the following control using XAML

Any help would be appreciated.Thanks

View Article


How to get object bound to DataGridRow in Xaml?

Hi,There is DataGrid with ItemsSource as ObservableCollection. ParticipantViewModel having property named ExpenseType, Currency etc. For some specific expense types participant can change currency and...

View Article

.net WPF App has visually different style than WinFORMS on Windows 8

Hey Everyone, Developing a WPF application using VS2012, on Windows 8.  This is a standard desktop app.  I'm using WPF because it has the Ribbon as a standard control, where as WinForms does not....

View Article


Get index position of listbox item on mouse over. Please Help!

Hi there. i have listbox with 5 items in it. when the mouse hovers over each item i need to pass the index of the mouse position through an event.any help would be greatly appreciated!Regardsjames

View Article

C# using wpf

I want to write a C# WPF application using visual studio 2010. I want to be able to allow the user to do the following:1. enter some data,2. select a file from a directory path,3. error message will be...

View Article

wpf calling windows api

I am writing a windows WPF application in C# 2010 that will be calling a windows api. The user will enter some information, hit the submit button, and the windows api will be called.My question is...

View Article
Browsing all 18858 articles
Browse latest View live