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

WPF BROWSER APPLICATION How to Download a file

Guys i need your help in a problem.I have a made a website/Browser Application in WPF(XBAP).i also have some files on server. now tell me how to download these files on to client Computer ?. in asp...

View Article


Tab order issue for customized user control

Hi All:I am beginner for WPF. Thanks in advance for help.I design a custom "IP Address". The definition is as followed:   <UserControl x:Class="IPAddressWPFUserControl.IPAddressControl"<Grid>...

View Article


Image may be NSFW.
Clik here to view.

Hierarchicaldatatemplate Binding Issues

Hello,I have a treeview that is displaying the results like this?  I Do not want to show the children at the root level.  Is this a xaml binding error?I Have a EF Class that looks like this.public...

View Article

Printing vector line art

Hello,Any chance anyone knows a good line art library? I'm looking for an easy to use class/library for creating very simple mathematical line art, basically line charts/graphs. And then printing them...

View Article

How to efficiently change ItemSource data while getting collected

Dear all,I have a list box which is bind to a List of Product Categories with a maximum of 4 categories. Then when my user select one category I need to collect all product within that category. Then I...

View Article


How to read xaml files and display in the view box

if (FileDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) { string s = FileDialog.FileName; string fileext = System.IO.Path.GetExtension(s); if (fileext == ".xaml") { Canvas canvas = null;...

View Article

DataGrid select newly added row...

Hello,In my application, i have a ObservableCollection object which is binded to a DataGrid. Programtically some elements are getting added in the ObservableCollection when the application is running....

View Article

What's next after WPF for modern desktop UI development?

I watched a few Build 2014 presentations and it was stated on several occasions that Windows Forms and WPF are both mature technologies and while they will be supported in near future, we should not...

View Article


Wpf One to many mapping and vice versa.

Hi, I am trying to do mapping for a machine. Example, If there is a  source machine A(Source - say has 2 Ports) and a destination machine B ( Destination say 3 ports). Then how  to map port of A's to...

View Article


What a waste of time!

I thought I'd use the WPF type project because it looked interesting but it's not. It's a complete waste of time because as usual, the documentation is poor. Microsoft can do better.

View Article

Designing My Own Class, but the objects defined in XAML are null

I am trying to design my own Button inheriting Button class. I would like to use this class in my MainWindow. However,  the objects defined in XAML are all null.Below is the code simplified:XAML:...

View Article

Displaying images on ListBox in WPF

I spent a lot of time on try code I found on various pages on web but nothing works for me In my app, the user load image and I do few image processor on it. finally, I want to show "a bar" for the...

View Article

Setting BitmapImage.UriSource in a XAML file read with XamlReader [VB][WPF]

Hello, My WPF application (WpfApplication1) is, for its XAML part, composed of an single empty grid. Elements are loaded inside this grid from an external XAML file, read through XamlReader. This...

View Article


Refresh or Reload the ListBox Items

Hello,  I hope someone can help me with.  I have a StringCollection "name" in which the entries are for my ListBox items. These I go through in a foreach loop and assign it to the corresponding item....

View Article

How do I call a "List" from a different method in a different project in the...

List<double> measurements =newList<double>();double minimumx;double maximumx;double delta;double actualValues;//.//.//.//.//.Functionality of the above variables all stored as...

View Article


Item style is only applied to first item in custom ItemsControl

http://stackoverflow.com/questions/19810594/custom-itemscontrol-does-not-show-datatemplatehttp://stackoverflow.com/questions/5170367/style-within-datatemplate-is-only-being-applied-to-the-last-item-in-...

View Article

MatrixTransform under the hood

Hello,actually I write a WPF application in which I need to transform an image pixel per pixel.The transformation matrix is computet by a LU-decomposition that takes 3 point correspondences that can be...

View Article


Show in Textbox actual number of records from SQL Database - VB.net

Hi,I'm trying to use notification from SQL database to count actual records in table. I need this in real-time, because I would like to create InstantMessage popup informing particular employee about...

View Article

How do I get a more intense DropShadowEffect?

How can I increase the strength of the DropShadowEffect? On a black surface, a 1.0 opacity DropShadowEffect with the color "Red" is barely even visible.- Mathy

View Article

How to control wpf form size and their controls as per screen resolutions

Dear Experts,Is there anyway to control WPF form size and their controls as per screen resolutions

View Article
Browsing all 18858 articles
Browse latest View live


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