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

WPF DATAGRID UPDATE ERROR...USING LINQ

Hi...I have to edit a column in my datagrid of WPF application using LINQ.My binding is done successfully....while editing i haven't used any datagrid events. Just a button click event alone i...

View Article


how to set my path data to image

i want to set path data to image how to do it data="F1 M 45.12,5.49L 21.255,40.8L 20.4525,40.8L 0,23.2875L 5.775,15.7875L 19.2525,27.3L 37.695,-1.90735e-006L 45.12,5.49 Zi'm having data like this...

View Article


XamlParseException when loading ResourceDictionary

I have a WPF assembly including a window. When opening the window in an WPF application, it works fine.But when I use the assembly as a part of a plugin for a third-party-software, and I' trying to...

View Article

Creating geometry for Viewport3D using Multitasking?

Hi,I'm trying to populate a Viewport3D with UIElement3D objects. Because there is no DataBinding and Templating available with the Viewport3D, I do this manually using code.First, I create a...

View Article

WPF MVVM MainView with popup

Hi, Im new in WPF + MVVM,i have a MainView that contains a popup control with propery "StaysOpen=True" and some property bind in my ViewModel including theIsOpen binded to ConfigIsPopUp property. This...

View Article


How to access a control in a form from another form.

Hi,I have a Contentpane in Form1. On a button click event from Form2 I need to hide the content pane which is in Form1. How can I achieve this.Thanks

View Article

Apply tooltip style in ErrorTemplate

I have a custom style for ErrorTemplate tooltips. This works just fine when applied to a control.<Style x:Key="errorToolTip" TargetType="{x:Type ToolTip}"><...></Style>I then have the...

View Article

Save window position in visual studio 2012

Hi i am wondering how to save the window position on form close and then loade the position on start up in visual studio 2012?

View Article


Creating a style that changes the default control colors

I've been tasked with changing the default color scheme of two WPF UI components in our application:1. All scroll bars in the application have to use a grey color palette. The up\down buttons, slider...

View Article


DateTimeUpDown custom format

Hi All.Is it possible to specify custom format for DateTimeUpdown control like hhh:mm? If yes, how it to do?Thanks.

View Article

How do I get my listview (datagrid) data from the screen after I have sorted...

I have a listview and a datagrid inside it that displays data on the screen. On the screen I can sort the data columns.I want to be able to click a button and copy the data from the table on screen to...

View Article

WPF+ MVVM: How to Make the WPF Application More Responsive ?

I have been asked a question:  There is big data need to be updated in UI and the big data updating will take a while and the same time users try to type in text in textbox. How to you ensure that user...

View Article

Windows From's control are getting distorted while hosting them in...

Hi,I am currently migrating an existing win form C# application to WPF. So we are not rewriting existing WinForm, instead we are showing existing winform dialogs to user using WindowsFormsHost class....

View Article


Enter key navigation

Hi,I wanted to use Enter key Navigation and I could do that using the below code which I found from a site when googled. Can any one please give me an explanation of this code. Enter key navigation...

View Article

how know that scroll is in the end of the list

I have listbox with item and scrollviewer for the list. The scroll appears only whan the user scrolls with his finger. I want to display an indication with an icon that he can scroll and hide the icon...

View Article


How to show XPS navigation tree

Hi,In our WPF application we need show XPS document with navigation tree.Can you help me, how can I build navigation tree from XPS document?Thanks.Mino

View Article

WPF ListBox Panning

In my WPF application, I have put a ListBox on the Window, and many ListBoxItems have been added in the ListBox. The application was runing on a touch device. I put my fingers on the ListBox to pan it....

View Article


WPF MessageBox bug on touch device?

The Xmal goes like this:<Window x:Class="TouchBug.MainWindow"        xmlns=        xmlns:x=        Title="MainWindow" Height="220" Width="309">    <Grid>        <TextBlock Height="23"...

View Article

How to communicate from wpf to html 5 app?

Hi,I have a simple WPF app where  string messages  need  to be sent to HTML 5/(javascript) app.Which is the best way to transfer data.Also please point to any resources if available.

View Article

How to display pdf file on scatterview in surface application

Hi  i am trying to display pdf file on scatterview in Microsoft Surface.So help me to do this.

View Article
Browsing all 18858 articles
Browse latest View live