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

saving the canvas

Hi all, Iam new to wpf . In my application  i am having grid ,inside the grid element I am having Canvas control . Inside that I am will be having some image element which will change the positions at...

View Article


Image may be NSFW.
Clik here to view.

Vector class explanation

Hey all, I need an explanation of Vectors in WPF. I just don't understand how is a vector defined here. In math, vectors have a direction (can be determined by angle) and value. In picture, here it...

View Article


WPF how do i cange an image in program.

basicly i wanna change a change the image when it's clicked. i have tried thisi1.Source =  "C:\Users\Sveinbjörn\Documents\Visual Studio...

View Article

XML serialization List problem

Hey there,I want to save custom classes to file, so I need to pass a serialization. Those classes are mostly of Canvas, Line stuff, so I need an XML Serialization.I have a custom class:class Kanvas {...

View Article

datagridcombobox binding

I am using visual studio 2010 for a wpf project.  I have a datagrid with two columns, Lab and LabType.  I want LabType to be a DataGridComboBox column with values in the dropdown list dependent upon...

View Article


Move list from the view model to the validation rules class

HI ,Im using the following example and it the list which should need to do the validation to is currently inside the validation rules class but now I need to get it from outside and the list can be...

View Article

Reg displaying combobox selected item details in datagrid

Hello,I have combobox to which observable collection is bound. This collection is list of Person objects. Person class has 10 details including name. I display name in Combobox saying...

View Article

LostFocus event of usercontrol should fire only when focus moves out of...

I have a User Control that has several children elements, including checkboxes and textboxes. I would like to trigger the LostFocus event for my User Control only when the focus is lost on the entire...

View Article


How to set a label to a default color globally?

Moving from C# -> Windows Forms to WPF Windows Forms: In the past I've set as a descriptor: Color gcolorBackDialogBox; Color gcolorForeDialogBox; Under dlg_Load() I've defined them as:...

View Article


WPF Dynamic Combobox isselected

I have a combobox that has the period of the day as its items. I am trying to make the isSelected item based on the period on the day through the use of a converter but for some reason my code won't...

View Article

Can WPF allow you to control the visibility of different layers in a .PNG file?

Hello All,I want to create a very visually appealing application, which is circular. The background image is circular, and it will have two lines in the circle, dividing it into four quadrants. If the...

View Article

Best way to get and save a thumbnail

My application is using File System Watcher, to monitor file changes, and when the application settings allow, backing up the file to an external server. I am unsure of the best way to get the...

View Article

collect data on form and insert it to database

Hi,  I have wpf form and should collect data from two comboboxes (filled from two db tables - articles and services) and insert it to third table in database (called packages). The problem I don't...

View Article


VB.NET WPF - showing the left side bar and menu bar animation

Hi everyoneI'm so much interested on using WPF as for my application development, i'm just starting to study on developing in WPF Application using VB.NET Codes and i hope you can help me on some of my...

View Article

How to Save/Restore GridSplitter Position?

How do I retain the position that a user has set a GridSplitter to?I have a grid with two ListViews separated by a GridSplitter.  If the user sets the splitter position I would like to save it using...

View Article


Binding one image, either GridView or RadGridView

hi there, In my case, all the images are stored in a local path in the hardisk. How can I retrieve and show them in each row?I store the full path for the photo in one varchar field in my Sql...

View Article

IDataErrorInfo with the same validation for all the text boxes

Currently I'm Using the IDataErrorInfo but the problem is that I wanted to use this exact code validation for all the textBoxes, now what is happen that if I type a not valid data for the textBox1 box...

View Article


Creating and Coding a GUI using WPF C#

I am Wanting to create a WPF GUI in C#The GUI will be used on a Gaming PC as a Game Desktop to Launch Games, Message Friends Ect. and I want to have animation effects with buttons, widgets, Scrolling...

View Article

How to Publish WPF Browser app and ASP.Net apps on a same Domain ?

I am developing a WPF app and i have to use crystal report. I wonder across but find no way to use crystal reports in wpf browser app . Then i think to use a asp.net app in parallel for viewing...

View Article

updating properties of one viewmodel from another viewmodel

Hi,I have two forms,in which one form has a listview showing all the alerts(details).If right click the menuitem (UpdateAlert)on the lisviewitem,A new form will be displayed with two two textboxes and...

View Article
Browsing all 18858 articles
Browse latest View live


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